Delay before starting 4-finger swipe feels bad
libinput currently delays the decision between swipe and pinch, even for 4-finger gestures, and that makes swipe start feel worse. The 4-finger swipe on macOS starts instantly with the slightest movement. The delay currently in libinput is.. not like that ;)
I'm not sure what >2 finger pinch is supposed to represent — things like Apple's "reveal desktop" gesture I guess? They might be detecting that purely based on finger positions.
This feels better (for swipe only):
--- src/evdev-mt-touchpad-gestures.c.orig 2019-06-22 23:25:24
+++ src/evdev-mt-touchpad-gestures.c 2019-06-22 23:26:05
@@ -483,7 +483,7 @@
return GESTURE_STATE_SCROLL;
/* more fingers than slots, don't bother with pinch, always
* assume swipe */
- } else if (tp->gesture.finger_count > tp->num_slots) {
+ } else if (tp->gesture.finger_count > 2) {
return GESTURE_STATE_SWIPE;
}