Created
March 21, 2019 10:13
-
-
Save LenzGr/411a34f9f4f3eef928b5ee0ba174d1cb to your computer and use it in GitHub Desktop.
Emulating a scroll wheel on the Logitech Trackman Marble via xinput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# http://blog.karssen.org/2010/09/11/linux-the-logitech-trackman-marble-and-emulating-a-scroll-wheel/ | |
# http://www.robmeerman.co.uk/unix/xinput#enabling_emulation_ubuntu_1004 | |
xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 1 | |
xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 | |
xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 | |
xinput set-prop "Logitech USB Trackball" "Evdev Middle Button Emulation" 1 | |
xinput set-prop "Logitech USB Trackball" "libinput Horizonal Scroll Enabled" 1 | |
xinput set-prop "Logitech USB Trackball" "libinput Middle Emulation" 1 | |
xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 6 7 4 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment