Joystick device event structure (event.jdevice.*)
Defined in <SDL3/SDL_events.h>
typedef struct SDL_JoyDeviceEvent
{/**< ::SDL_EVENT_JOYSTICK_ADDED or ::SDL_EVENT_JOYSTICK_REMOVED or ::SDL_EVENT_JOYSTICK_UPDATE_COMPLETE */
SDL_EventType type;
Uint32 reserved;/**< In nanoseconds, populated using SDL_GetTicksNS() */
Uint64 timestamp; /**< The joystick instance id */
SDL_JoystickID which; } SDL_JoyDeviceEvent;
This struct is available since SDL 3.0.0.
CategoryAPI, CategoryAPIStruct