所以我想将我的less(shift +','xev输出:
KeyRelease event, serial 37, synthetic NO, window 0x1a00001,
root 0xc4, subw 0x0, time 1185360, (-132,-64), root:(462,254),
state 0x1, keycode 59 (keysym 0x3c, less), same_screen YES,
XKeysymToKeycode returns keycode: 94
XLookupString gives 1 bytes: (3c) "<"
XFilterEvent returns: False
'
KeyRelease event, serial 37, synthetic NO, window 0x1a00001,
root 0xc4, subw 0x0, time 1267856, (-247,180), root:(347,498),
state 0x0, keycode 94 (keysym 0x3c, less), same_screen YES,
XLookupString gives 1 bytes: (3c) "<"
XFilterEvent returns: False
最佳答案
不,他们没有相同的键码。前者为59,后者为94。
要将键码94用作右移,请使用以下xmodmap脚本:
keycode 94 = Shift_R
add shift = Shift_R
关于linux - 绑定(bind)具有相同键码的 key ,而不会丢失第二个 key ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31086670/