SDL_GetSensorTypeForID

Get the type of a sensor.

This can be called before any sensors are opened.

extern (C) nothrow @nogc extern
SDL_GetSensorTypeForID

Parameters

instance_id SDL_SensorID

the sensor instance ID.

Return Value

The SDL_SensorType, or SDL_SENSOR_INVALID if instance_id is not valid.

Meta