O botão do polegar do MX Master não é um botão, mas sim um pressionamento de tecla simulado. A questão é que não consigo descobrir qual é, já que o xev não o reconhece. O painel de atalhos me diz que é "CTR + ALT + TAB", mas não está fazendo o que "CTR + ALT + TAB" deve fazer, ou seja, "alternar entre painéis". Em vez disso, o que o botão de polegar faz é ir e voltar da janela em que estou até a última tela, ad infinitum. Alguém sabe o que é essa função?
Editar (resultado de pressionar duas vezes o botão do polegar):
Event: time 1486843409.135360, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1486843409.135360, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1486843409.135360, -------------- SYN_REPORT ------------
Event: time 1486843409.143358, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1486843409.143358, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1486843409.143358, -------------- SYN_REPORT ------------
Event: time 1486843409.151354, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1486843409.151354, type 1 (EV_KEY), code 15 (KEY_TAB), value 1
Event: time 1486843409.151354, -------------- SYN_REPORT ------------
Event: time 1486843409.159360, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1486843409.159360, type 1 (EV_KEY), code 15 (KEY_TAB), value 0
Event: time 1486843409.159360, -------------- SYN_REPORT ------------
Event: time 1486843409.167356, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1486843409.167356, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1486843409.167356, -------------- SYN_REPORT ------------
Event: time 1486843409.175354, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1486843409.175354, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0
Event: time 1486843409.175354, -------------- SYN_REPORT ------------
Event: time 1486843410.633371, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1486843410.633371, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
Event: time 1486843410.633371, -------------- SYN_REPORT ------------
Event: time 1486843410.641373, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1486843410.641373, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1
Event: time 1486843410.641373, -------------- SYN_REPORT ------------
Event: time 1486843410.649370, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1486843410.649370, type 1 (EV_KEY), code 15 (KEY_TAB), value 1
Event: time 1486843410.649370, -------------- SYN_REPORT ------------
Event: time 1486843410.657362, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1486843410.657362, type 1 (EV_KEY), code 15 (KEY_TAB), value 0
Event: time 1486843410.657362, -------------- SYN_REPORT ------------
Event: time 1486843410.665363, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2
Event: time 1486843410.665363, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1486843410.665363, -------------- SYN_REPORT ------------
Event: time 1486843410.673364, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1486843410.673364, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0
Editar II Consegui obter o resultado do xev. Também de pressionar duas vezes:
KeyPress event, serial 37, synthetic NO, window 0x6400001,
root 0xf5, subw 0x0, time 20443872, (-455,-283), root:(1367,722),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x6400001,
root 0xf5, subw 0x0, time 20443880, (-455,-283), root:(1367,722),
state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 37, synthetic NO, window 0x6400001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 37, synthetic NO, window 0x6400001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
PropertyNotify event, serial 37, synthetic NO, window 0x6400001,
atom 0x16b (_NET_WM_STATE), time 20443950, state PropertyNewValue
FocusIn event, serial 37, synthetic NO, window 0x6400001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 0 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusIn event, serial 37, synthetic NO, window 0x6400001,
mode NotifyUngrab, detail NotifyNonlinear
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 3 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 37, synthetic NO, window 0x6400001,
root 0xf5, subw 0x0, time 20445256, (-455,-283), root:(1367,722),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
PropertyNotify event, serial 37, synthetic NO, window 0x6400001,
atom 0x16b (_NET_WM_STATE), time 20445283, state PropertyNewValue