Class GCGamepadSnapShotDataV100

All Implemented Interfaces:
Iterable<GCGamepadSnapShotDataV100>

public class GCGamepadSnapShotDataV100
extends Struct<GCGamepadSnapShotDataV100>
  • Constructor Details

    • GCGamepadSnapShotDataV100

      public GCGamepadSnapShotDataV100()
    • GCGamepadSnapShotDataV100

      public GCGamepadSnapShotDataV100​(short version, short size, float dpadX, float dpadY, float buttonA, float buttonB, float buttonX, float buttonY, float leftShoulder, float rightShoulder)
  • Method Details

    • getVersion

      public short getVersion()
    • setVersion

      public GCGamepadSnapShotDataV100 setVersion​(short version)
    • getSize

      public short getSize()
    • setSize

      public GCGamepadSnapShotDataV100 setSize​(short size)
    • getDpadX

      public float getDpadX()
    • setDpadX

      public GCGamepadSnapShotDataV100 setDpadX​(float dpadX)
    • getDpadY

      public float getDpadY()
    • setDpadY

      public GCGamepadSnapShotDataV100 setDpadY​(float dpadY)
    • getButtonA

      public float getButtonA()
    • setButtonA

      public GCGamepadSnapShotDataV100 setButtonA​(float buttonA)
    • getButtonB

      public float getButtonB()
    • setButtonB

      public GCGamepadSnapShotDataV100 setButtonB​(float buttonB)
    • getButtonX

      public float getButtonX()
    • setButtonX

      public GCGamepadSnapShotDataV100 setButtonX​(float buttonX)
    • getButtonY

      public float getButtonY()
    • setButtonY

      public GCGamepadSnapShotDataV100 setButtonY​(float buttonY)
    • getLeftShoulder

      public float getLeftShoulder()
    • setLeftShoulder

      public GCGamepadSnapShotDataV100 setLeftShoulder​(float leftShoulder)
    • getRightShoulder

      public float getRightShoulder()
    • setRightShoulder

      public GCGamepadSnapShotDataV100 setRightShoulder​(float rightShoulder)
    • setData

      @Deprecated public boolean setData​(NSData data)
      Deprecated.
      Deprecated in iOS 13.0. GCGamepad has been deprecated, use GCExtendedGamepad instead
    • getData

      @Deprecated public NSData getData()
      Deprecated.
      Deprecated in iOS 13.0. GCGamepad has been deprecated, use GCExtendedGamepad instead