Query whether a game controller has rumble support.
Defined in SDL_gamecontroller.h, but apps should only #include "SDL.h"
!
SDL_bool SDL_GameControllerHasRumble(SDL_GameController *gamecontroller);
gamecontroller | The controller to query |
Returns SDL_TRUE, or SDL_FALSE if this controller does not have rumble support
This function is available since SDL 2.0.18.
CategoryAPI, CategoryAPIFunction