SDL_GetSensorType

Get the type of a sensor.

extern (C) nothrow @nogc extern
SDL_GetSensorType

Parameters

sensor SDL_Sensor*

the SDL_Sensor object to inspect.

Return Value

The SDL_SensorType type, or SDL_SENSOR_INVALID if sensor is NULL.

Meta