sdlSensorGetNonPortableType function
Get the platform dependent type of a sensor.
\param sensor The SDL_Sensor object to inspect
\returns the sensor platform dependent type, or -1 if sensor
is NULL.
\since This function is available since SDL 2.0.9.
extern DECLSPEC int SDLCALL SDL_SensorGetNonPortableType(SDL_Sensor *sensor)
Implementation
int sdlSensorGetNonPortableType(Pointer<SdlSensor> sensor) {
final sdlSensorGetNonPortableTypeLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlSensor> sensor),
int Function(Pointer<SdlSensor> sensor)>('SDL_SensorGetNonPortableType');
return sdlSensorGetNonPortableTypeLookupFunction(sensor);
}