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