Skip to content

textmode.js / input / gamepad / GamepadEventMap

Interface: GamepadEventMap

Event map for all gamepad events emitted by the GamepadInput.

Properties

PropertyTypeDescription
gamepadAxisChangedGamepadAxisEventHandlerFires when an axis value changes beyond the configured epsilon or crosses the deadzone boundary.
gamepadButtonPressedGamepadButtonEventHandlerFires when a button's value crosses above the press threshold.
gamepadButtonReleasedGamepadButtonEventHandlerFires when a button's value crosses below the release threshold.
gamepadConnectedGamepadConnectionEventHandlerFires when a gamepad appears in the current frame snapshot.
gamepadDisconnectedGamepadConnectionEventHandlerFires when a previously seen gamepad disappears from the current frame snapshot.