Mapeamento do Lenovo Mice N700

1

Eu tenho um Lenovo Mice N700, que foi criado para o Windows 8. Ele funciona perfeitamente no Ubuntu (16.04), mas tem 2 falhas: swipes.

No Windows 8, eles deveriam desencadear ações exatamente como os deslizamentos de toque na tela sensível ao toque / touchpad. O problema é que ele é mapeado para C e Backspace keys (com uma ordem estranha de modificadores enviados). Gostaria de remapá-lo para Alt + Left Arrow e Alt + Right Arrow . Isso seria possível?

Aqui está a saída xev:

ESQUERDA PARA A 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

DIREITO À 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
    
por Dracco 21.04.2016 / 12:32

0 respostas