axes property
The Gamepad.axes
property of the Gamepad
interface returns an array representing the controls with axes present on
the device
(e.g. analog thumb sticks).
Each entry in the array is a floating point value in the range -1.0 – 1.0, representing the axis position from the lowest value (-1.0) to the highest value (1.0).
Implementation
external JSArray<JSNumber> get axes;