SDL_GetSensorFromID

Return the SDL_Sensor associated with an instance ID.

extern (C) nothrow @nogc extern
SDL_GetSensorFromID

Parameters

instance_id SDL_SensorID

the sensor instance ID.

Return Value

Type: SDL_Sensor*

An SDL_Sensor object or NULL on failure; call SDL_GetError() for more information.

Meta