Package org.robovm.apple.gamecontroller
Class GCExtendedGamepadSnapshotData
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.rt.bro.Struct<GCExtendedGamepadSnapshotData>
org.robovm.apple.gamecontroller.GCExtendedGamepadSnapshotData
- All Implemented Interfaces:
Iterable<GCExtendedGamepadSnapshotData>
public class GCExtendedGamepadSnapshotData extends Struct<GCExtendedGamepadSnapshotData>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCExtendedGamepadSnapshotData.GCExtendedGamepadSnapshotDataPtr -
Constructor Summary
Constructors Constructor Description GCExtendedGamepadSnapshotData()GCExtendedGamepadSnapshotData(short version, short size, float dpadX, float dpadY, float buttonA, float buttonB, float buttonX, float buttonY, float leftShoulder, float rightShoulder, float leftThumbstickX, float leftThumbstickY, float rightThumbstickX, float rightThumbstickY, float leftTrigger, float rightTrigger, boolean supportsClickableThumbsticks, boolean leftThumbstickButton, boolean rightThumbstickButton) -
Method Summary
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
-
GCExtendedGamepadSnapshotData
public GCExtendedGamepadSnapshotData() -
GCExtendedGamepadSnapshotData
public GCExtendedGamepadSnapshotData(short version, short size, float dpadX, float dpadY, float buttonA, float buttonB, float buttonX, float buttonY, float leftShoulder, float rightShoulder, float leftThumbstickX, float leftThumbstickY, float rightThumbstickX, float rightThumbstickY, float leftTrigger, float rightTrigger, boolean supportsClickableThumbsticks, boolean leftThumbstickButton, boolean rightThumbstickButton)
-
-
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
-
getButtonB
public float getButtonB() -
setButtonB
-
getButtonX
public float getButtonX() -
setButtonX
-
getButtonY
public float getButtonY() -
setButtonY
-
getLeftShoulder
public float getLeftShoulder() -
setLeftShoulder
-
getRightShoulder
public float getRightShoulder() -
setRightShoulder
-
getLeftThumbstickX
public float getLeftThumbstickX() -
setLeftThumbstickX
-
getLeftThumbstickY
public float getLeftThumbstickY() -
setLeftThumbstickY
-
getRightThumbstickX
public float getRightThumbstickX() -
setRightThumbstickX
-
getRightThumbstickY
public float getRightThumbstickY() -
setRightThumbstickY
-
getLeftTrigger
public float getLeftTrigger() -
setLeftTrigger
-
getRightTrigger
public float getRightTrigger() -
setRightTrigger
-
isSupportsClickableThumbsticks
public boolean isSupportsClickableThumbsticks() -
setSupportsClickableThumbsticks
public GCExtendedGamepadSnapshotData setSupportsClickableThumbsticks(boolean supportsClickableThumbsticks) -
isLeftThumbstickButton
public boolean isLeftThumbstickButton() -
setLeftThumbstickButton
-
isRightThumbstickButton
public boolean isRightThumbstickButton() -
setRightThumbstickButton
-