SDL_SensorGetNonPortableType
Get the platform dependent type of a sensor.
Syntax
Toggle line numbers
int SDL_SensorGetNonPortableType(SDL_Sensor *sensor);
Function Parameters
sensor |
The SDL_Sensor object to inspect |
Return Value
The sensor platform dependent type, or -1 if the sensor is NULL.