Skip to content

Instantly share code, notes, and snippets.

@lorenzhs
Created August 18, 2015 15:18
Show Gist options
  • Save lorenzhs/89f5fd87de9e07c47c25 to your computer and use it in GitHub Desktop.
Save lorenzhs/89f5fd87de9e07c47c25 to your computer and use it in GitHub Desktop.
X11 ThinkPad USB Keyboard config with right click scroll
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|ThinkPad Compact USB Keyboard with TrackPoint|USB Trackpoint pointing device"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "3"
Option "EmulateWheelTimeout" "150"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment