sensorEnabled method
Query whether sensor data reporting is enabled for a gamepad.
\param gamepad the gamepad to query. \param type the type of sensor to query. \returns true if the sensor is enabled, false otherwise.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_SetGamepadSensorEnabled
extern SDL_DECLSPEC bool SDLCALL SDL_GamepadSensorEnabled(SDL_Gamepad *gamepad, SDL_SensorType type)
{@category gamepad}
Implementation
bool sensorEnabled(int type) => sdlGamepadSensorEnabled(this, type);