Logitech Performance Mouse MX - thumb button as middle-mouse
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/bash | |
for ID in $(xinput list | grep "Logitech Unifying Device" | perl -pe 's/^.*?id=(\d+).*$/\1/'); do | |
xinput set-button-map $ID 1 2 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 2>/dev/null | true; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment