Function fermium::sensor::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.
This can be called before any sensors are opened.
Returns: The sensor instance ID, or -1 if the sensor is NULL.