SDL_HasEvents
Use this function to check for the existence of a range of event types in the event queue.
Contents
Syntax
SDL_bool SDL_HasEvents(Uint32 minType,
Uint32 maxType)
Function Parameters
minType |
the minimum type of event to be queried; see SDL_EventType for details |
maxType |
the maximum type of event to be queried; see SDL_EventType for details |
Return Value
Returns SDL_TRUE if events with types in the range between minType and maxType are present, or SDL_FALSE if not.
Code Examples
You can add your code example here
Remarks
If you need to check for a single event type, you can use SDL_HasEvent() instead.