SDL_SensorGetInstanceID
Get the instance ID of a sensor.
Syntax
SDL_SensorID SDL_SensorGetInstanceID(SDL_Sensor *sensor);
Function Parameters
sensor |
The SDL_Sensor object to inspect |
Return Value
The sensor instance ID, or -1 if the sensor is NULL.