sdlUnlockJoysticks function joystick

void sdlUnlockJoysticks()

Unlocking for atomic access to the joystick API.

\threadsafety This should be called from the same thread that called SDL_LockJoysticks().

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC void SDLCALL SDL_UnlockJoysticks(void) SDL_RELEASE(SDL_joystick_lock)

Implementation

void sdlUnlockJoysticks() {
  final sdlUnlockJoysticksLookupFunction = _libSdl
      .lookupFunction<Void Function(), void Function()>('SDL_UnlockJoysticks');
  return sdlUnlockJoysticksLookupFunction();
}