Type Alias XboxGamePadFaceButtons

XboxGamePadFaceButtons: {
    a: boolean;
    b: boolean;
    x: boolean;
    y: boolean;
}

Represents the state of the face buttons on an Xbox gamepad.

Type declaration

  • a: boolean

    Indicates whether the 'A' button is pressed.

  • b: boolean

    Indicates whether the 'B' button is pressed.

  • x: boolean

    Indicates whether the 'X' button is pressed.

  • y: boolean

    Indicates whether the 'Y' button is pressed.