Function fermium::gamecontroller::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
gamecontroller
The controller to querytype
The type of sensor to query
Returns: SDL_TRUE
if the sensor is enabled, SDL_FALSE
otherwise.