pub unsafe extern "C" fn SDL_GetSensorID(
sensor: *mut SDL_Sensor,
) -> SDL_SensorIDExpand description
Get the instance ID of a sensor.
Parameter: sensor the SDL_Sensor object to inspect. Returns: the sensor instance ID, or 0 on failure; call SDL_GetError() for more information.
Available Since: This function is available since SDL 3.2.0.