sdlLockJoysticks function
Locking for atomic access to the joystick API.
The SDL joystick functions are thread-safe, however you can lock the joysticks while processing to guarantee that the joystick list won't change and joystick and gamepad events will not be delivered.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void SDLCALL SDL_LockJoysticks(void) SDL_ACQUIRE(SDL_joystick_lock)
Implementation
void sdlLockJoysticks(Pointer<NativeType> arg0) {
final sdlLockJoysticksLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<NativeType> arg0),
void Function(Pointer<NativeType> arg0)>('SDL_LockJoysticks');
return sdlLockJoysticksLookupFunction(arg0);
}