Skip to content

Instantly share code, notes, and snippets.

@Boggin
Created June 19, 2019 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Boggin/9f9fbf8b10ae2eedd7870c6765b03b02 to your computer and use it in GitHub Desktop.
Save Boggin/9f9fbf8b10ae2eedd7870c6765b03b02 to your computer and use it in GitHub Desktop.
Registry edit for keymapping
Windows Registry Editor Version 5.00
; 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)
; 02,00,00,00,\ # of entries (1 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.
; 01,00,3a,00,\ Send ESC (0x0001) code when user presses the CAPS LOCK key (0x003a)
; 00,00,00,00 NULL terminator
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
00,00,00,00,\
02,00,00,00,\
01,00,3a,00,\
00,00,00,00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment