Function sdl2_sys::SDL_SensorGetDeviceNonPortableType
source ยท pub unsafe extern "C" fn SDL_SensorGetDeviceNonPortableType(
device_index: c_int,
) -> c_int
Expand description
Get the platform dependent type of a sensor.
\param device_index The sensor to check
\returns the sensor platform dependent type, or -1 if device_index
is out
of range.
\since This function is available since SDL 2.0.9.