sdlCloseHaptic function
Close a haptic device previously opened with SDL_OpenHaptic().
\param haptic the SDL_Haptic device to close.
\since This function is available since SDL 3.1.3.
\sa SDL_OpenHaptic
extern SDL_DECLSPEC void SDLCALL SDL_CloseHaptic(SDL_Haptic *haptic)
Implementation
void sdlCloseHaptic(Pointer<SdlHaptic> haptic) {
final sdlCloseHapticLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlHaptic> haptic),
void Function(Pointer<SdlHaptic> haptic)>('SDL_CloseHaptic');
return sdlCloseHapticLookupFunction(haptic);
}