Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Emulating a scroll wheel on the Logitech Trackman Marble via xinput
#!/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
You can’t perform that action at this time.