Function sdl2_sys::SDL_SensorGetDeviceName
source ยท pub unsafe extern "C" fn SDL_SensorGetDeviceName(
device_index: c_int,
) -> *const c_char
Expand description
\brief Get the implementation dependent name of a sensor.
This can be called before any sensors are opened.
\return The sensor name, or NULL if device_index is out of range.