
Eu tenho um Lenovo Mice N700, que foi construído para Windows 8. Ele funciona perfeitamente no Ubuntu (16.04), mas tem 2 falhas: deslizar.
No Windows 8, eles deveriam acionar ações como deslizar as bordas da tela sensível ao toque/touchpad. O problema é que ele é mapeado para teclas C
e Backspace
(com uma ordem estranha de modificadores enviados). Eu gostaria de remapear para Alt + Left Arrow
e Alt + Right Arrow
. Isso seria possível?
Aqui está a saída do xev:
DA ESQUERDA PARA DIREITA:
KeyPress event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047051, (1281,352), root:(1318,453),
state 0x4050, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4054, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 bytes: (08) "
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4054, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89047066, (1281,352), root:(1318,453),
state 0x4014, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
DIREITA PARA ESQUERDA:
KeyPress event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193252, (1370,422), root:(1407,523),
state 0x4010, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 bytes: (63) "c"
XmbLookupString gives 1 bytes: (63) "c"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193267, (1370,422), root:(1407,523),
state 0x4050, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 bytes: (63) "c"
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3400001,
root 0xd3, subw 0x0, time 89193267, (1370,422), root:(1407,523),
state 0x4050, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False