Module sdl2::controller
[−]
[src]
Structs
| GameController |
Wrapper around the SDL_GameController object |
Enums
| Axis | |
| Button | |
| MappingStatus |
Possible return values for |
Functions
| add_mapping |
Add a new mapping from a mapping string |
| get_event_state |
Return |
| is_game_controller |
Return true if the joystick at index |
| mapping_for_guid | |
| name_for_index |
Return the name of the controller at index |
| set_event_state |
If state is |
| update |
Force controller update when not using the event loop |
| wrap_controller_axis | |
| wrap_controller_button |