[][src]Function sdl2_sys::SDL_PumpEvents

pub unsafe extern "C" fn SDL_PumpEvents()

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.