textmode.js / input / gamepad / GamepadAxisEventData
Interface: GamepadAxisEventData
Axis change payload emitted when an axis crosses configured thresholds.
Properties
| Property | Type | Description |
|---|---|---|
axisIndex | number | Axis index in the raw axes array. |
delta | number | Difference between current and previous values. |
gamepad | TextmodeGamepadSnapshot | The gamepad whose axis changed state. |
previousValue | number | Previous-frame axis value. |
standardAxisName? | TextmodeStandardAxisName | Semantic axis alias for standard-mapped controllers. |
value | number | Current axis value. |