SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint64 | timestamp |
SDL_JoystickID | which |
Joystick device event structure (event.jdevice.*)
Definition at line 406 of file SDL_events.h.
Uint64 SDL_JoyDeviceEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 409 of file SDL_events.h.
Uint32 SDL_JoyDeviceEvent::type |
SDL_EVENT_JOYSTICK_ADDED or SDL_EVENT_JOYSTICK_REMOVED or SDL_EVENT_JOYSTICK_UPDATE_COMPLETE
Definition at line 408 of file SDL_events.h.
SDL_JoystickID SDL_JoyDeviceEvent::which |
The joystick instance id
Definition at line 410 of file SDL_events.h.