SDL_GamepadSensorEnabled

Query whether sensor data reporting is enabled for a gamepad.

extern (C) nothrow @nogc extern
bool
SDL_GamepadSensorEnabled

Parameters

gamepad SDL_Gamepad*

the gamepad to query.

type SDL_SensorType

the type of sensor to query.

Return Value

Type: bool

true if the sensor is enabled, false otherwise.

See Also

Meta