Query whether sensor data reporting is enabled for a game controller.
SDL_bool SDL_GameControllerIsSensorEnabled(SDL_GameController *gamecontroller, SDL_SensorType type);
gamecontroller |
The controller to query |
type |
The type of sensor to query |
Returns SDL_TRUE if the sensor is enabled, SDL_FALSE otherwise.
This function is available since SDL 2.0.14.