SDL_IsJoystickHaptic3
Query if a joystick has haptic features.
Usage
#include "SDL3/SDL.h"
bool SDL_IsJoystickHaptic(SDL_Joystick *joystick);
Header file
Defined in SDL3/SDL_haptic.h
Function parameters
- joystick
-
the
SDL_Joystick
to test for haptic capabilities.
Return value
Returns true if the joystick is haptic or false if it isn't.