Function sdl2_sys::SDL_SensorGetDeviceType
source ยท pub unsafe extern "C" fn SDL_SensorGetDeviceType(
device_index: c_int,
) -> SDL_SensorType
Expand description
\brief Get the type of a sensor.
This can be called before any sensors are opened.
\return The sensor type, or SDL_SENSOR_INVALID if device_index is out of range.