转:Windows下交换CapsLock和左ctrl
点击Win+R键
在输入框键入regedit,打开注册表
进入HKEY_LOCAL_MACHINE -> System -> CurrentControlSet -> Control -> KeyBoard Layout。记住,一定是keyBoard Layout,而不是KeyBoard Layouts
右键菜单,然后选择New -> Binary value
重命名New Value #1 -> Scancode Map
右键菜单Scancode Map -> Modify
输入如下值,保存
0000 00 00 00 00 00 00 00 00
0008 03 00 00 00 1D 00 3A 00
0010 3A 00 1D 00 00 00 00 00
0018
来源地址:https://blog.csdn.net/github_36186488/article/details/77427471