/third_party/libinput/test/ |
D | test-touchpad-buttons.c | 40 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 …]
|
D | test-pointer.c | 386 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 …]
|
D | test-touchpad-tap.c | 49 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 …]
|
D | test-trackpoint.c | 190 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()
|
D | test-touchpad.c | 1129 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 …]
|
D | test-path.c | 236 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 …]
|
D | test-device.c | 506 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 …]
|
D | test-misc.c | 104 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()
|
D | litest-device-tablet-mode-switch.c | 39 EV_KEY, BTN_LEFT,
|
D | litest-device-trackpoint.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-mouse.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-mouse-wheel-click-angle.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-logitech-trackball.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-format-string.c | 37 EV_KEY, BTN_LEFT,
|
D | litest-device-ignored-mouse.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-mouse-wheel-click-count.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-mouse-wheel-tilt.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-ms-nano-transceiver-mouse.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-mouse-low-dpi.c | 36 EV_KEY, BTN_LEFT,
|
D | litest-device-cyborg-rat-5.c | 36 EV_KEY, BTN_LEFT,
|
/third_party/libevdev/test/ |
D | test-libevdev-events.c | 26 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 …]
|
D | test-libevdev-init.c | 70 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()
|
D | test-kernel.c | 34 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/ |
D | evdev-middle-button.c | 184 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()
|
D | evdev-mt-touchpad-buttons.c | 595 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()
|