My Project
|
Joystick button event structure (event.jbutton.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
SDL_JoystickID | which |
Uint8 | button |
Uint8 | state |
Uint8 | padding1 |
Uint8 | padding2 |
Joystick button event structure (event.jbutton.*)
Uint8 button |
The joystick button index
Uint8 state |
SDL_PRESSED or SDL_RELEASED
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
SDL_JoystickID which |
The joystick instance id