Windows下交换CapsLock和左ctrlHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout中添加Scancode Map二进制项,内容为0000 00 00 00 00 00 00 00 000008 03 00 00 00 1D 00 3A 000010 3A 00 1D 00 00 00 00 00注销或者重启一下就能看到效果了来源地址:https://blog.csdn.net/bnanoou/article/details/51187673