Function SDL_HasEvents
pub unsafe extern "C" fn SDL_HasEvents(
minType: u32,
maxType: u32,
) -> SDL_bool
Available on crate feature
dep_sdl2
only.Expand description
Check for the existence of certain event types in the event queue.
If you need to check for a single event type, use SDL_HasEvent() instead.
\param minType the low end of event type to be queried, inclusive; see
SDL_EventType for details
\param maxType the high end of event type to be queried, inclusive; see
SDL_EventType for details
\returns SDL_TRUE if events with type >= minType
and <= maxType
are
present, or SDL_FALSE if not.
\since This function is available since SDL 2.0.0.
\sa SDL_HasEvents