Type Alias XboxGamePadSticks

XboxGamePadSticks: {
    leftStick: boolean;
    leftStickX: number;
    leftStickY: number;
    rightStick: boolean;
    rightStickX: number;
    rightStickY: number;
}

Type declaration

  • leftStick: boolean
  • leftStickX: number

    The value of the left stick along the X-axis.

  • leftStickY: number

    The value of the left stick along the Y-axis.

  • rightStick: boolean
  • rightStickX: number

    The value of the right stick along the X-axis.

  • rightStickY: number

    The value of the right stick along the Y-axis.