From 792f31377746455eb6db06c1e48406d5fecb6eb4 Mon Sep 17 00:00:00 2001 From: MineralwaterXu Date: Mon, 1 Mar 2021 23:13:10 +0800 Subject: change the buttons mapping for Logitech MX Anywhere 2S --- setxmodmap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setxmodmap.sh') diff --git a/setxmodmap.sh b/setxmodmap.sh index d8359d1..d05e6ea 100755 --- a/setxmodmap.sh +++ b/setxmodmap.sh @@ -2,5 +2,5 @@ setxkbmap us -option -option caps:swapescape for id in $(xinput list | grep 'Logitech MX Anywhere 2S' | grep pointer | cut -d '=' -f 2 | cut -f 1); - do xinput --set-button-map $id 1 2 3 4 5 2 2 7 8 9 10 11 12 13 14 15 16 17 18 19 20; + do xinput --set-button-map $id 1 2 3 4 5 2 2 8 9 10 11 12 13 14 15 16 17 18 19 20; done -- cgit v1.2.1