SDL_GetSensorID

Get the instance ID of a sensor.

extern (C) nothrow @nogc extern
SDL_GetSensorID

Parameters

sensor SDL_Sensor*

the SDL_Sensor object to inspect.

Return Value

The sensor instance ID, or 0 on failure; call SDL_GetError() for more information.

Meta