Function sdl2_sys::SDL_PumpEvents
source ยท pub unsafe extern "C" fn SDL_PumpEvents()
Expand description
Pumps the event loop, gathering events from the input devices.
This function updates the event queue and internal input device state.
This should only be run in the thread that sets the video mode.