Function sdl2_sys::SDL_GameControllerIsSensorEnabled
source ยท pub unsafe extern "C" fn SDL_GameControllerIsSensorEnabled(
gamecontroller: *mut SDL_GameController,
type_: SDL_SensorType,
) -> SDL_bool
Expand description
Query whether sensor data reporting is enabled for a game controller.
\param gamecontroller The controller to query \param type The type of sensor to query \returns SDL_TRUE if the sensor is enabled, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.14.