SDL_GetSensorNonPortableTypeForID

Get the platform dependent type of a sensor.

This can be called before any sensors are opened.

extern (C) nothrow @nogc extern
int
SDL_GetSensorNonPortableTypeForID

Parameters

instance_id SDL_SensorID

the sensor instance ID.

Return Value

Type: int

The sensor platform dependent type, or -1 if instance_id is not valid.

Meta