Lines Matching refs:touchpad

43 			 struct litest_device *touchpad)
47 if (libevdev_get_id_vendor(touchpad->evdev) == VENDOR_ID_APPLE)
50 if (libevdev_get_id_vendor(touchpad->evdev) == VENDOR_ID_CHICONY)
1666 /* Taps in each of the 4 corners of the touchpad, all
2158 struct litest_device *touchpad = litest_current_device();
2160 struct libinput *li = touchpad->libinput;
2166 if (!touchpad_has_palm_pressure(touchpad))
2169 keyboard = dwt_init_paired_keyboard(li, touchpad);
2170 litest_disable_tap(touchpad->libinput_device);
2171 litest_disable_hold_gestures(touchpad->libinput_device);
2179 litest_touch_down(touchpad, 0, 50, 50);
2180 litest_touch_move_to_extended(touchpad, 0, 50, 50, 20, 50, axes, 20);
2188 litest_touch_move_to_extended(touchpad, 0, 20, 50, 50, 50, axes, 20);
2189 litest_touch_up(touchpad, 0);
3369 struct litest_device *touchpad = litest_current_device();
3371 struct libinput *li = touchpad->libinput;
3390 litest_button_click_debounced(touchpad, li, b->device_value, true);
3395 litest_button_click_debounced(touchpad, li, b->device_value, false);
3408 struct litest_device *touchpad = litest_current_device();
3410 struct libinput *li = touchpad->libinput;
3416 litest_button_click(touchpad, BTN_2, true); /* middle */
3428 litest_button_click(touchpad, BTN_2, false);
3439 struct litest_device *touchpad = litest_current_device();
3441 struct libinput *li = touchpad->libinput;
3452 litest_button_click_debounced(touchpad, li, BTN_2, true); /* middle */
3453 litest_button_click_debounced(touchpad, li, BTN_2, false);
3467 struct litest_device *touchpad = litest_current_device();
3469 struct libinput *li = touchpad->libinput;
3476 litest_touch_down(touchpad, 0, 95, 90);
3477 litest_button_click_debounced(touchpad, li, BTN_LEFT, true);
3478 litest_button_click_debounced(touchpad, li, BTN_1, true);
3479 litest_button_click_debounced(touchpad, li, BTN_LEFT, false);
3480 litest_touch_up(touchpad, 0);
3481 litest_button_click_debounced(touchpad, li, BTN_1, false);
3483 assert_btnevent_from_device(touchpad,
3489 assert_btnevent_from_device(touchpad,
3496 litest_touch_down(touchpad, 0, 95, 90);
3497 litest_button_click_debounced(touchpad, li, BTN_LEFT, true);
3498 litest_button_click_debounced(touchpad, li, BTN_1, true);
3499 litest_button_click_debounced(touchpad, li, BTN_1, false);
3500 litest_button_click_debounced(touchpad, li, BTN_LEFT, false);
3501 litest_touch_up(touchpad, 0);
3503 assert_btnevent_from_device(touchpad,
3512 assert_btnevent_from_device(touchpad,
3522 struct litest_device *touchpad = litest_current_device();
3524 struct libinput *li = touchpad->libinput;
3533 litest_touch_down(touchpad, 0, 40, 70);
3534 litest_touch_down(touchpad, 1, 60, 70);
3535 litest_touch_move_two_touches(touchpad, 40, 70, 60, 70, 0, -40, 10);
3554 litest_button_click_debounced(touchpad, li, BTN_1, true);
3559 litest_touch_move_to(touchpad, 0, 40, 30, 40, 70, 10);
3560 litest_touch_move_to(touchpad, 1, 60, 30, 60, 70, 10);
3577 litest_button_click_debounced(touchpad, li, BTN_1, false);
3588 litest_touch_move_to(touchpad, 0, 40, 70, 40, 60, 10);
3589 litest_touch_move_to(touchpad, 1, 60, 70, 60, 60, 10);
3591 litest_touch_move_to(touchpad, 0, 40, 60, 40, 30, 10);
3592 litest_touch_move_to(touchpad, 1, 60, 60, 60, 30, 10);
3594 litest_touch_up(touchpad, 0);
3595 litest_touch_up(touchpad, 1);
3610 struct litest_device *touchpad = litest_current_device();
3611 struct libinput *li = touchpad->libinput;
3614 litest_button_click(touchpad, BTN_0, true); /* left */
3615 litest_button_click(touchpad, BTN_0, false);
3618 litest_button_click(touchpad, BTN_1, true); /* right */
3619 litest_button_click(touchpad, BTN_1, false);
3622 litest_button_click(touchpad, BTN_2, true); /* middle */
3623 litest_button_click(touchpad, BTN_2, false);
3753 * touchpad unusable, see #422. This test just checks that we can still move
3760 * touchpad and release one or two of them. But since this needs to be fixed
3809 struct litest_device *touchpad = litest_current_device();
3811 struct libinput *li = touchpad->libinput;
3813 if (!has_disable_while_typing(touchpad))
3816 keyboard = dwt_init_paired_keyboard(li, touchpad);
3817 litest_disable_tap(touchpad->libinput_device);
3818 litest_disable_hold_gestures(touchpad->libinput_device);
3824 litest_touch_down(touchpad, 0, 50, 50);
3825 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
3826 litest_touch_up(touchpad, 0);
3834 litest_touch_down(touchpad, 0, 50, 50);
3835 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
3836 litest_touch_up(touchpad, 0);
3846 struct litest_device *touchpad = litest_current_device();
3848 struct libinput *li = touchpad->libinput;
3850 if (!has_disable_while_typing(touchpad))
3853 litest_disable_tap(touchpad->libinput_device);
3854 litest_disable_hold_gestures(touchpad->libinput_device);
3860 keyboard = dwt_init_paired_keyboard(li, touchpad);
3866 litest_touch_down(touchpad, 0, 50, 50);
3867 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
3868 litest_touch_up(touchpad, 0);
3876 litest_touch_down(touchpad, 0, 50, 50);
3877 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
3878 litest_touch_up(touchpad, 0);
3889 struct litest_device *touchpad = litest_current_device();
3891 struct libinput *li = touchpad->libinput;
3893 if (!has_disable_while_typing(touchpad))
3896 keyboard = dwt_init_paired_keyboard(li, touchpad);
3897 litest_disable_tap(touchpad->libinput_device);
3898 litest_disable_hold_gestures(touchpad->libinput_device);
3909 litest_touch_down(touchpad, 0, 50, 50);
3910 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
3917 litest_touch_move_to(touchpad, 0, 70, 50, 50, 50, 10);
3918 litest_touch_up(touchpad, 0);
3928 struct litest_device *touchpad = litest_current_device();
3930 struct libinput *li = touchpad->libinput;
3932 if (!has_disable_while_typing(touchpad))
3935 keyboard = dwt_init_paired_keyboard(li, touchpad);
3936 litest_disable_tap(touchpad->libinput_device);
3937 litest_disable_hold_gestures(touchpad->libinput_device);
3942 litest_touch_down(touchpad, 0, 50, 50);
3943 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
3950 litest_touch_move_to(touchpad, 0, 70, 50, 30, 50, 5);
3956 litest_touch_move_to(touchpad, 0, 30, 50, 50, 50, 5);
3957 litest_touch_up(touchpad, 0);
3966 struct litest_device *touchpad = litest_current_device();
3968 struct libinput *li = touchpad->libinput;
3970 if (!has_disable_while_typing(touchpad))
3973 keyboard = dwt_init_paired_keyboard(li, touchpad);
3974 litest_disable_tap(touchpad->libinput_device);
3975 litest_disable_hold_gestures(touchpad->libinput_device);
3980 litest_touch_down(touchpad, 0, 50, 50);
3981 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
3982 litest_touch_up(touchpad, 0);
3994 struct litest_device *touchpad = litest_current_device();
3996 struct libinput *li = touchpad->libinput;
3998 if (!has_disable_while_typing(touchpad))
4001 keyboard = dwt_init_paired_keyboard(li, touchpad);
4002 litest_disable_tap(touchpad->libinput_device);
4003 litest_disable_hold_gestures(touchpad->libinput_device);
4011 litest_touch_down(touchpad, 0, 50, 50);
4012 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4013 litest_touch_up(touchpad, 0);
4020 litest_touch_down(touchpad, 0, 50, 50);
4021 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4022 litest_touch_up(touchpad, 0);
4028 litest_touch_down(touchpad, 0, 50, 50);
4029 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4030 litest_touch_up(touchpad, 0);
4039 struct litest_device *touchpad = litest_current_device();
4041 struct libinput *li = touchpad->libinput;
4043 if (!has_disable_while_typing(touchpad))
4051 keyboard = dwt_init_paired_keyboard(li, touchpad);
4052 litest_disable_tap(touchpad->libinput_device);
4053 litest_disable_hold_gestures(touchpad->libinput_device);
4063 litest_touch_down(touchpad, 0, 50, 50);
4064 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4071 litest_touch_move_to(touchpad, 0, 70, 50, 50, 50, 5);
4082 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4083 litest_touch_up(touchpad, 0);
4095 struct litest_device *touchpad = litest_current_device();
4097 struct libinput *li = touchpad->libinput;
4099 if (!has_disable_while_typing(touchpad))
4102 keyboard = dwt_init_paired_keyboard(li, touchpad);
4103 litest_disable_tap(touchpad->libinput_device);
4104 litest_disable_hold_gestures(touchpad->libinput_device);
4110 litest_touch_down(touchpad, 0, 50, 50);
4111 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4121 litest_touch_move_to(touchpad, 0, 70, 50, 50, 50, 5);
4126 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4127 litest_touch_up(touchpad, 0);
4136 struct litest_device *touchpad = litest_current_device();
4138 struct libinput *li = touchpad->libinput;
4141 if (!has_disable_while_typing(touchpad))
4144 keyboard = dwt_init_paired_keyboard(li, touchpad);
4145 litest_disable_tap(touchpad->libinput_device);
4146 litest_disable_hold_gestures(touchpad->libinput_device);
4157 litest_touch_down(touchpad, 0, 50, 50);
4158 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4159 litest_touch_up(touchpad, 0);
4164 litest_touch_down(touchpad, 0, 50, 50);
4165 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4166 litest_touch_up(touchpad, 0);
4175 struct litest_device *touchpad = litest_current_device();
4177 struct libinput *li = touchpad->libinput;
4180 if (!has_disable_while_typing(touchpad))
4183 keyboard = dwt_init_paired_keyboard(li, touchpad);
4184 litest_disable_tap(touchpad->libinput_device);
4185 litest_disable_hold_gestures(touchpad->libinput_device);
4196 litest_touch_down(touchpad, 0, 50, 50);
4197 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4198 litest_touch_up(touchpad, 0);
4203 litest_touch_down(touchpad, 0, 50, 50);
4204 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4205 litest_touch_up(touchpad, 0);
4214 struct litest_device *touchpad = litest_current_device();
4216 struct libinput *li = touchpad->libinput;
4235 if (!has_disable_while_typing(touchpad))
4238 keyboard = dwt_init_paired_keyboard(li, touchpad);
4239 litest_disable_tap(touchpad->libinput_device);
4240 litest_disable_hold_gestures(touchpad->libinput_device);
4250 litest_touch_down(touchpad, 0, 50, 50);
4251 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4252 litest_touch_up(touchpad, 0);
4262 struct litest_device *touchpad = litest_current_device();
4264 struct libinput *li = touchpad->libinput;
4280 if (!has_disable_while_typing(touchpad))
4283 keyboard = dwt_init_paired_keyboard(li, touchpad);
4284 litest_disable_tap(touchpad->libinput_device);
4285 litest_disable_hold_gestures(touchpad->libinput_device);
4299 litest_touch_down(touchpad, 0, 50, 50);
4300 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4301 litest_touch_up(touchpad, 0);
4311 struct litest_device *touchpad = litest_current_device();
4313 struct libinput *li = touchpad->libinput;
4329 if (!has_disable_while_typing(touchpad))
4332 keyboard = dwt_init_paired_keyboard(li, touchpad);
4333 litest_disable_tap(touchpad->libinput_device);
4334 litest_disable_hold_gestures(touchpad->libinput_device);
4349 litest_touch_down(touchpad, 0, 50, 50);
4350 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4351 litest_touch_up(touchpad, 0);
4364 struct litest_device *touchpad = litest_current_device();
4366 struct libinput *li = touchpad->libinput;
4382 if (!has_disable_while_typing(touchpad))
4385 keyboard = dwt_init_paired_keyboard(li, touchpad);
4386 litest_disable_tap(touchpad->libinput_device);
4387 litest_disable_hold_gestures(touchpad->libinput_device);
4410 litest_touch_down(touchpad, 0, 50, 50);
4411 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4412 litest_touch_up(touchpad, 0);
4425 struct litest_device *touchpad = litest_current_device();
4427 struct libinput *li = touchpad->libinput;
4430 if (!has_disable_while_typing(touchpad))
4433 keyboard = dwt_init_paired_keyboard(li, touchpad);
4434 litest_disable_tap(touchpad->libinput_device);
4435 litest_disable_hold_gestures(touchpad->libinput_device);
4449 litest_touch_down(touchpad, 0, 50, 50);
4450 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4451 litest_touch_up(touchpad, 0);
4461 struct litest_device *touchpad = litest_current_device();
4463 struct libinput *li = touchpad->libinput;
4465 if (!has_disable_while_typing(touchpad))
4468 keyboard = dwt_init_paired_keyboard(li, touchpad);
4469 litest_enable_tap(touchpad->libinput_device);
4470 litest_disable_hold_gestures(touchpad->libinput_device);
4475 litest_touch_down(touchpad, 0, 50, 50);
4476 litest_touch_up(touchpad, 0);
4482 litest_touch_down(touchpad, 0, 50, 50);
4483 litest_touch_up(touchpad, 0);
4492 struct litest_device *touchpad = litest_current_device();
4494 struct libinput *li = touchpad->libinput;
4496 if (!has_disable_while_typing(touchpad))
4499 keyboard = dwt_init_paired_keyboard(li, touchpad);
4500 litest_enable_tap(touchpad->libinput_device);
4501 litest_disable_hold_gestures(touchpad->libinput_device);
4507 litest_touch_down(touchpad, 0, 50, 50);
4508 litest_touch_up(touchpad, 0);
4509 litest_touch_down(touchpad, 0, 50, 50);
4510 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
4517 litest_touch_move_to(touchpad, 0, 70, 50, 50, 50, 5);
4518 litest_touch_up(touchpad, 0);
4527 struct litest_device *touchpad = litest_current_device();
4529 struct libinput *li = touchpad->libinput;
4531 if (!has_disable_while_typing(touchpad))
4534 keyboard = dwt_init_paired_keyboard(li, touchpad);
4535 litest_disable_tap(touchpad->libinput_device);
4536 litest_disable_hold_gestures(touchpad->libinput_device);
4542 litest_touch_down(touchpad, 0, 50, 50);
4543 litest_button_click(touchpad, BTN_LEFT, true);
4544 litest_button_click(touchpad, BTN_LEFT, false);
4546 litest_touch_up(touchpad, 0);
4559 struct litest_device *touchpad = litest_current_device();
4561 struct libinput *li = touchpad->libinput;
4563 if (!has_disable_while_typing(touchpad))
4566 litest_enable_edge_scroll(touchpad);
4568 keyboard = dwt_init_paired_keyboard(li, touchpad);
4577 litest_touch_down(touchpad, 0, 99, 20);
4590 litest_touch_move_to(touchpad, 0, 99, 20, 99, 80, 60);
4594 litest_touch_move_to(touchpad, 0, 99, 80, 99, 20, 60);
4595 litest_touch_up(touchpad, 0);
4605 struct litest_device *touchpad = litest_current_device();
4607 struct libinput *li = touchpad->libinput;
4609 if (!has_disable_while_typing(touchpad))
4612 litest_enable_edge_scroll(touchpad);
4614 keyboard = dwt_init_paired_keyboard(li, touchpad);
4617 litest_touch_down(touchpad, 0, 99, 20);
4620 litest_touch_move_to(touchpad, 0, 99, 20, 99, 30, 10);
4645 litest_touch_move_to(touchpad, 0, 99, 30, 99, 80, 10);
4785 struct litest_device *touchpad = litest_current_device();
4787 struct libinput *li = touchpad->libinput;
4789 if (!has_disable_while_typing(touchpad))
4792 disable_dwt(touchpad);
4794 keyboard = dwt_init_paired_keyboard(li, touchpad);
4795 litest_disable_tap(touchpad->libinput_device);
4796 litest_disable_hold_gestures(touchpad->libinput_device);
4803 litest_touch_down(touchpad, 0, 50, 50);
4804 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4805 litest_touch_up(touchpad, 0);
4815 struct litest_device *touchpad = litest_current_device();
4817 struct libinput *li = touchpad->libinput;
4819 if (!has_disable_while_typing(touchpad))
4822 enable_dwt(touchpad);
4824 keyboard = dwt_init_paired_keyboard(li, touchpad);
4825 litest_disable_tap(touchpad->libinput_device);
4826 litest_disable_hold_gestures(touchpad->libinput_device);
4832 litest_touch_down(touchpad, 0, 50, 50);
4838 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4844 disable_dwt(touchpad);
4847 litest_touch_move_to(touchpad, 0, 70, 50, 50, 70, 10);
4848 litest_touch_up(touchpad, 0);
4858 struct litest_device *touchpad = litest_current_device();
4860 struct libinput *li = touchpad->libinput;
4862 if (!has_disable_while_typing(touchpad))
4865 enable_dwt(touchpad);
4867 keyboard = dwt_init_paired_keyboard(li, touchpad);
4868 litest_disable_tap(touchpad->libinput_device);
4869 litest_disable_hold_gestures(touchpad->libinput_device);
4876 disable_dwt(touchpad);
4880 litest_touch_down(touchpad, 0, 50, 50);
4881 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4890 struct litest_device *touchpad = litest_current_device();
4892 struct libinput *li = touchpad->libinput;
4894 if (!has_disable_while_typing(touchpad))
4897 enable_dwt(touchpad);
4899 keyboard = dwt_init_paired_keyboard(li, touchpad);
4900 litest_disable_tap(touchpad->libinput_device);
4901 litest_disable_hold_gestures(touchpad->libinput_device);
4907 disable_dwt(touchpad);
4913 litest_touch_down(touchpad, 0, 50, 50);
4916 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4925 struct litest_device *touchpad = litest_current_device();
4927 struct libinput *li = touchpad->libinput;
4929 if (!has_disable_while_typing(touchpad))
4932 enable_dwt(touchpad);
4934 keyboard = dwt_init_paired_keyboard(li, touchpad);
4935 litest_disable_tap(touchpad->libinput_device);
4936 litest_disable_hold_gestures(touchpad->libinput_device);
4942 disable_dwt(touchpad);
4946 litest_touch_down(touchpad, 0, 50, 50);
4949 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4958 struct litest_device *touchpad = litest_current_device();
4960 struct libinput *li = touchpad->libinput;
4962 if (!has_disable_while_typing(touchpad))
4965 disable_dwt(touchpad);
4967 keyboard = dwt_init_paired_keyboard(li, touchpad);
4968 litest_disable_tap(touchpad->libinput_device);
4969 litest_disable_hold_gestures(touchpad->libinput_device);
4976 litest_touch_down(touchpad, 0, 50, 50);
4977 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
4980 enable_dwt(touchpad);
4983 litest_touch_move_to(touchpad, 0, 70, 50, 50, 70, 10);
4984 litest_touch_up(touchpad, 0);
4993 struct litest_device *touchpad = litest_current_device();
4995 struct libinput *li = touchpad->libinput;
4997 if (!has_disable_while_typing(touchpad))
5000 disable_dwt(touchpad);
5002 keyboard = dwt_init_paired_keyboard(li, touchpad);
5003 litest_disable_tap(touchpad->libinput_device);
5004 litest_disable_hold_gestures(touchpad->libinput_device);
5011 enable_dwt(touchpad);
5014 litest_touch_down(touchpad, 0, 50, 50);
5015 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5024 struct litest_device *touchpad = litest_current_device();
5026 struct libinput *li = touchpad->libinput;
5028 if (!has_disable_while_typing(touchpad))
5031 litest_enable_tap(touchpad->libinput_device);
5032 disable_dwt(touchpad);
5033 litest_disable_hold_gestures(touchpad->libinput_device);
5035 keyboard = dwt_init_paired_keyboard(li, touchpad);
5042 litest_touch_down(touchpad, 0, 50, 50);
5044 enable_dwt(touchpad);
5046 litest_touch_up(touchpad, 0);
5052 litest_touch_down(touchpad, 0, 50, 50);
5053 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5054 litest_touch_up(touchpad, 0);
5063 struct litest_device *touchpad = litest_current_device();
5065 struct libinput *li = touchpad->libinput;
5067 if (!has_disable_while_typing(touchpad))
5070 litest_enable_tap(touchpad->libinput_device);
5071 enable_dwt(touchpad);
5072 litest_disable_hold_gestures(touchpad->libinput_device);
5074 keyboard = dwt_init_paired_keyboard(li, touchpad);
5081 litest_touch_down(touchpad, 0, 50, 50);
5091 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5092 litest_touch_up(touchpad, 0);
5095 litest_touch_down(touchpad, 0, 50, 50);
5096 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5097 litest_touch_up(touchpad, 0);
5105 struct litest_device *touchpad = litest_current_device();
5107 struct libinput *li = touchpad->libinput;
5109 ck_assert(has_disable_while_typing(touchpad));
5118 litest_touch_down(touchpad, 0, 50, 50);
5119 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5120 litest_touch_up(touchpad, 0);
5130 struct litest_device *touchpad = litest_current_device();
5132 struct libinput *li = touchpad->libinput;
5134 ck_assert(has_disable_while_typing(touchpad));
5144 litest_touch_down(touchpad, 0, 50, 50);
5145 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5146 litest_touch_up(touchpad, 0);
5156 litest_touch_down(touchpad, 0, 50, 50);
5157 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5158 litest_touch_up(touchpad, 0);
5169 struct litest_device *touchpad = litest_current_device();
5171 struct libinput *li = touchpad->libinput;
5173 ck_assert(has_disable_while_typing(touchpad));
5175 enable_dwt(touchpad);
5184 litest_touch_down(touchpad, 0, 50, 50);
5185 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5186 litest_touch_up(touchpad, 0);
5195 litest_touch_down(touchpad, 0, 50, 50);
5196 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5197 litest_touch_up(touchpad, 0);
5210 struct litest_device *touchpad;
5213 touchpad = litest_add_device(li, LITEST_SYNAPTICS_RMI4);
5214 ck_assert(has_disable_while_typing(touchpad));
5218 /* remove the touchpad before the keyboard.
5220 litest_delete_device(touchpad);
5226 struct litest_device *touchpad = litest_current_device();
5228 struct libinput *li = touchpad->libinput;
5230 ck_assert(has_disable_while_typing(touchpad));
5232 enable_dwt(touchpad);
5243 litest_touch_down(touchpad, 0, 50, 50);
5244 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5245 litest_touch_up(touchpad, 0);
5255 struct litest_device *touchpad = litest_current_device();
5257 struct libinput *li = touchpad->libinput;
5259 ck_assert(has_disable_while_typing(touchpad));
5261 enable_dwt(touchpad);
5278 litest_touch_down(touchpad, 0, 50, 50);
5279 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5280 litest_touch_up(touchpad, 0);
5290 struct litest_device *touchpad = litest_current_device();
5292 struct libinput *li = touchpad->libinput;
5298 ck_assert(has_disable_while_typing(touchpad));
5300 enable_dwt(touchpad);
5321 litest_touch_down(touchpad, 0, 50, 50);
5322 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
5323 litest_touch_up(touchpad, 0);
6037 /* Disable external mouse -> expect touchpad events */
6127 /* Disable one external mouse -> don't expect touchpad events */
6255 * have 2fg scrolling on st devices and 2 fingers down on a touchpad
6695 struct litest_device *touchpad = litest_current_device();
6697 struct libinput *li = touchpad->libinput;
6704 if (!touchpad_has_touch_size(touchpad) ||
6705 litest_touchpad_is_external(touchpad))
6708 keyboard = dwt_init_paired_keyboard(li, touchpad);
6720 litest_touch_down(touchpad, 0, 50, 50);
6721 litest_touch_move_to_extended(touchpad, 0, 50, 50, 20, 50, axes, 20);
6729 litest_touch_move_to_extended(touchpad, 0, 20, 50, 50, 50, axes, 20);
6730 litest_touch_up(touchpad, 0);
6915 /* ABBA test for touchpad internal suspend:
7054 /* ABAB test for touchpad internal suspend:
7240 TEST_COLLECTION(touchpad)