Home
last modified time | relevance | path

Searched refs:BTN_LEFT (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/libinput/test/
Dtest-touchpad-buttons.c40 if (!libevdev_has_event_code(dev->evdev, EV_KEY, BTN_LEFT)) in START_TEST()
45 litest_button_click(dev, BTN_LEFT, true); in START_TEST()
48 BTN_LEFT, in START_TEST()
50 litest_button_click(dev, BTN_LEFT, false); in START_TEST()
53 BTN_LEFT, in START_TEST()
152 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
154 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
160 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
162 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
176 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
[all …]
Dtest-pointer.c386 test_button_event(dev, BTN_LEFT, 1); in START_TEST()
387 test_button_event(dev, BTN_LEFT, 0); in START_TEST()
390 test_button_event(dev, BTN_LEFT, 1); in START_TEST()
391 test_button_event(dev, BTN_LEFT, 0); in START_TEST()
419 { .code = BTN_LEFT, }, in START_TEST()
506 for (code = BTN_LEFT; code < KEY_OK; code++) in START_TEST()
522 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
525 BTN_LEFT, in START_TEST()
530 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
535 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
[all …]
Dtest-touchpad-tap.c49 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
52 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
81 button = BTN_LEFT; in START_TEST()
94 button2 = BTN_LEFT; in START_TEST()
221 button = BTN_LEFT; in START_TEST()
311 button = BTN_LEFT; in START_TEST()
423 button = BTN_LEFT; in START_TEST()
537 button = BTN_LEFT; in START_TEST()
581 litest_button_click(dev, BTN_LEFT, true); in START_TEST()
582 litest_button_click(dev, BTN_LEFT, false); in START_TEST()
[all …]
Dtest-trackpoint.c190 litest_button_click_debounced(touchpad, li, BTN_LEFT, true); in START_TEST()
201 litest_button_click_debounced(touchpad, li, BTN_LEFT, false); in START_TEST()
235 litest_button_click_debounced(touchpad, li, BTN_LEFT, true); in START_TEST()
239 litest_is_button_event(event, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
244 litest_button_click_debounced(touchpad, li, BTN_LEFT, false); in START_TEST()
248 BTN_LEFT, in START_TEST()
281 litest_button_click_debounced(touchpad, li, BTN_LEFT, true); in START_TEST()
292 litest_button_click_debounced(touchpad, li, BTN_LEFT, false); in START_TEST()
Dtest-touchpad.c1129 litest_button_click(dev, BTN_LEFT, true); in START_TEST()
1154 litest_button_click(dev, BTN_LEFT, false); in START_TEST()
1179 litest_button_click(dev, BTN_LEFT, true); in START_TEST()
1189 BTN_LEFT, in START_TEST()
1199 litest_button_click(dev, BTN_LEFT, false); in START_TEST()
1625 BTN_LEFT, in START_TEST()
1628 BTN_LEFT, in START_TEST()
1638 BTN_LEFT, in START_TEST()
1641 BTN_LEFT, in START_TEST()
1838 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
[all …]
Dtest-path.c236 EV_KEY, BTN_LEFT, in START_TEST()
573 EV_KEY, BTN_LEFT, in START_TEST()
603 EV_KEY, BTN_LEFT, in START_TEST()
634 EV_KEY, BTN_LEFT, in START_TEST()
667 EV_KEY, BTN_LEFT, in START_TEST()
673 EV_KEY, BTN_LEFT, in START_TEST()
745 EV_KEY, BTN_LEFT, in START_TEST()
751 EV_KEY, BTN_LEFT, in START_TEST()
832 EV_KEY, BTN_LEFT, in START_TEST()
838 EV_KEY, BTN_LEFT, in START_TEST()
[all …]
Dtest-device.c506 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
520 BTN_LEFT); in START_TEST()
590 BTN_LEFT, in START_TEST()
593 BTN_LEFT, in START_TEST()
637 BTN_LEFT, in START_TEST()
640 BTN_LEFT, in START_TEST()
659 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
676 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
712 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
713 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
[all …]
Dtest-misc.c104 EV_KEY, BTN_LEFT, in START_TEST()
106 EV_KEY, BTN_LEFT, in START_TEST()
169 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
218 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
614 EV_KEY, BTN_LEFT, in START_TEST()
616 EV_KEY, BTN_LEFT, in START_TEST()
754 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
756 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
794 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
796 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
Dlitest-device-tablet-mode-switch.c39 EV_KEY, BTN_LEFT,
Dlitest-device-trackpoint.c36 EV_KEY, BTN_LEFT,
Dlitest-device-mouse.c36 EV_KEY, BTN_LEFT,
Dlitest-device-mouse-wheel-click-angle.c36 EV_KEY, BTN_LEFT,
Dlitest-device-logitech-trackball.c36 EV_KEY, BTN_LEFT,
Dlitest-device-format-string.c37 EV_KEY, BTN_LEFT,
Dlitest-device-ignored-mouse.c36 EV_KEY, BTN_LEFT,
Dlitest-device-mouse-wheel-click-count.c36 EV_KEY, BTN_LEFT,
Dlitest-device-mouse-wheel-tilt.c36 EV_KEY, BTN_LEFT,
Dlitest-device-ms-nano-transceiver-mouse.c36 EV_KEY, BTN_LEFT,
Dlitest-device-mouse-low-dpi.c36 EV_KEY, BTN_LEFT,
Dlitest-device-cyborg-rat-5.c36 EV_KEY, BTN_LEFT,
/third_party/libevdev/test/
Dtest-libevdev-events.c26 EV_KEY, BTN_LEFT, in START_TEST()
32 uinput_device_event(uidev, EV_KEY, BTN_LEFT, 1); in START_TEST()
36 assert_event(&ev, EV_KEY, BTN_LEFT, 1); in START_TEST()
61 EV_KEY, BTN_LEFT, in START_TEST()
92 EV_KEY, BTN_LEFT, in START_TEST()
100 uinput_device_event(uidev, EV_KEY, BTN_LEFT, 1); in START_TEST()
104 assert_event(&ev, EV_KEY, BTN_LEFT, 1); in START_TEST()
124 EV_KEY, BTN_LEFT, in START_TEST()
134 uinput_device_event(uidev, EV_KEY, BTN_LEFT, 1); in START_TEST()
138 assert_event(&ev, EV_KEY, BTN_LEFT, 1); in START_TEST()
[all …]
Dtest-libevdev-init.c70 EV_KEY, BTN_LEFT, in START_TEST()
342 EV_KEY, BTN_LEFT, in START_TEST()
370 EV_KEY, BTN_LEFT, in START_TEST()
395 EV_KEY, BTN_LEFT, in START_TEST()
439 EV_KEY, BTN_LEFT, in START_TEST()
467 libevdev_enable_event_code(dev, EV_KEY, BTN_LEFT, NULL); in START_TEST()
553 EV_KEY, BTN_LEFT, in START_TEST()
596 EV_KEY, BTN_LEFT, in START_TEST()
624 EV_KEY, BTN_LEFT, in START_TEST()
Dtest-kernel.c34 EV_KEY, BTN_LEFT, in START_TEST()
98 EV_KEY, BTN_LEFT, in START_TEST()
126 EV_KEY, BTN_LEFT, in START_TEST()
/third_party/libinput/src/
Devdev-middle-button.c184 BTN_LEFT, in evdev_middlebutton_ldown_handle_event()
196 BTN_LEFT, in evdev_middlebutton_ldown_handle_event()
199 BTN_LEFT, in evdev_middlebutton_ldown_handle_event()
206 BTN_LEFT, in evdev_middlebutton_ldown_handle_event()
586 unsigned int bit = (button - BTN_LEFT); in evdev_middlebutton_filter_button()
593 case BTN_LEFT: in evdev_middlebutton_filter_button()
614 if (button < BTN_LEFT || in evdev_middlebutton_filter_button()
Devdev-mt-touchpad-buttons.c595 uint32_t mask = 1 << (e->code - BTN_LEFT); in tp_process_button()
598 if (tp->buttons.is_clickpad && e->code != BTN_LEFT) { in tp_process_button()
925 bool has_left = libevdev_has_event_code(device->evdev, EV_KEY, BTN_LEFT), in tp_guess_clickpad()
1022 button = BTN_LEFT; in tp_post_physical_buttons()
1145 case 1: button = BTN_LEFT; break; in tp_clickfinger_set_button()
1271 button = BTN_LEFT; in tp_post_clickpadbutton_buttons()
1273 button = BTN_LEFT; in tp_post_clickpadbutton_buttons()

1234