我的 Delete 键注册并删除和削减
当我xev
按下 Delete 键时,显示以下内容
root 0x7a6, subw 0x0, time 607462, (196,131), root:(368,295),
state 0x0, keycode 106 (keysym 0xffaf, KP_Divide), same_screen YES,
XLookupString gives 1 bytes: (2f) "/"
XmbLookupString gives 1 bytes: (2f) "/"
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3400001,
root 0x7a6, subw 0x0, time 607624, (196,131), root:(368,295),
state 0x0, keycode 119 (keysym 0xffff, Delete), same_screen YES,
XLookupString gives 1 bytes: (7f) ""
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3400001,
root 0x7a6, subw 0x0, time 607635, (196,131), root:(368,295),
state 0x0, keycode 106 (keysym 0xffaf, KP_Divide), same_screen YES,
XLookupString gives 1 bytes: (2f) "/"
XFilterEvent returns: False
当我这样做sudo showkey
并按下删除键时,显示以下内容
^[[3~/keycode 111 press
keycode 98 press
keycode 111 release
keycode 98 release