sdlGameControllerUpdate function

void sdlGameControllerUpdate()

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.

extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void)

Implementation

void sdlGameControllerUpdate() {
  final sdlGameControllerUpdateLookupFunction =
      libSdl2.lookupFunction<Void Function(), void Function()>(
          'SDL_GameControllerUpdate');
  return sdlGameControllerUpdateLookupFunction();
}