pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.75k stars 837 forks source link

apple_display_brightness_increment and decrement broken on macOS Big Sur #2505

Open michaelsilver opened 3 years ago

michaelsilver commented 3 years ago

These keys do nothing (in Catalina these adjusted the Thunderbolt Display brightness):

type:key_down        code:65551      name:apple_display_b misc:
type:key_up          code:65551      name:apple_display_b misc:
type:key_down        code:65550      name:apple_display_b misc:
type:key_up          code:65550      name:apple_display_b misc:

These keys adjust the brightness of my laptop screen:

type:key_down        code:65552      name:apple_top_case_ misc:
type:key_up          code:65552      name:apple_top_case_ misc:
type:key_down        code:65553      name:apple_top_case_ misc:
type:key_up          code:65553      name:apple_top_case_ misc:
michaelsilver commented 3 years ago

I've also tried the following replacements with no avail:

michaelsilver commented 3 years ago

Workaround update: remapping the desired keys to the following worked for me:

key: "scroll lock" to decrease brightness key: "pause" to increase brightness

Credit to https://apple.stackexchange.com/a/129291

HUANYU2015 commented 3 years ago

Setting the devices/advance is not valid!

ebelinski commented 3 years ago

Workaround update: remapping the desired keys to the following worked for me:

key: "scroll lock" to decrease brightness key: "pause" to increase brightness

Credit to https://apple.stackexchange.com/a/129291

Thank you @michaelsilver, this worked for me. More specifically, what I did was go to Karabiner-Elements Preferences > "Function keys" tab and changed f1 to scroll_lock and f2 to pause. Now I can use F1 and F2 to decrease/increase brightness again in macOS Big Sur. Here is what my configuration looks like:

Screen Shot 2020-12-10 at 5 44 07 PM

AndrewHaglund commented 2 years ago

scroll_lock (f1) and pause (f2) are both under the Keys in pc keyboard category in the dropdown.

Took me a couple minutes to find those actions so I figured I'd share. Thanks for sharing the workaround!

dlejay commented 2 years ago

Same problem here on a Mac Studio + Studio Display, macOS Monterey.

Hand fix: map F1 and F2 to brightness_down and brightness_up instead of apple_display_brightness_decrement and apple_display_brightness_increment.

andrewzey commented 2 years ago

Same problem here on a Mac Studio + Studio Display, macOS Monterey.

Hand fix: map F1 and F2 to brightness_down and brightness_up instead of apple_display_brightness_decrement and apple_display_brightness_increment.

This resolved the issue for me as well. Thanks!

Running 16" M1 Max Macbook Pro on MacOS Monterey 12.6 with an Apple Studio Display