Function sdl2_sys::SDL_PollEvent
source · [−]Expand description
\brief Polls for currently pending events.
\return 1 if there are any pending events, or 0 if there are none available.
\param event If not NULL, the next event is removed from the queue and stored in that area.