KeyPress event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1480646, (27,45), root:(677,483),
state 0x0,
keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1482958, (27,45), root:(677,483),
state 0x1,
keycode 15 (keysym 0x5e, asciicircum), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XmbLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False
KeyRelease event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1483054, (27,45), root:(677,483),
state 0x1, keycode 15 (keysym 0x5e,
asciicircum), same_screen YES,
XLookupString gives 1 bytes: (5e) "^"
XFilterEvent returns: False
KeyRelease event, serial 32, synthetic NO, window 0x1600001,
root 0x1a6, subw 0x1600002, time 1492556, (27,45), root:(677,483),
state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
你那里识别的键码是一样的。说明和我键盘是一样的。
但键值,和我这里的不同。看来还是键盘布局设置的事情。
模式 pc105 布局 us
X下可看/etc/X11/xorg.conf