table of contents
SDL_EventEnabled(3) | SDL3 FUNCTIONS | SDL_EventEnabled(3) |
NAME¶
SDL_EventEnabled - Query the state of processing events by type.
SYNOPSIS¶
#include <SDL3/SDL_events.h>
bool SDL_EventEnabled(Uint32 type);
FUNCTION PARAMETERS¶
- type
- the type of event; see SDL_EventType for details.
RETURN VALUE¶
Returns true if the event is being processed, false otherwise.
THREAD SAFETY¶
It is safe to call this function from any thread.
AVAILABILITY¶
This function is available since SDL 3.2.0.
SEE ALSO¶
SDL 3.2.14 | Simple Directmedia Layer |