![联想 N700 鼠标映射](https://linux22.com/image/881340/%E8%81%94%E6%83%B3%20N700%20%E9%BC%A0%E6%A0%87%E6%98%A0%E5%B0%84.png)
我有一只联想鼠标 N700,专为 Windows 8 打造。它在 Ubuntu(16.04)上运行完美,但有两个缺陷:滑动。
在 Windows 8 上,它们应该触发类似触摸屏/触摸板边缘滑动的操作。问题是它被映射到C
和Backspace
键(发送修饰符的顺序很奇怪)。我想将其重新映射到Alt + Left Arrow
和Alt + Right Arrow
。这可能吗?
以下是 xev 输出:
左到右:
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
右到左:
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