Last active
June 5, 2022 17:51
-
-
Save leyiang/54f85cf82ac466d52a9c997decf82162 to your computer and use it in GitHub Desktop.
With the power of libinput to enable natural scrolling, tap to click, 2 finger tap convert to right click and 3 finger tap emulate middle click.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
# Natural Scrolling | |
Option "NaturalScrolling" "True" | |
# Tap to Click | |
Option "Tapping" "on" | |
# Option "ClickMethod" "clickfinger" | |
# 2 Finger Tap => Context Menu | |
# 3 Finger Tap => Middle Click Emulation | |
# lmr means left/middle/right | |
Option "TappingButtonMap" "rml" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment