Module bevy_input::gamepad
source · Expand description
The gamepad input functionality.
Structs
- Settings for a
GamepadAxis
. - Settings for a
GamepadButton
. - Manages settings for gamepad buttons.
- A gamepad with an associated
ID
. - An axis of a
Gamepad
. - Gamepad event for when the “value” on the axis changes by an amount larger than the threshold defined in
GamepadSettings
. - A button of a
Gamepad
. - Gamepad event for when the “value” (amount of pressure) on the button changes by an amount larger than the threshold defined in
GamepadSettings
. - A gamepad button input event.
- A Gamepad connection event. Created when a connection to a gamepad is established and when a gamepad is disconnected.
- Metadata associated with a
Gamepad
. - The intensity at which a gamepad’s force-feedback motors may rumble.
- Settings for all
Gamepad
s. - A collection of connected
Gamepad
s.
Enums
- Errors that occur when setting axis settings for gamepad input.
- Errors that occur when setting button settings for gamepad input.
- A type of a
GamepadAxis
. - A type of a
GamepadButton
. - The connection status of a gamepad.
- A gamepad event.
- An event that controls force-feedback rumbling of a
Gamepad
.
Functions
- Handles
GamepadConnectionEvent
s and updates gamepad resources. - Splits the
GamepadEvent
event stream into it’s component events.