[−][src]Module ggez::input::gamepad
Gamepad utility functions.
This is going to be a bit of a work-in-progress as gamepad input
gets fleshed out. The gilrs
crate needs help to add better
cross-platform support. Why not give it a hand?
TODO: All of this.
Structs
GilrsGamepadContext | A structure that contains gamepad state using |
NullGamepadContext | A structure that implements |
Traits
GamepadContext | Trait object defining a gamepad/joystick context. |
Functions
axis | Returns the state of the given axis on a gamepad. |
button_pressed | Returns the state of the given button on a gamepad. |
gamepad | Returns the |
list_gamepads | Lists all gamepads. With metainfo, maybe? |