Type Alias XboxGamePadDPad

XboxGamePadDPad: {
    down: boolean;
    left: boolean;
    right: boolean;
    up: boolean;
}

Represents the state of the D-Pad on an Xbox gamepad.

Type declaration

  • down: boolean

    Indicates if the down direction is pressed.

  • left: boolean

    Indicates if the left direction is pressed.

  • right: boolean

    Indicates if the right direction is pressed.

  • up: boolean

    Indicates if the up direction is pressed.