Function fermium::sensor::SDL_SensorGetNonPortableType
source · pub unsafe extern "C" fn SDL_SensorGetNonPortableType(
sensor: *mut SDL_Sensor
) -> c_int
Expand description
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 the sensor is NULL.