Close a haptic device previously opened with SDL_HapticOpen().
Defined in SDL_haptic.h, but apps should only #include "SDL.h"
!
void SDL_HapticClose(SDL_Haptic * haptic);
haptic | the SDL_Haptic device to close |
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction