Lines Matching refs:device
43 struct libinput_device *device = dev->libinput_device;
45 ck_assert(libinput_device_has_capability(device,
54 struct libinput_device *device = dev->libinput_device;
56 ck_assert(!libinput_device_has_capability(device,
130 struct libinput_device *device = dev->libinput_device;
145 nb = libinput_device_tablet_pad_get_num_buttons(device);
158 struct libinput_device *device = dev->libinput_device;
172 ck_assert_int_eq(libinput_device_tablet_pad_get_num_buttons(device),
392 struct libinput_device *device = dev->libinput_device;
395 nrings = libinput_device_tablet_pad_get_num_rings(device);
492 struct libinput_device *device = dev->libinput_device;
495 nstrips = libinput_device_tablet_pad_get_num_strips(device);
585 struct libinput_device *device = dev->libinput_device;
588 ck_assert(libinput_device_config_left_handed_is_available(device));
590 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
592 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
598 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
600 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
606 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
608 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
618 struct libinput_device *device = dev->libinput_device;
623 ck_assert(!libinput_device_config_left_handed_is_available(device));
625 ck_assert(libinput_device_config_left_handed_is_available(device));
628 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
630 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
637 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
639 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
645 ck_assert_int_eq(libinput_device_config_left_handed_get(device),
647 ck_assert_int_eq(libinput_device_config_left_handed_get_default(device),
702 struct libinput_device *device = dev->libinput_device;
707 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device);
711 group = libinput_device_tablet_pad_get_mode_group(device, i);
717 group = libinput_device_tablet_pad_get_mode_group(device, ngroups);
719 group = libinput_device_tablet_pad_get_mode_group(device, ngroups + 1);
727 struct libinput_device *device = dev->libinput_device;
732 group = libinput_device_tablet_pad_get_mode_group(device, 0);
748 struct libinput_device *device = dev->libinput_device;
751 group = libinput_device_tablet_pad_get_mode_group(device, 0);
765 struct libinput_device *device = dev->libinput_device;
770 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device);
773 group = libinput_device_tablet_pad_get_mode_group(device, 0);
786 struct libinput_device *device = dev->libinput_device;
791 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device);
794 nbuttons = libinput_device_tablet_pad_get_num_buttons(device);
795 nrings = libinput_device_tablet_pad_get_num_rings(device);
796 nstrips = libinput_device_tablet_pad_get_num_strips(device);
801 group = libinput_device_tablet_pad_get_mode_group(device,
815 group = libinput_device_tablet_pad_get_mode_group(device,
829 group = libinput_device_tablet_pad_get_mode_group(device,
845 struct libinput_device *device = dev->libinput_device;
851 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device);
854 nbuttons = libinput_device_tablet_pad_get_num_buttons(device);
855 nrings = libinput_device_tablet_pad_get_num_rings(device);
856 nstrips = libinput_device_tablet_pad_get_num_strips(device);
859 group = libinput_device_tablet_pad_get_mode_group(device, i);
872 group = libinput_device_tablet_pad_get_mode_group(device, i);
885 group = libinput_device_tablet_pad_get_mode_group(device, i);
902 struct libinput_device *device = dev->libinput_device;
907 ngroups = libinput_device_tablet_pad_get_num_mode_groups(device);
911 nbuttons = libinput_device_tablet_pad_get_num_buttons(device);
913 group = libinput_device_tablet_pad_get_mode_group(device, i);