Skip to content

Commit

Permalink
add key hex refs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnko committed Jun 21, 2024
1 parent 69c0856 commit 3d559bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/macos-f5-f6-keyboard-brightness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@ set -eux

# source: https://www.reddit.com/r/macbook/comments/x3ovje/is_there_a_way_to_adjust_keyboard_brightness_from/
# other: https://hidutil-generator.netlify.app/
# other: https://mybyways.com/blog/script-to-re-map-macbook-pro-function-keys

# replaces (dictation button) F5 and (focus button) F6 with keyboard brightness and eject to play/pause

# fn_dict=0xc000000cf
# f5=0x70000003E
# fn_kbd_dec=0xff00000009

# fn_dnd=0x10000009b
# f6=0x70000003F
# fn_kbd_inc=0xff00000008

# eject=0xC000000B8
# fn_play=0xc000000cd

MAPPING='
{
"UserKeyMapping":[
Expand Down

0 comments on commit 3d559bd

Please sign in to comment.