Instantly share code, notes, and snippets.

Embed
What would you like to do?
Section "InputClass"
Identifier "Trackpoint Wheel" # A conventional name
MatchIsPointer "on" # This is what identify the pointer among the other input/events
MatchDevicePath "/dev/input/event*"
Option "EmulateWheelButton" "2" # The secon button from the left, of course
Option "EmulateWheel" "on"
Option "EmulateWheelInertia" "23" # The highest, the slower the scrolling
Option "EmulateWheelTimeout" "200"
Driver "evdev" # What we just say about evdev vs libinput
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment