/third_party/libinput/test/ |
H A D | test-trackpoint.c | 178 struct litest_device *touchpad = litest_current_device(); in START_TEST() local 180 struct libinput *li = touchpad->libinput; in START_TEST() 185 litest_disable_hold_gestures(touchpad->libinput_device); in START_TEST() 189 /* touchpad right-handed, trackpoint left-handed */ in START_TEST() 194 litest_touch_down(touchpad, 0, 5, 5); in START_TEST() 196 litest_button_click_debounced(touchpad, li, BTN_LEFT, true); in START_TEST() 207 litest_button_click_debounced(touchpad, li, BTN_LEFT, false); in START_TEST() 223 struct litest_device *touchpad = litest_current_device(); in START_TEST() local 225 struct libinput *li = touchpad->libinput; in START_TEST() 230 litest_disable_hold_gestures(touchpad in START_TEST() 266 struct litest_device *touchpad = litest_current_device(); START_TEST() local 336 struct litest_device *touchpad; START_TEST() local 375 struct litest_device *touchpad; START_TEST() local 406 struct litest_device *touchpad; START_TEST() local 445 struct litest_device *touchpad; START_TEST() local 475 struct litest_device *touchpad; START_TEST() local [all...] |
H A D | test-switch.c | 280 struct litest_device *touchpad; in START_TEST() local 287 touchpad = switch_init_paired_touchpad(li); in START_TEST() 288 litest_disable_tap(touchpad->libinput_device); in START_TEST() 289 litest_disable_hold_gestures(touchpad->libinput_device); in START_TEST() 298 litest_touch_down(touchpad, 0, 50, 50); in START_TEST() 299 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10); in START_TEST() 300 litest_touch_up(touchpad, 0); in START_TEST() 307 litest_touch_down(touchpad, 0, 50, 50); in START_TEST() 308 litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10); in START_TEST() 309 litest_touch_up(touchpad, in START_TEST() 320 struct litest_device *touchpad; START_TEST() local 352 struct litest_device *touchpad; START_TEST() local 391 struct litest_device *touchpad; START_TEST() local 432 struct litest_device *touchpad; START_TEST() local 467 struct litest_device *touchpad; START_TEST() local 508 struct litest_device *touchpad, *mouse; START_TEST() local 600 struct litest_device *keyboard, *touchpad; START_TEST() local 682 struct litest_device *touchpad, *sw; START_TEST() local 922 struct litest_device *touchpad; START_TEST() local 963 struct litest_device *touchpad; START_TEST() local 1032 struct litest_device *touchpad; START_TEST() local [all...] |
H A D | test-touchpad.c | 43 struct litest_device *touchpad) in dwt_init_paired_keyboard() 47 if (libevdev_get_id_vendor(touchpad->evdev) == VENDOR_ID_APPLE) in dwt_init_paired_keyboard() 50 if (libevdev_get_id_vendor(touchpad->evdev) == VENDOR_ID_CHICONY) in dwt_init_paired_keyboard() 1666 /* Taps in each of the 4 corners of the touchpad, all in START_TEST() 2158 struct litest_device *touchpad = litest_current_device(); in START_TEST() local 2160 struct libinput *li = touchpad->libinput; in START_TEST() 2166 if (!touchpad_has_palm_pressure(touchpad)) in START_TEST() 2169 keyboard = dwt_init_paired_keyboard(li, touchpad); in START_TEST() 2170 litest_disable_tap(touchpad->libinput_device); in START_TEST() 2171 litest_disable_hold_gestures(touchpad in START_TEST() 42 dwt_init_paired_keyboard(struct libinput *li, struct litest_device *touchpad) dwt_init_paired_keyboard() argument 3369 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3408 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3439 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3467 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3522 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3610 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3809 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3846 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3889 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3928 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3966 struct litest_device *touchpad = litest_current_device(); START_TEST() local 3994 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4039 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4095 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4136 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4175 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4214 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4262 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4311 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4364 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4425 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4461 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4492 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4527 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4559 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4605 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4785 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4815 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4858 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4890 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4925 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4958 struct litest_device *touchpad = litest_current_device(); START_TEST() local 4993 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5024 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5063 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5105 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5130 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5169 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5210 struct litest_device *touchpad; START_TEST() local 5226 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5255 struct litest_device *touchpad = litest_current_device(); START_TEST() local 5290 struct litest_device *touchpad = litest_current_device(); START_TEST() local 6695 struct litest_device *touchpad = litest_current_device(); START_TEST() local [all...] |
H A D | test-misc.c | 736 struct litest_device *keyboard, *touchpad; in START_TEST() local 740 touchpad = litest_add_device(li, LITEST_SYNAPTICS_TOUCHPAD); in START_TEST() 741 litest_enable_tap(touchpad->libinput_device); in START_TEST() 748 litest_touch_down(touchpad, 0, 50, 50); in START_TEST() 749 litest_touch_up(touchpad, 0); in START_TEST() 764 litest_touch_down(touchpad, 0, 50, 50); in START_TEST() 765 litest_touch_up(touchpad, 0); in START_TEST() 785 litest_touch_down(touchpad, 0, 50, 50); in START_TEST() 786 litest_touch_up(touchpad, 0); in START_TEST() 800 litest_delete_device(touchpad); in START_TEST() [all...] |
/third_party/libinput/tools/ |
H A D | libinput-measure-touchpad-size.py | 72 # We try to make the touchpad at least look proportional. The 102 # all corners may be reachable in the touchpad drawing. 113 # all corners may be reachable in the touchpad drawing. 135 print("Move one finger along all edges of the touchpad".center(self.columns)) 200 parser = argparse.ArgumentParser(description="Measure the touchpad size") 235 print("Unable to find a touchpad device.", file=sys.stderr) 254 touchpad = Touchpad(evdev) 256 "Kernel specified touchpad size: {:.1f}x{:.1f}mm".format( 257 touchpad.width, touchpad [all...] |
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad.c | 36 #include "evdev-mt-touchpad.h" 173 * Left}, or {Right, Left, Right}, it means touchpad jitters since no 225 "See %s/touchpad-jitter.html for details\n", in tp_detect_wobbling() 669 * All touchpad devices have at least one slot so we only do this in tp_process_fake_touches() 674 * SYN_DROPPED and places new ones on the touchpad, we may end up in tp_process_fake_touches() 904 while typing on the touchpad will be ignored, but a touch in tp_palm_detect_dwt_triggered() 1493 /* Reference interval from the touchpad the various thresholds in tp_detect_jumps() 1585 /* We know the coordinates are correct because the touchpad should in tp_motion_history_fix_last() 1751 "See %s/touchpad-jumping-cursors.html for details\n", in tp_process_state() 1770 * Yes, this relies on the touchpad t in tp_process_state() 2353 tp_want_dwt(struct evdev_device *touchpad, struct evdev_device *keyboard) tp_want_dwt() argument 2375 tp_dwt_pair_keyboard(struct evdev_device *touchpad, struct evdev_device *keyboard) tp_dwt_pair_keyboard() argument 2410 tp_pair_trackpoint(struct evdev_device *touchpad, struct evdev_device *trackpoint) tp_pair_trackpoint() argument 2489 tp_pair_lid_switch(struct evdev_device *touchpad, struct evdev_device *lid_switch) tp_pair_lid_switch() argument 2514 tp_pair_tablet_mode_switch(struct evdev_device *touchpad, struct evdev_device *tablet_mode_switch) tp_pair_tablet_mode_switch() argument 2577 tp_pair_tablet(struct evdev_device *touchpad, struct evdev_device *tablet) tp_pair_tablet() argument [all...] |