Adds illumination_decrement and illumination_increment hex codes as of macOS 13.4 Ventura.
The latest M2 macbooks removed hardware media keys for keyboard backlight control which many users may be looking to re-implement via remapping. I've tested that the values for decrementing and incrementing the keyboard backlight work by remapping F5 and F6 keys to decrement and increment respectively using the following command:
Note that I have changed settings in my system preferences to default the keyboard to using function keys and media keys are accessed via using the FN modifier key alongside the desired media key.
Adds
illumination_decrement
andillumination_increment
hex codes as of macOS 13.4 Ventura.The latest M2 macbooks removed hardware media keys for keyboard backlight control which many users may be looking to re-implement via remapping. I've tested that the values for decrementing and incrementing the keyboard backlight work by remapping F5 and F6 keys to decrement and increment respectively using the following command:
/usr/bin/hidutil property --set "{\"UserKeyMapping\":[{\"HIDKeyboardModifierMappingSrc\": 0x70000003E,\"HIDKeyboardModifierMappingDst\": 0xFF00000009},{\"HIDKeyboardModifierMappingSrc\": 0x70000003F, \"HIDKeyboardModifierMappingDst\": 0xFF00000008}]}"
Note that I have changed settings in my system preferences to default the keyboard to using function keys and media keys are accessed via using the FN modifier key alongside the desired media key.