Enumeration standardGpadAxesMap

Enum holds the index in the gamepad axes array for standard controller axes (two thumb sticks)

// Get the axis state for the left thumbstick horizontal axis of the first gamepad:
navigator.getGamepads()[0].axes[standardGpadAxesMap.LStickX]

Enumeration Members

Enumeration Members

LStickX
LStickY
RStickX
RStickY