SDL_SetGamepadSensorEnabled

Set whether data reporting for a gamepad sensor is enabled.

extern (C) nothrow @nogc extern
bool
SDL_SetGamepadSensorEnabled

Parameters

gamepad SDL_Gamepad*

the gamepad to update.

type SDL_SensorType

the type of sensor to enable/disable.

enabled bool

whether data reporting should be enabled.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

See Also

Meta