[−][src]Function sdl2_sys::SDL_SensorGetInstanceID
pub unsafe extern "C" fn SDL_SensorGetInstanceID(
sensor: *mut SDL_Sensor
) -> SDL_SensorID
\brief Get the instance ID of a sensor.
This can be called before any sensors are opened.
\return The sensor instance ID, or -1 if the sensor is NULL.