/* Get the platform dependent type of this sensor  */
int SDL_SensorGetNonPortableType(SDL_Sensor *sensor)
/* Get the platform dependent type of this sensor  */
int SDL_SensorGetNonPortableType(SDL_Sensor *sensor)
{
    if (!SDL_PrivateSensorValid(sensor)) {
        return -1;
    }
    return sensor->non_portable_type;
}