Created
May 25, 2021 08:33
-
-
Save hrom512/2d0c3ac92064c414df3bbd89fe410aa8 to your computer and use it in GitHub Desktop.
Remap keys on MacOS for European keyboard
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
# https://developer.apple.com/library/archive/technotes/tn2450/_index.html | |
# 0xE1 - Left Shift | |
# 0x35 - ` and ~ | |
# 0x64 - § and ± | |
# ± => ~ | |
# ~ => left shift | |
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x7000000E1},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment