Force libinput to enable Tap-to-click for touchpad. This allows Wayland compositors (that do not expose libinput configuration) to configure the existing libinput functionality.
Build hook.so
then configure libinput
to LD_PRELOAD
it:
make
echo 'export LD_PRELOAD="$LD_PRELOAD /path/to/hook.so"' | sudo tee -a /etc/profile.d/libinput.sh
Log out and log in to enable.
- libinput documentation
- Inspired by middle-click-emulation
- MIT