Get the instance ID of a sensor.
Defined in SDL_sensor.h
SDL_SensorID SDL_SensorGetDeviceInstanceID(int device_index);| int | device_index | The sensor to get instance id from. |
(SDL_SensorID) Returns the sensor instance ID, or -1 if device_index is out of range.
This function is available since SDL 2.0.9.