Map the CapsLock key to the Ctrl key on Windows
November 18, 2022Less than 1 minute
概述
If you are a programmer, you will find that the use frequency of the capslock key is very low, while the use frequency of the ctrl key is very high. And the position of the finger when pressing the capslock key is very easy, so there is a need to map the capslock key to the ctrl key.
解决方案
- Create a new document, input the content below.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
- Save it and close it, and then change the extension of the document to .reg and double-click to execute it.
- Reboot.
If you don't like it, you can change it back to the original state.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=-