Created
August 1, 2023 20:44
-
-
Save qtfkwk/7919023f0a199b60d5dcf34eecfb6fe2 to your computer and use it in GitHub Desktop.
System-wide Swap Left Control and Caps Lock in Windows 10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; https://superuser.com/a/1264295 | |
; | |
; The hex data is in five groups of four bytes: | |
; 00,00,00,00,\ header version (always 00000000) | |
; 00,00,00,00,\ header flags (always 00000000) | |
; 03,00,00,00,\ # of entries (3 in this case) plus a NULL terminator line. | |
; Entries are in 2-byte pairs: Key code to send & keyboard key to send it. | |
; Each entry is in LSB, MSB order. | |
; 1d,00,3a,00,\ Send LEFT CTRL (0x001d) code when user presses the CAPS LOCK key (0x003a) | |
; 3a,00,1d,00,\ Send CAPS LOCK (0x003a) code when user presses the LEFT CTRL key (0x001d) | |
; 00,00,00,00 NULL terminator | |
; | |
; Use this for your user only and without admin... via | |
; https://dropline.net/2009/05/mapping-caps-lock-to-control-without-admin-access/ | |
;[HKEY_CURRENT_USER\Keyboard Layout] | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,\ | |
00,00,00,00,\ | |
03,00,00,00,\ | |
1d,00,3a,00,\ | |
3a,00,1d,00,\ | |
00,00,00,00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also