Query whether a joystick has rumble support.
Defined in SDL_joystick.h, but apps should only #include "SDL.h"
!
SDL_bool SDL_JoystickHasRumble(SDL_Joystick *joystick);
joystick | The joystick to query |
Return SDL_TRUE if the joystick has rumble, SDL_FALSE otherwise.
This function is available since SDL 2.0.18.
CategoryAPI, CategoryAPIFunction