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