Set the state of processing events by type.
Defined in <SDL3/SDL_events.h>
void SDL_SetEventEnabled(Uint32 type, bool enabled);
Uint32 | type | the type of event; see SDL_EventType for details. |
bool | enabled | whether to process the event or not. |
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.