DOKK / manpages / debian 13 / libsdl3-doc / SDL_CloseHaptic.3.en
SDL_CloseHaptic(3) SDL3 FUNCTIONS SDL_CloseHaptic(3)

SDL_CloseHaptic - Close a haptic device previously opened with SDL_OpenHaptic ().

Defined in SDL3/SDL_haptic.h

#include "SDL3/SDL.h"
void SDL_CloseHaptic(SDL_Haptic *haptic);

the SDL_Haptic
device to close.

This function is available since SDL 3.2.0.

(3), SDL_OpenHaptic(3)

SDL 3.2.10 Simple Directmedia Layer