SDL_IsJoystickHaptic - Query if a joystick has haptic features.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
joystick
the SDL_Joystick to test for haptic capabilities.
Name
SDL_IsJoystickHaptic - Query if a joystick has haptic features.
Return Value
Returns true if the joystick is haptic or false if it isn't.
See Also
SDL_OpenHapticFromJoystick(3) Simple Directmedia Layer SDL 3.2.20 SDL_IsJoystickHaptic(3)
Synopsis
#include<SDL3/SDL_haptic.h>boolSDL_IsJoystickHaptic(SDL_Joystick*joystick);
