Gamepad Ex
A Gamepad extension for more complex inputs.
The biggest function of this API is checking whether an input was pressed or released this update. See pressed, justPressed, and justReleased.
Beyond initialization, please call update every loop to use this API correctly.
This class is inspired by the bevy_input
system.
Types
Link copied to clipboard
A list of all inputs being tracked by GamepadEx.
Properties
Functions
Link copied to clipboard
A function that returns a Set of all other APIs it depends on to function.
Link copied to clipboard
Returns true if input was pressed this update.
Link copied to clipboard
Returns true if input was released this update.
Link copied to clipboard
Returns true if input it pressed.
Link copied to clipboard
Updates pressed, justPressed, and justReleased to match current input.