Close a haptic device previously opened with SDL_OpenHaptic().
Defined in <SDL3/SDL_haptic.h>
void SDL_CloseHaptic(SDL_Haptic *haptic);
haptic | the SDL_Haptic device to close |
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction