Get the platform dependent type of a sensor.
Defined in <SDL3/SDL_sensor.h>
int SDL_GetSensorNonPortableType(SDL_Sensor *sensor);
SDL_Sensor * | sensor | the SDL_Sensor object to inspect. |
(int) Returns the sensor platform dependent type, or -1 if sensor
is NULL.
This function is available since SDL 3.1.3.