SDL_GameControllerUpdate

Manually pump game controller updates if not using the loop.

Header File

Defined in SDL_gamecontroller.h

Syntax

void SDL_GameControllerUpdate(void);

Remarks

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.

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryAPIFunction, CategoryGameController