###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_Haptic The haptic structure used to identify an SDL haptic. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_haptic.h) ## Syntax ```c typedef struct SDL_Haptic SDL_Haptic; ``` ## Version This struct is available since SDL 3.1.3. ## See Also - [SDL_OpenHaptic](SDL_OpenHaptic) - [SDL_OpenHapticFromJoystick](SDL_OpenHapticFromJoystick) - [SDL_CloseHaptic](SDL_CloseHaptic) ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryHaptic](CategoryHaptic)