Query if a joystick has haptic features.
Defined in SDL_haptic.h
int SDL_JoystickIsHaptic(SDL_Joystick * joystick);
SDL_Joystick * | joystick | the SDL_Joystick to test for haptic capabilities. |
(int) Returns SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't, or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.