Skip to content

Instantly share code, notes, and snippets.

@jyc
Created January 7, 2013 01:11
Show Gist options
  • Select an option

  • Save jyc/4471485 to your computer and use it in GitHub Desktop.

Select an option

Save jyc/4471485 to your computer and use it in GitHub Desktop.
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
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