Lines Matching refs:touchpad

178 	struct litest_device *touchpad = litest_current_device();
180 struct libinput *li = touchpad->libinput;
185 litest_disable_hold_gestures(touchpad->libinput_device);
189 /* touchpad right-handed, trackpoint left-handed */
194 litest_touch_down(touchpad, 0, 5, 5);
196 litest_button_click_debounced(touchpad, li, BTN_LEFT, true);
207 litest_button_click_debounced(touchpad, li, BTN_LEFT, false);
223 struct litest_device *touchpad = litest_current_device();
225 struct libinput *li = touchpad->libinput;
230 litest_disable_hold_gestures(touchpad->libinput_device);
234 /* touchpad left-handed, trackpoint right-handed */
236 touchpad->libinput_device, 1);
239 litest_touch_down(touchpad, 0, 5, 5);
241 litest_button_click_debounced(touchpad, li, BTN_LEFT, true);
250 litest_button_click_debounced(touchpad, li, BTN_LEFT, false);
266 struct litest_device *touchpad = litest_current_device();
268 struct libinput *li = touchpad->libinput;
273 litest_disable_hold_gestures(touchpad->libinput_device);
277 /* touchpad left-handed, trackpoint left-handed */
279 touchpad->libinput_device, 1);
285 litest_touch_down(touchpad, 0, 5, 5);
287 litest_button_click_debounced(touchpad, li, BTN_LEFT, true);
298 litest_button_click_debounced(touchpad, li, BTN_LEFT, false);
336 struct litest_device *touchpad;
340 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
341 if (has_disable_while_trackpointing(touchpad))
342 enable_dwtp(touchpad);
344 litest_disable_hold_gestures(touchpad->libinput_device);
355 litest_touch_down(touchpad, 0, 30, 30);
356 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
357 litest_touch_up(touchpad, 0);
363 litest_touch_down(touchpad, 0, 30, 30);
364 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
365 litest_touch_up(touchpad, 0);
368 litest_delete_device(touchpad);
375 struct litest_device *touchpad;
379 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
380 if (has_disable_while_trackpointing(touchpad))
381 disable_dwtp(touchpad);
383 litest_disable_hold_gestures(touchpad->libinput_device);
394 litest_touch_down(touchpad, 0, 30, 30);
395 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
396 litest_touch_up(touchpad, 0);
399 litest_delete_device(touchpad);
406 struct litest_device *touchpad;
410 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
412 if (has_disable_while_trackpointing(touchpad))
413 enable_dwtp(touchpad);
415 litest_disable_hold_gestures(touchpad->libinput_device);
426 litest_touch_down(touchpad, 0, 30, 30);
427 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
434 litest_touch_move_to(touchpad, 0, 80, 80, 30, 30, 10);
435 litest_touch_up(touchpad, 0);
438 litest_delete_device(touchpad);
445 struct litest_device *touchpad;
448 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
450 if (has_disable_while_trackpointing(touchpad))
451 enable_dwtp(touchpad);
453 litest_disable_hold_gestures(touchpad->libinput_device);
463 litest_touch_down(touchpad, 0, 30, 30);
464 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
465 litest_touch_up(touchpad, 0);
468 litest_delete_device(touchpad);
475 struct litest_device *touchpad;
478 touchpad = litest_add_device(li, LITEST_SYNAPTICS_I2C);
480 if (has_disable_while_trackpointing(touchpad))
481 enable_dwtp(touchpad);
483 litest_disable_hold_gestures(touchpad->libinput_device);
494 litest_touch_down(touchpad, 0, 30, 30);
495 litest_touch_move_to(touchpad, 0, 30, 30, 80, 80, 10);
496 litest_touch_up(touchpad, 0);
502 litest_delete_device(touchpad);