Lines Matching refs:touchpad

280 	struct litest_device *touchpad;
287 touchpad = switch_init_paired_touchpad(li);
288 litest_disable_tap(touchpad->libinput_device);
289 litest_disable_hold_gestures(touchpad->libinput_device);
298 litest_touch_down(touchpad, 0, 50, 50);
299 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
300 litest_touch_up(touchpad, 0);
307 litest_touch_down(touchpad, 0, 50, 50);
308 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
309 litest_touch_up(touchpad, 0);
312 litest_delete_device(touchpad);
320 struct litest_device *touchpad;
327 touchpad = switch_init_paired_touchpad(li);
328 litest_disable_tap(touchpad->libinput_device);
329 litest_disable_hold_gestures(touchpad->libinput_device);
332 litest_touch_down(touchpad, 0, 50, 50);
333 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 5);
341 litest_touch_move_to(touchpad, 0, 70, 50, 50, 50, 5);
342 litest_touch_up(touchpad, 0);
345 litest_delete_device(touchpad);
352 struct litest_device *touchpad;
359 touchpad = switch_init_paired_touchpad(li);
360 litest_enable_edge_scroll(touchpad);
369 litest_touch_down(touchpad, 0, 99, 20);
375 litest_touch_move_to(touchpad, 0, 99, 20, 99, 80, 60);
379 litest_touch_move_to(touchpad, 0, 99, 80, 99, 20, 60);
380 litest_touch_up(touchpad, 0);
384 litest_delete_device(touchpad);
391 struct litest_device *touchpad;
399 touchpad = switch_init_paired_touchpad(li);
400 litest_enable_edge_scroll(touchpad);
404 litest_touch_down(touchpad, 0, 99, 20);
407 litest_touch_move_to(touchpad, 0, 99, 20, 99, 30, 10);
425 litest_delete_device(touchpad);
432 struct litest_device *touchpad;
439 touchpad = switch_init_paired_touchpad(li);
441 litest_disable_tap(touchpad->libinput_device);
442 litest_disable_hold_gestures(touchpad->libinput_device);
446 litest_touch_down(touchpad, 0, 50, 50);
447 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
448 litest_touch_up(touchpad, 0);
455 litest_touch_down(touchpad, 0, 50, 50);
456 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
457 litest_touch_up(touchpad, 0);
460 litest_delete_device(touchpad);
467 struct litest_device *touchpad;
474 touchpad = switch_init_paired_touchpad(li);
475 litest_disable_tap(touchpad->libinput_device);
476 litest_disable_hold_gestures(touchpad->libinput_device);
477 libinput_device_config_send_events_set_mode(touchpad->libinput_device,
487 litest_touch_down(touchpad, 0, 50, 50);
488 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
489 litest_touch_up(touchpad, 0);
496 litest_touch_down(touchpad, 0, 50, 50);
497 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
498 litest_touch_up(touchpad, 0);
501 litest_delete_device(touchpad);
508 struct litest_device *touchpad, *mouse;
515 touchpad = switch_init_paired_touchpad(li);
517 litest_disable_tap(touchpad->libinput_device);
518 litest_disable_hold_gestures(touchpad->libinput_device);
519 libinput_device_config_send_events_set_mode(touchpad->libinput_device,
523 litest_touch_down(touchpad, 0, 50, 50);
524 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
525 litest_touch_up(touchpad, 0);
534 litest_touch_down(touchpad, 0, 50, 50);
535 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
536 litest_touch_up(touchpad, 0);
543 litest_touch_down(touchpad, 0, 50, 50);
544 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
545 litest_touch_up(touchpad, 0);
548 litest_delete_device(touchpad);
600 struct litest_device *keyboard, *touchpad;
607 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
609 litest_disable_hold_gestures(touchpad->libinput_device);
625 litest_touch_down(touchpad, 0, 50, 50);
626 litest_touch_move_to(touchpad, 0, 50, 50, 70, 70, 10);
627 litest_touch_up(touchpad, 0);
633 litest_delete_device(touchpad);
682 struct litest_device *touchpad, *sw;
700 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
712 litest_delete_device(touchpad);
922 struct litest_device *touchpad;
934 /* touchpad comes with switch already on - no events */
935 touchpad = switch_init_paired_touchpad(li);
936 litest_disable_tap(touchpad->libinput_device);
937 litest_disable_hold_gestures(touchpad->libinput_device);
940 litest_touch_down(touchpad, 0, 50, 50);
941 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
942 litest_touch_up(touchpad, 0);
950 litest_touch_down(touchpad, 0, 50, 50);
951 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
952 litest_touch_up(touchpad, 0);
956 litest_delete_device(touchpad);
963 struct litest_device *touchpad;
971 touchpad = switch_init_paired_touchpad(li);
972 litest_disable_tap(touchpad->libinput_device);
973 litest_disable_hold_gestures(touchpad->libinput_device);
1005 litest_touch_down(touchpad, 0, 50, 50);
1006 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
1007 litest_touch_up(touchpad, 0);
1020 litest_touch_down(touchpad, 0, 50, 50);
1021 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
1022 litest_touch_up(touchpad, 0);
1025 litest_delete_device(touchpad);
1032 struct litest_device *touchpad;
1039 touchpad = switch_init_paired_touchpad(li);
1040 litest_disable_tap(touchpad->libinput_device);
1058 litest_touch_down(touchpad, 0, 50, 50);
1059 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
1060 litest_touch_up(touchpad, 0);
1077 litest_touch_down(touchpad, 0, 50, 50);
1078 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10);
1079 litest_touch_up(touchpad, 0);
1082 litest_delete_device(touchpad);