sdlCloseHaptic function haptic
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.2.0.
\sa SDL_OpenHaptic
extern SDL_DECLSPEC void SDLCALL SDL_CloseHaptic(SDL_Haptic *haptic)
Implementation
void sdlCloseHaptic(Pointer<SdlHaptic> haptic) {
final sdlCloseHapticLookupFunction = _libSdl
.lookupFunction<
Void Function(Pointer<SdlHaptic> haptic),
void Function(Pointer<SdlHaptic> haptic)
>('SDL_CloseHaptic');
return sdlCloseHapticLookupFunction(haptic);
}