Query whether sensor data reporting is enabled for a gamepad.
SDL_bool SDL_GamepadSensorEnabled(SDL_Gamepad *gamepad, SDL_SensorType type);
gamepad | The gamepad 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 3.0.0.