Lines Matching refs:dev

61 	struct libinput_device *dev = libinput_event_get_device(ev);
166 prefix = (last_device != dev) ? '-' : ' ';
170 libinput_device_get_sysname(dev),
173 last_device = dev;
183 print_device_options(struct libinput_device *dev)
187 if (libinput_device_config_tap_get_finger_count(dev)) {
189 if (libinput_device_config_tap_get_drag_lock_enabled(dev))
194 if (libinput_device_config_left_handed_is_available(dev))
196 if (libinput_device_config_scroll_has_natural_scroll(dev))
198 if (libinput_device_config_calibration_has_matrix(dev))
201 scroll_methods = libinput_device_config_scroll_get_methods(dev);
212 click_methods = libinput_device_config_click_get_methods(dev);
221 if (libinput_device_config_dwt_is_available(dev)) {
222 if (libinput_device_config_dwt_get_enabled(dev) ==
229 if (libinput_device_config_dwtp_is_available(dev)) {
230 if (libinput_device_config_dwtp_get_enabled(dev) ==
237 if (libinput_device_has_capability(dev,
241 nbuttons = libinput_device_tablet_pad_get_num_buttons(dev);
242 nstrips = libinput_device_tablet_pad_get_num_strips(dev);
243 nrings = libinput_device_tablet_pad_get_num_rings(dev);
244 ngroups = libinput_device_tablet_pad_get_num_mode_groups(dev);
257 struct libinput_device *dev = libinput_event_get_device(ev);
258 struct libinput_seat *seat = libinput_device_get_seat(dev);
264 group = libinput_device_get_device_group(dev);
272 libinput_device_get_name(dev),
278 if (libinput_device_has_capability(dev,
281 if (libinput_device_has_capability(dev,
284 if (libinput_device_has_capability(dev,
287 if (libinput_device_has_capability(dev,
290 if (libinput_device_has_capability(dev,
293 if (libinput_device_has_capability(dev,
296 if (libinput_device_has_capability(dev,
300 if (libinput_device_get_size(dev, &w, &h) == 0)
303 if (libinput_device_has_capability(dev,
305 printq(" ntouches %d", libinput_device_touch_get_touch_count(dev));
308 print_device_options(dev);
996 printf("Usage: libinput debug-events [options] [--udev <seat>|--device /dev/input/event0 ...]\n");