pub unsafe extern "C" fn SDL_SensorGetDeviceInstanceID(
    device_index: c_int
) -> SDL_SensorID
Expand description

Get the instance ID of a sensor.

\param device_index The sensor to get instance id from \returns the sensor instance ID, or -1 if device_index is out of range.

\since This function is available since SDL 2.0.9.