SDL_CloseHaptic - Man Page

Close a haptic device previously opened with SDL_OpenHaptic ().

Header File

Defined in SDL3/SDL_haptic.h

Synopsis

#include "SDL3/SDL.h"

void SDL_CloseHaptic(SDL_Haptic *haptic);

Function Parameters

haptic

the SDL_Haptic
device to close.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_OpenHaptic(3)

Referenced By

SDL_Haptic.3type(3), SDL_OpenHaptic(3), SDL_OpenHapticFromJoystick(3), SDL_OpenHapticFromMouse(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS