Function fermium::events::SDL_PollEvent
source · Expand description
Polls for currently pending events.
Returns: 1 if there are any pending events, or 0 if there are none available.
This is non-blocking, if no event is available it will immediately return.
event
If not NULL, the next event is removed from the queue and stored in that area.