Get the platform dependent type of a sensor.
Defined in <SDL3/SDL_sensor.h>
int SDL_GetSensorNonPortableTypeForID(SDL_SensorID instance_id);
SDL_SensorID | instance_id | the sensor instance ID. |
(int) Returns the sensor platform dependent type, or -1 if instance_id
is not valid.
This can be called before any sensors are opened.
This function is available since SDL 3.1.3.