我正在尝试将Win+映射Left-Arrow到Home.
当我运行showkey --scancodes
(在控制台上)并按Win+时Left-Arrow,我得到:
0xe0 0x5b 0xe0 0x4b 0xe0 0xdb 0xe0 0xcb
showkey
(也在控制台)告诉我Home有键码 102。
所以我尝试:
% sudo setkeycodes e05be04be0dbe0cb 102
setkeycodes: failed to set scancode ffff207f to keycode 102: ioctl KDSETKEYCODE: Invalid argument
% sudo setkeycodes e05be04b 102
setkeycodes: failed to set scancode e05b00cb to keycode 102: ioctl KDSETKEYCODE: Invalid argument
% sudo setkeycodes 5b4bdbcb 102
setkeycodes: failed to set scancode 5b4afc4b to keycode 102: ioctl KDSETKEYCODE: Invalid argument
% sudo setkeycodes 5b4b 102
setkeycodes: failed to set scancode 5b4b to keycode 102: ioctl KDSETKEYCODE: Invalid argument
我的键盘是笔记本电脑机箱内置的键盘。它没有列出lsusb
。
如何将Win+映射Left-Arrow到Homewith setkeycodes
?