< User defined event code
< User defined data pointer
< User defined data pointer
< In nanoseconds, populated using SDL_GetTicksNS()
< SDL_EVENT_USER through SDL_EVENT_LAST-1, Uint32 because these are not in the SDL_EventType enumeration
< The associated window if any
A user-defined event type (event.user.*)
This event is unique; it is never created by SDL, but only by the application. The event can be pushed onto the event queue using SDL_PushEvent(). The contents of the structure members are completely up to the programmer; the only requirement is that '''type''' is a value obtained from SDL_RegisterEvents().
\since This struct is available since SDL 3.2.0.