Package org.robovm.apple.gamecontroller
Class GCMicroGamepadSnapshotData
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.rt.bro.Struct<GCMicroGamepadSnapshotData>
org.robovm.apple.gamecontroller.GCMicroGamepadSnapshotData
- All Implemented Interfaces:
Iterable<GCMicroGamepadSnapshotData>
public class GCMicroGamepadSnapshotData extends Struct<GCMicroGamepadSnapshotData>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCMicroGamepadSnapshotData.GCMicroGamepadSnapshotDataPtr -
Constructor Summary
Constructors Constructor Description GCMicroGamepadSnapshotData()GCMicroGamepadSnapshotData(short version, short size, float dpadX, float dpadY, float buttonA, float buttonX) -
Method Summary
Modifier and Type Method Description floatgetButtonA()floatgetButtonX()floatgetDpadX()floatgetDpadY()shortgetSize()shortgetVersion()GCMicroGamepadSnapshotDatasetButtonA(float buttonA)GCMicroGamepadSnapshotDatasetButtonX(float buttonX)GCMicroGamepadSnapshotDatasetDpadX(float dpadX)GCMicroGamepadSnapshotDatasetDpadY(float dpadY)GCMicroGamepadSnapshotDatasetSize(short size)GCMicroGamepadSnapshotDatasetVersion(short version)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
GCMicroGamepadSnapshotData
public GCMicroGamepadSnapshotData() -
GCMicroGamepadSnapshotData
public GCMicroGamepadSnapshotData(short version, short size, float dpadX, float dpadY, float buttonA, float buttonX)
-
-
Method Details
-
getVersion
public short getVersion() -
setVersion
-
getSize
public short getSize() -
setSize
-
getDpadX
public float getDpadX() -
setDpadX
-
getDpadY
public float getDpadY() -
setDpadY
-
getButtonA
public float getButtonA() -
setButtonA
-
getButtonX
public float getButtonX() -
setButtonX
-