libinput_device_has_capability

Function libinput_device_has_capability 

Source
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