sdlUnlockJoysticks function joystick

void sdlUnlockJoysticks(
  1. Pointer<NativeType> arg0
)

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(Pointer<NativeType> arg0) {
  final sdlUnlockJoysticksLookupFunction = _libSdl
      .lookupFunction<
        Void Function(Pointer<NativeType> arg0),
        void Function(Pointer<NativeType> arg0)
      >('SDL_UnlockJoysticks');
  return sdlUnlockJoysticksLookupFunction(arg0);
}