SDL2.pollEvent

Get next SDL event. Input state gets updated and window callbacks are called too.

class SDL2
bool
pollEvent
(
SDL_Event* event
)

Return Value

Type: bool

true if returned an event.

Meta