Variable GamepadAxisConst

GamepadAxis: {
    LEFT_HOR: number;
    LEFT_VERT: number;
    RIGHT_HOR: number;
    RIGHT_VERT: number;
} = ...

Gamepad axes contains a list of possible axes.

Gamepads might contains more axes that the ones declared in this list.

Type declaration

  • LEFT_HOR: number

    Gamepad LEFT_ANALOGUE_HOR axis.

  • LEFT_VERT: number

    Gamepad LEFT_ANALOGUE_VERT axis.

  • RIGHT_HOR: number

    Gamepad RIGHT_ANALOGUE_HOR axis.

  • RIGHT_VERT: number

    Gamepad RIGHT_ANALOGUE_VERT axis.