[][src]Function sdl2_sys::SDL_SensorGetDeviceInstanceID

pub unsafe extern "C" fn SDL_SensorGetDeviceInstanceID(
    device_index: c_int
) -> 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 device_index is out of range.