pub unsafe extern "C" fn libinput_device_has_capability(
    device: *mut libinput_device,
    capability: u32
) -> i32
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