Function input_sys::libinput_device_has_capability [−][src]
pub unsafe extern "C" fn libinput_device_has_capability(
device: *mut libinput_device,
capability: libinput_device_capability
) -> c_int
Expand description
@ingroup device
Check if the given device has the specified capability
@return Non-zero if the given device has the capability or zero otherwise