close method

void close()

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 close() => sdlCloseHaptic(this);