Module joystick
Available on crate feature
dep_sdl3
only.Structs§
- Joystick
- Wrapper around the
SDL_Joystick
object - Joystick
Instance - Power
Info
Enums§
- HatState
- This is represented in SDL2 as a bitfield but obviously not all combinations make sense: 5 for instance would mean up and down at the same time… To simplify things I turn it into an enum which is how the SDL2 docs present it anyway (using macros).
- Power
Level