![重新映射 Kensington 演示遥控器按钮的键码](https://linux22.com/image/1525407/%E9%87%8D%E6%96%B0%E6%98%A0%E5%B0%84%20Kensington%20%E6%BC%94%E7%A4%BA%E9%81%A5%E6%8E%A7%E5%99%A8%E6%8C%89%E9%92%AE%E7%9A%84%E9%94%AE%E7%A0%81.png)
我有一个 Kensington 演示遥控器。当我激活激光时,它会发送 F5 的键码。我的幻灯片是 HTML 格式的,我用 Firefox 打开它们,因此 F5 会导致刷新并返回到第一张幻灯片。有没有办法修改 Kensington,使其在按下按钮时不发送 F5?
以下是 的输出xev
:
KeyPress event, serial 37, synthetic NO, window 0x4a00001,
root 0xd5, subw 0x0, time 10072399, (186,-165), root:(251,425),
state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x4a00001,
root 0xd5, subw 0x0, time 10072511, (186,-165), root:(251,425),
state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False