Set the state of processing events by type.
Defined in SDL_events.h, but apps should use #include <SDL3/SDL.h>
void SDL_SetEventEnabled(Uint32 type, SDL_bool enabled);
type | the type of event; see SDL_EventType for details |
enabled | whether to process the event or not |
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction