我有一个罗技蓝牙多功能设备键盘K480,只是按照蓝牙配对安装后,默认设置将离开映射为多媒体键的功能键,所以我必须保持fn访问F1,F2,F3,等。
这对我来说非常违反直觉,我想重新映射它,以便我可以直接访问功能并访问多媒体键 fn
这是F1不按住fn再按住。
KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0xd6, subw 0x0, time 63445847, (-438,408), root:(284,460),
state 0x10, keycode 180 (keysym 0x1008ff18, XF86HomePage), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0xd6, subw 0x0, time 63445922, (-438,408), root:(284,460),
state 0x10, keycode 180 (keysym 0x1008ff18, XF86HomePage), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent …
Run Code Online (Sandbox Code Playgroud)