Package org.robovm.apple.gamecontroller
Class GCExtendedGamepadSnapShotDataV100
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<GCExtendedGamepadSnapShotDataV100>
-
- org.robovm.apple.gamecontroller.GCExtendedGamepadSnapShotDataV100
-
- All Implemented Interfaces:
java.lang.Iterable<GCExtendedGamepadSnapShotDataV100>
public class GCExtendedGamepadSnapShotDataV100 extends org.robovm.rt.bro.Struct<GCExtendedGamepadSnapShotDataV100>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GCExtendedGamepadSnapShotDataV100.GCExtendedGamepadSnapShotDataV100Ptr
-
Constructor Summary
Constructors Constructor Description GCExtendedGamepadSnapShotDataV100()
GCExtendedGamepadSnapShotDataV100(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)
-
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 Detail
-
GCExtendedGamepadSnapShotDataV100
public GCExtendedGamepadSnapShotDataV100()
-
GCExtendedGamepadSnapShotDataV100
public GCExtendedGamepadSnapShotDataV100(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)
-
-
Method Detail
-
getVersion
public short getVersion()
-
setVersion
public GCExtendedGamepadSnapShotDataV100 setVersion(short version)
-
getSize
public short getSize()
-
setSize
public GCExtendedGamepadSnapShotDataV100 setSize(short size)
-
getDpadX
public float getDpadX()
-
setDpadX
public GCExtendedGamepadSnapShotDataV100 setDpadX(float dpadX)
-
getDpadY
public float getDpadY()
-
setDpadY
public GCExtendedGamepadSnapShotDataV100 setDpadY(float dpadY)
-
getButtonA
public float getButtonA()
-
setButtonA
public GCExtendedGamepadSnapShotDataV100 setButtonA(float buttonA)
-
getButtonB
public float getButtonB()
-
setButtonB
public GCExtendedGamepadSnapShotDataV100 setButtonB(float buttonB)
-
getButtonX
public float getButtonX()
-
setButtonX
public GCExtendedGamepadSnapShotDataV100 setButtonX(float buttonX)
-
getButtonY
public float getButtonY()
-
setButtonY
public GCExtendedGamepadSnapShotDataV100 setButtonY(float buttonY)
-
getLeftShoulder
public float getLeftShoulder()
-
setLeftShoulder
public GCExtendedGamepadSnapShotDataV100 setLeftShoulder(float leftShoulder)
-
getRightShoulder
public float getRightShoulder()
-
setRightShoulder
public GCExtendedGamepadSnapShotDataV100 setRightShoulder(float rightShoulder)
-
getLeftThumbstickX
public float getLeftThumbstickX()
-
setLeftThumbstickX
public GCExtendedGamepadSnapShotDataV100 setLeftThumbstickX(float leftThumbstickX)
-
getLeftThumbstickY
public float getLeftThumbstickY()
-
setLeftThumbstickY
public GCExtendedGamepadSnapShotDataV100 setLeftThumbstickY(float leftThumbstickY)
-
getRightThumbstickX
public float getRightThumbstickX()
-
setRightThumbstickX
public GCExtendedGamepadSnapShotDataV100 setRightThumbstickX(float rightThumbstickX)
-
getRightThumbstickY
public float getRightThumbstickY()
-
setRightThumbstickY
public GCExtendedGamepadSnapShotDataV100 setRightThumbstickY(float rightThumbstickY)
-
getLeftTrigger
public float getLeftTrigger()
-
setLeftTrigger
public GCExtendedGamepadSnapShotDataV100 setLeftTrigger(float leftTrigger)
-
getRightTrigger
public float getRightTrigger()
-
setRightTrigger
public GCExtendedGamepadSnapShotDataV100 setRightTrigger(float rightTrigger)
-
setData
@Deprecated public boolean setData(NSData data)
Deprecated.GCExtendedGamepadSnapShotDataV100FromNSData has been deprecated, use GCExtendedGamepadSnapshotDataFromNSData instead- Since:
- Available in iOS 7.0 and later.
-
getData
@Deprecated public NSData getData()
Deprecated.NSDataFromGCExtendedGamepadSnapShotDataV100 has been deprecated, use NSDataFromGCExtendedGamepadSnapshotData instead- Since:
- Available in iOS 7.0 and later.
-
-