#include <SDL_events.h>
Data Fields | |
Uint8 | type |
Uint8 | which |
Uint8 | button |
Uint8 | state |
Uint8 button |
The joystick button index
Uint8 state |
SDL_PRESSED or SDL_RELEASED
Uint8 type |
SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP
Uint8 which |
The joystick device index