Return whether a game controller has a particular sensor.
SDL_bool SDL_GameControllerHasSensor(SDL_GameController *gamecontroller, SDL_SensorType type);
Returns SDL_TRUE if the sensor exists, SDL_FALSE otherwise.
This function is available since SDL 2.0.14.
CategoryAPI