Skip to main content
Defined in: modules/input/src/controller/controller.enum.ts:44 Controller axes, following the W3C “standard” gamepad layout.

Remarks

Values are the indices of Gamepad.axes when Gamepad.mapping is "standard". Axis values range from -1 to 1; negative is left/up.

Enumeration Members

LeftStickX

LeftStickX: 0
Defined in: modules/input/src/controller/controller.enum.ts:45

LeftStickY

LeftStickY: 1
Defined in: modules/input/src/controller/controller.enum.ts:46

RightStickX

RightStickX: 2
Defined in: modules/input/src/controller/controller.enum.ts:47

RightStickY

RightStickY: 3
Defined in: modules/input/src/controller/controller.enum.ts:48