Skip to content

API Variable GAMEPAD_AXES

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Variable: GAMEPAD_AXES

const GAMEPAD_AXES: readonly ["leftStickX", "leftStickY", "rightStickX", "rightStickY"];

Defined in: src/engine/input/controls.ts:29

Gamepad axes in wire order: -1..1, +X right, +Y down on the wire.

Clone this wiki locally