Query if a joystick has haptic features.
Defined in <SDL3/SDL_haptic.h>
bool SDL_IsJoystickHaptic(SDL_Joystick *joystick);
SDL_Joystick * | joystick | the SDL_Joystick to test for haptic capabilities. |
(bool) Returns true if the joystick is haptic or false if it isn't.
This function is available since SDL 3.1.3.