Skip to content

Instantly share code, notes, and snippets.

@gsora
Created November 9, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsora/32d6de025481698c9ea8 to your computer and use it in GitHub Desktop.
Save gsora/32d6de025481698c9ea8 to your computer and use it in GitHub Desktop.
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
# ignore thumb and palm rest
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "DisableOnPalm" "true"
# sensitivity
Option "Sensitivity" "0.40"
# enable hardware button
Option "ButtonEnable" "true"
Option "ButtonIntegrated" "true"
# smooth scrolling
Option "ScrollSmooth" "true"
# disable tapdrag
Option "TapDragEnable" "false"
# enable 4-fingers back and forward button emulation
Option "Swipe4RightButton" "8"
Option "Swipe4LeftButton" "9"
# disable 3-fingers back and forward button emulation
Option "SwipeRightButton" "0"
Option "SwipeLeftButton" "0"
# natural scrolling
Option "ScrollUpButton" "5"
Option "ScrollDownButton" "4"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment