Skip to content

Instantly share code, notes, and snippets.

@tuutti
Forked from jussiviitamaki/gist:6c1ae55d20a36e40d792
Last active August 29, 2015 14:19
Show Gist options
  • Save tuutti/d6e102d8a91a2767472a to your computer and use it in GitHub Desktop.
Save tuutti/d6e102d8a91a2767472a to your computer and use it in GitHub Desktop.
Section "InputClass"
Identifier "X1 carbon stuff"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
# Enable two finger scrolling vertically, disable horizontally
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "0"
# No scrolling along the edge
Option "VertEdgeScroll" "0"
Option "HorizEdgeScroll" "0"
Option "LockedDrags" "0"
Option "FingerPress" "1"
# Turn off the blasted corners as buttons
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
# Ignore "taps" and listen for "clicks"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "ClickFinger1" "1" # Left click one finger
Option "ClickFinger2" "3" # Right click two fingers
Option "ClickFinger3" "0" # Three finger click disabled
Option "TapAndDragGesture" "0"
# No circular scrolling
Option "CircularScrolling" "0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment