textmode.js / input / gamepad / GamepadEventMap
Interface: GamepadEventMap
Event map for all gamepad events emitted by the GamepadInput.
Properties
| Property | Type | Description |
|---|---|---|
gamepadAxisChanged | GamepadAxisEventHandler | Fires when an axis value changes beyond the configured epsilon or crosses the deadzone boundary. |
gamepadButtonPressed | GamepadButtonEventHandler | Fires when a button's value crosses above the press threshold. |
gamepadButtonReleased | GamepadButtonEventHandler | Fires when a button's value crosses below the release threshold. |
gamepadConnected | GamepadConnectionEventHandler | Fires when a gamepad appears in the current frame snapshot. |
gamepadDisconnected | GamepadConnectionEventHandler | Fires when a previously seen gamepad disappears from the current frame snapshot. |