The Logitech M720 has a thumb button which does not show up with a button identifier in xev
:
This thumb button results in Ctrl+Alt+Tab.
I am using Fedora 28, though the same issue is reported here for Ubuntu: https://askubuntu.com/questions/956484/logitech-mouse-thumb-button-not-showing-in-xev
There are also some related questions for difference Logitech mice: MX Master question and MX Anywhere 2S, which seems to have gotten some button names with evtest
, but my evtest
output for the thumb button doesn't look like it has any button names:
Event: time 1538277331.280194, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1538277331.280194, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1538277331.280194, -------------- SYN_REPORT ------------
Event: time 1538277331.288214, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1538277331.288214, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1538277331.288214, -------------- SYN_REPORT ------------
Event: time 1538277331.296210, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1538277331.296210, type 1 (EV_KEY), code 15 (KEY_TAB), value 1
Event: time 1538277331.296210, -------------- SYN_REPORT ------------
Event: time 1538277331.304218, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1538277331.304218, type 1 (EV_KEY), code 15 (KEY_TAB), value 0
Event: time 1538277331.304218, -------------- SYN_REPORT ------------
Event: time 1538277331.312212, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1538277331.312212, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1538277331.312212, -------------- SYN_REPORT ------------
Event: time 1538277331.320218, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1538277331.320218, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0
Event: time 1538277331.320218, -------------- SYN_REPORT ------------
Is that button really hardwired to emit CTRL ALT TAB ?
Is it possible to remap the thumb button?
xev
, etc). Yes, I could use the WM orxbindkeys
to catch Ctrl+Alt+Tab. It wouldn't be the most elegant, but it could work. The other options are a bit beyond me right now. – adatum Oct 03 '18 at 05:28