THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
A structure that contains joystick device event information.
Uint32 |
type |
SDL_EVENT_JOYSTICK_ADDED or SDL_EVENT_JOYSTICK_REMOVED |
Uint32 |
timestamp |
the timestamp of the event |
Sint32 |
which |
the joystick device index for the SDL_EVENT_JOYSTICK_ADDED event or the instance id for the SDL_EVENT_JOYSTICK_REMOVED event |
You would access it through the event's jdevice
field.
CategoryStruct, CategoryEvents, CategoryDraft