Function libinput_device_get_name
pub unsafe extern "C" fn libinput_device_get_name(
device: *mut libinput_device,
) -> *const i8
Expand description
@ingroup device
The descriptive device name as advertised by the kernel and/or the hardware itself. To get the sysname for this device, use libinput_device_get_sysname().
The lifetime of the returned string is tied to the struct libinput_device. The string may be the empty string but is never NULL.
@param device A previously obtained device @return The device name