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