Function fermium::sensor::SDL_SensorGetDeviceInstanceID [−][src]
pub unsafe extern "C" fn SDL_SensorGetDeviceInstanceID(
device_index: c_int
) -> SDL_SensorID
Get the instance ID of a sensor.
This can be called before any sensors are opened.
Returns: The sensor instance ID, or -1 if device_index
is out of
range.