Home
last modified time | relevance | path

Searched refs:finger_count (Results 1 – 7 of 7) sorted by relevance

/third_party/libinput/src/
Devdev-mt-touchpad-gestures.c168 tp->gesture.finger_count); in tp_gesture_start()
176 tp->gesture.finger_count, in tp_gesture_start()
182 tp->gesture.finger_count, in tp_gesture_start()
501 return (tp->gesture.finger_count == 1) || in tp_gesture_is_quick_hold()
502 (tp->gesture.finger_count == 2); in tp_gesture_is_quick_hold()
519 if (tp->gesture.finger_count > 3) in tp_gesture_use_hold_timer()
704 if (tp->gesture.finger_count != 1) in tp_gesture_pointer_motion_handle_event()
877 if (tp->gesture.finger_count == 1) { in tp_gesture_detect_motion_gestures()
903 if (tp->gesture.enabled && tp->gesture.finger_count > 2 && in tp_gesture_detect_motion_gestures()
904 tp->gesture.finger_count > tp->num_slots) { in tp_gesture_detect_motion_gestures()
[all …]
Dlibinput-private.h634 int finger_count,
641 int finger_count,
648 int finger_count,
657 int finger_count,
664 int finger_count);
669 int finger_count,
Dlibinput.c200 int finger_count; member
1011 return event->finger_count; in libinput_event_gesture_get_finger_count()
2997 int finger_count, in gesture_notify() argument
3013 .finger_count = finger_count, in gesture_notify()
3029 int finger_count, in gesture_notify_swipe() argument
3033 gesture_notify(device, time, type, finger_count, 0, delta, unaccel, in gesture_notify_swipe()
3040 int finger_count, in gesture_notify_swipe_end() argument
3046 finger_count, cancelled, &zero, &zero, 0.0, 0.0); in gesture_notify_swipe_end()
3053 int finger_count, in gesture_notify_pinch() argument
3059 gesture_notify(device, time, type, finger_count, 0, in gesture_notify_pinch()
[all …]
Devdev-mt-touchpad.h354 unsigned int finger_count; member
/third_party/libinput/tools/
Dlibinput-debug-events.c671 int finger_count = libinput_event_gesture_get_finger_count(t); in print_gesture_event_without_coords() local
683 printq("%d%s\n", finger_count, cancelled ? " cancelled" : ""); in print_gesture_event_without_coords()
/third_party/libinput/test/
Dtest-touchpad.c3664 int finger_count = _i; /* looped test */ in START_TEST() local
3669 if (!libevdev_has_event_code(dev->evdev, EV_KEY, map[finger_count])) in START_TEST()
3673 for (int i = 0; i < finger_count; i++) { in START_TEST()
3674 if (litest_slot_count(dev) >= finger_count) { in START_TEST()
3677 litest_event(dev, EV_KEY, map[finger_count], 1); in START_TEST()
3690 for (int i = 0; i < finger_count; i++) { in START_TEST()
3691 if (litest_slot_count(dev) < finger_count) in START_TEST()
3699 for (int i = 0; i < finger_count; i++) { in START_TEST()
3700 if (litest_slot_count(dev) >= finger_count) { in START_TEST()
3703 litest_event(dev, EV_KEY, map[finger_count], 0); in START_TEST()
Dtest-touchpad-buttons.c2126 struct range finger_count = {1, 4}; in TEST_COLLECTION() local
2156 litest_add_ranged(touchpad_clickfinger_click_drag, LITEST_CLICKPAD, LITEST_ANY, &finger_count); in TEST_COLLECTION()