Query whether sensor data reporting is enabled for a joystick.
Defined in <SDL3/SDL_joystick.h>
bool SDL_JoystickSensorEnabled(SDL_Joystick *joystick, SDL_SensorType type);| SDL_Joystick * | joystick | the joystick to query. |
| SDL_SensorType | type | the type of sensor to query. |
(bool) Returns true if the sensor is enabled, false otherwise.
It is safe to call this function from any thread.
This function is available since SDL 3.6.0.