Function fermium::sensor::SDL_SensorGetDeviceNonPortableType [−][src]
pub unsafe extern "C" fn SDL_SensorGetDeviceNonPortableType(
device_index: c_int
) -> c_int
Get the platform dependent type of a sensor.
This can be called before any sensors are opened.
Returns: The sensor platform dependent type, or -1 if device_index
is out of range.