Skip to content

Instantly share code, notes, and snippets.

@jgermade
Last active April 19, 2024 08:21
Show Gist options
  • Save jgermade/d183e26913ba29a521a2ddbb62a105a3 to your computer and use it in GitHub Desktop.
Save jgermade/d183e26913ba29a521a2ddbb62a105a3 to your computer and use it in GitHub Desktop.
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,03,00,00,00,38,00,1d,00,1d,00,38,00,00,00,00,00
; 00,00,00,00 Header: Version. Set to all zeroes.
; 00,00,00,00 Header: Flags. Set to all zeroes.
; 05,00,00,00 5 entries in the map (including null entry).
; 38,00,1d,00 Left CTRL -> Left ALT (can also be another key).
; 1d,00,38,00 Left ALT -> Left CTRL.
; 38,e0,1d,e0 Right CTRL -> Right ALT.
; 1d,e0,38,e0 Right ALT -> Right CTRL.
; 00,00,00,00 Null entry.
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,03,00,00,00,38,00,1d,00,1d,00,38,00,00,00,00,00
; 00,00,00,00 Header: Version. Set to all zeroes.
; 00,00,00,00 Header: Flags. Set to all zeroes.
; 05,00,00,00 3 entries in the map (including null entry).
; 38,00,1d,00 Left CTRL -> Left ALT (can also be another key).
; 1d,00,38,00 Left ALT -> Left CTRL.
; 00,00,00,00 Null entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment