SDL_GetSensorNonPortableType

Get the platform dependent type of a sensor.

extern (C) nothrow @nogc extern
int
SDL_GetSensorNonPortableType

Parameters

sensor SDL_Sensor*

the SDL_Sensor object to inspect.

Return Value

Type: int

The sensor platform dependent type, or -1 if sensor is NULL.

Meta