Get the platform dependent type of a sensor.
Defined in SDL_sensor.h
int SDL_SensorGetDeviceNonPortableType(int device_index);
int | device_index | The sensor to check. |
(int) Returns the sensor platform dependent type, or -1 if device_index
is out of range.
This function is available since SDL 2.0.9.