Skip to content

Instantly share code, notes, and snippets.

@kawas44
Created June 18, 2023 11:34
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 kawas44/795907b6862720645ef0c98910d4ba0f to your computer and use it in GitHub Desktop.
Save kawas44/795907b6862720645ef0c98910d4ba0f to your computer and use it in GitHub Desktop.
Xorg libinput & synaptics
Section "InputClass"
Identifier "Kensington Eagle Trackball"
MatchProduct "Primax Kensington Eagle Trackball"
MatchDriver "libinput"
Option "Rotation Angle" "270.0"
EndSection
Section "InputClass"
Identifier "Nulea Trackball"
MatchProduct "Compx 2.4G Receiver Mouse"
MatchDriver "libinput"
Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection
Section "InputClass"
Identifier "Perixx Peripad"
MatchDriver "libinput"
MatchIsPointer "true"
MatchProduct "USB Mouse Pad"
Option "NaturalScrolling" "true"
Option "MiddleEmulation" "true"
Option "ScrollMethod" "button"
Option "ScrollButton" "3"
EndSection
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
# Scrolling
Option "VertEdgeScroll" "off"
Option "HorizEdgeScroll" "off"
Option "VertTwoFingerScroll" "on"
Option "HorizTwoFingerScroll" "on"
# Enable natural scrolling
Option "VertScrollDelta" "-112"
Option "HorizScrollDelta" "-112"
EndSection
Section "InputClass"
Identifier "Apple Magic Trackpad v1"
MatchProduct "trackpad de Denis"
MatchDriver "synaptics"
Option "MinSpeed" "1"
Option "MaxSpeed" "1.75"
Option "AccelFactor" "0.035"
Option "MaxTapTime" "180"
Option "MaxTapMove" "300"
Option "MaxDoubleTapTime" "200"
Option "VertEdgeScroll" "on"
Option "HorizEdgeScroll" "on"
Option "VertTwoFingerScroll" "on"
Option "HorizTwoFingerScroll" "off"
Option "VertHysteresis" "38"
Option "HorizHysteresis" "38"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment