This project maintains a custom build of libinput with enhanced touchpad behavior, including hold-and-tap support for multi-finger tapping while another finger is already resting or moving the mouse cursor.
- 2-Finger Tap while moving/holding: When one finger is already on the trackpad (e.g. moving the cursor), tapping with a second finger triggers a 2-finger tap (Right Click).
- 3-Finger Tap while moving/holding: When one or two fingers are on the trackpad, tapping with an additional finger (or two) to reach 3 touches triggers a 3-finger tap (Middle Click).
- Uninterrupted Pointer Motion: The moving finger's cursor velocity and trajectory continue smoothly without stutter or accidental scrolling while the secondary finger taps.
- Continuous 2-Finger Scroll from Cursor Motion: When the cursor is already moving with one finger, setting a second finger down and moving either (or both) fingers seamlessly transitions into two-finger scrolling without needing to lift the first finger.
- Stationary Modifier Scrolling: With one finger held down on the trackpad (acting as a scroll modifier), moving the second finger scrolls at full speed.
- Instant Return to Pointer Motion: Lifting either finger during a two-finger scroll immediately stops scrolling and returns control to single-finger cursor movement.
- Normal 2-Finger Gestures Preserved: Moving both fingers together continues to engage standard two-finger scrolling, and pinch-to-zoom remains fully functional.
- To rebuild the package:
cd ~/Projects/touchpad-enhancements makepkg -s --skippgpcheck --noconfirm
- Install the generated
.pkg.tar.zstfiles:sudo pacman -U --noconfirm libinput-*.pkg.tar.zst
libinput and libinput-tools are added to IgnorePkg in /etc/pacman.conf so regular system updates (pacman -Syu) will not overwrite this package.