Function input_sys::libinput_device_has_capability [] [src]

pub unsafe extern fn libinput_device_has_capability(device: *mut libinput_device,
                                                    capability: libinput_device_capability)
                                                    -> c_int

@ingroup device

Check if the given device has the specified capability

@return Non-zero if the given device has the capability or zero otherwise