SDL_GamepadHasSensor

Return whether a gamepad has a particular sensor.

extern (C) nothrow @nogc extern
bool
SDL_GamepadHasSensor

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 exists, false otherwise.

See Also

Meta