Created
November 26, 2020 16:25
-
-
Save miguelludert/6ab727b7e6969e6a7c582c0bffc7ba9f to your computer and use it in GitHub Desktop.
Keyboard remapping
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
# guide https://www.nanoant.com/mac/macos-function-key-remapping-with-hidutil | |
# map https://www.freebsddiary.org/APC/usb_hid_usages.php | |
hidutil property --matching '{"ProductID":0x07a5}' --set '{ | |
"UserKeyMapping":[ | |
{"HIDKeyboardModifierMappingSrc":0x000700000039,"HIDKeyboardModifierMappingDst": 0x00070000002b}, | |
{"HIDKeyboardModifierMappingSrc":0x0007000000E0,"HIDKeyboardModifierMappingDst": 0x0007000000E3}, | |
{"HIDKeyboardModifierMappingSrc":0x0007000000E4,"HIDKeyboardModifierMappingDst": 0x0007000000E7}, | |
{"HIDKeyboardModifierMappingSrc":0x0007000000E3,"HIDKeyboardModifierMappingDst": 0x0007000000E0}, | |
{"HIDKeyboardModifierMappingSrc":0x0007000000E7,"HIDKeyboardModifierMappingDst": 0x0007000000E4} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment