sdlHapticClose function
Close a haptic device previously opened with SDL_HapticOpen().
\param haptic the SDL_Haptic device to close
\since This function is available since SDL 2.0.0.
\sa SDL_HapticOpen
extern DECLSPEC void SDLCALL SDL_HapticClose(SDL_Haptic * haptic)
Implementation
void sdlHapticClose(Pointer<SdlHaptic> haptic) {
final sdlHapticCloseLookupFunction = libSdl2.lookupFunction<
Void Function(Pointer<SdlHaptic> haptic),
void Function(Pointer<SdlHaptic> haptic)>('SDL_HapticClose');
return sdlHapticCloseLookupFunction(haptic);
}