sdlCloseJoystick function
Close a joystick previously opened with SDL_OpenJoystick().
\param joystick the joystick device to close.
\since This function is available since SDL 3.1.3.
\sa SDL_OpenJoystick
extern SDL_DECLSPEC void SDLCALL SDL_CloseJoystick(SDL_Joystick *joystick)
Implementation
void sdlCloseJoystick(Pointer<SdlJoystick> joystick) {
final sdlCloseJoystickLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlJoystick> joystick),
void Function(Pointer<SdlJoystick> joystick)>('SDL_CloseJoystick');
return sdlCloseJoystickLookupFunction(joystick);
}