Expand description
The gamepad input functionality.
Structs§
- Settings for a
GamepadAxis
. - Settings for a
GamepadButton
. - Manages settings for gamepad buttons.
- Stores a connected gamepad’s metadata such as the name and its
GamepadButton
andGamepadAxis
. GamepadAxis
event triggered by an analog state changeGamepadButton
event triggered by an analog state changeGamepadButton
event triggered by a digital state change- A Gamepad connection event. Created when a connection to a gamepad is established and when a gamepad is disconnected.
- The intensity at which a gamepad’s force-feedback motors may rumble.
- Gamepad settings component.
GamepadAxis
changed event unfiltered byGamepadSettings
GamepadButton
changed event unfiltered byGamepadSettings
Enums§
- Errors that occur when setting axis settings for gamepad input.
- Errors that occur when setting button settings for gamepad input.
- Represents gamepad input types that are mapped in the range [-1.0, 1.0]
- Represents gamepad input types that are mapped in the range [0.0, 1.0].
- The connection status of a gamepad.
- A gamepad event.
- Encapsulation over
GamepadAxis
andGamepadButton
- A raw gamepad event.
Functions§
- Handles
GamepadConnectionEvent
s events. - Consumes
RawGamepadEvent
events, filters them using theirGamepadSettings
and if successful, updates theGamepad
and sendsGamepadAxisChangedEvent
,GamepadButtonStateChangedEvent
,GamepadButtonChangedEvent
events.