Function SDL_GameControllerUpdate

pub unsafe extern "C" fn SDL_GameControllerUpdate()
Available on crate feature dep_sdl2 only.
Expand description

Manually pump game controller updates if not using the loop.

This function is called automatically by the event loop if events are enabled. Under such circumstances, it will not be necessary to call this function.

\since This function is available since SDL 2.0.0.