Skip to content

Instantly share code, notes, and snippets.

@penryu
Last active April 14, 2022 22:55
Show Gist options
  • Save penryu/14ace04dc097a17d5681d178f499ac6d to your computer and use it in GitHub Desktop.
Save penryu/14ace04dc097a17d5681d178f499ac6d to your computer and use it in GitHub Desktop.
Windows Registry patch to turn Caps Lock key into Control
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
@penryu
Copy link
Author

penryu commented Apr 14, 2022

Note: I haven't even looked at this in about 10 years, so no clue if the path or scancodes are still valid.

@penryu
Copy link
Author

penryu commented Apr 14, 2022

According to this link, the above patch still works: https://superuser.com/questions/949385/map-capslock-to-control-in-windows-10

It also describes a PowerShell method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment