Return whether a game controller has a particular sensor.
Defined in SDL_gamecontroller.h
gamecontroller | The controller to query |
type | The type of sensor to query |
Returns SDL_TRUE if the sensor exists, SDL_FALSE otherwise.
This function is available since SDL 2.0.14.