Skip to main content

Variable: gamepadAxes

const gamepadAxes: object

Defined in: input/constants/gamepad-axes.ts:6

A mapping of human-readable axis names to their corresponding indices in the W3C Standard Gamepad's axes array.

Type Declaration​

leftStickX​

readonly leftStickX: 0 = 0

leftStickY​

readonly leftStickY: 1 = 1

rightStickX​

readonly rightStickX: 2 = 2

rightStickY​

readonly rightStickY: 3 = 3

See​

https://www.w3.org/TR/gamepad/#remapping