Get the type of a sensor.
SDL_SensorType SDL_SensorGetDeviceType(int device_index);
Returns the SDL_SensorType, or SDL_SENSOR_INVALID if device_index is out of range.
SDL_SENSOR_INVALID
device_index
This function is available since SDL 2.0.9.
CategoryAPI