sdlJoystickUpdate function

void sdlJoystickUpdate()

Update the current state of the open joysticks.

This is called automatically by the event loop if any joystick events are enabled.

\since This function is available since SDL 2.0.0.

\sa SDL_JoystickEventState

extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void)

Implementation

void sdlJoystickUpdate() {
  final sdlJoystickUpdateLookupFunction = libSdl2
      .lookupFunction<Void Function(), void Function()>('SDL_JoystickUpdate');
  return sdlJoystickUpdateLookupFunction();
}