SDL_GetSensorNameForID

Get the implementation dependent name of a sensor.

This can be called before any sensors are opened.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetSensorNameForID

Parameters

instance_id SDL_SensorID

the sensor instance ID.

Return Value

Type: const(char)*

The sensor name, or NULL if instance_id is not valid.

Meta