Function sdl2_sys::SDL_SensorGetInstanceID
source ยท pub unsafe extern "C" fn SDL_SensorGetInstanceID(
sensor: *mut SDL_Sensor,
) -> SDL_SensorID
Expand description
Get the instance ID of a sensor.
\param sensor The SDL_Sensor object to inspect
\returns the sensor instance ID, or -1 if sensor
is NULL.
\since This function is available since SDL 2.0.9.