Skip to content

Instantly share code, notes, and snippets.

@bugventure
Created April 10, 2019 12:20
Show Gist options
  • Save bugventure/a5c9fd29cf64ad8b17b28cfce214aad9 to your computer and use it in GitHub Desktop.
Save bugventure/a5c9fd29cf64ad8b17b28cfce214aad9 to your computer and use it in GitHub Desktop.
Remap Windows an Alt buttons for Windows on Mac
Reference: https://superuser.com/questions/1190329/can-i-switch-the-alt-and-ctrl-keys-on-my-keyboard
Other useful key codes
```
1d 00 Left Ctrl
1d e0 Right Ctrl
38 00 Left Alt
38 e0 Right Alt
5b e0 Left Windows Key
5c e0 Right Windows Key
5d e0 Windows Menu Key
```
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,5b,e0,38,00,38,00,5b,e0,00,00,00,00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment