SDL_PollEvent (3) Linux Manual Page
SDL_PollEvent – Polls for currently pending events. Synopsis #include "SDL.h" int SDL_PollEvent(SDL_Event *event); Description Polls for currently pending events, and returns 1 if there are any pending events, or 0 if there are none available. If event is not NULL, the next event is removed from the queue and stored in that area. Examples SDL_Event…
