Last active
August 20, 2022 17:17
-
-
Save NeoHBz/0d16e32cef118122622e9cc1b53ad49b to your computer and use it in GitHub Desktop.
Command to Remap F4 and F5 keys to control keyboard brightness on newer MacBook models, no reboot required.
This file contains 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
hidutil property --set '{"UserKeyMapping":[ | |
{ | |
"HIDKeyboardModifierMappingSrc": 0xC00000221, | |
"HIDKeyboardModifierMappingDst": 0xFF00000009 | |
}, | |
{ | |
"HIDKeyboardModifierMappingSrc": 0xC000000CF, | |
"HIDKeyboardModifierMappingDst": 0xFF00000008 | |
} | |
]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment