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