Function SDL_SensorGetDeviceInstanceID
pub unsafe extern "C" fn SDL_SensorGetDeviceInstanceID(
device_index: i32,
) -> i32
Available on crate feature
dep_sdl2
only.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.