fnesveda / ExternalDisplayBrightness

A Mac app to control the brightness of external displays using keyboard shortcuts
https://www.nesveda.com/projects/ExternalDisplayBrightness/
MIT License
378 stars 17 forks source link

How to make this work on MacBook Pro 2015? #4

Open borekb opened 4 years ago

borekb commented 4 years ago

Hi, I'm trying this app as an alternative to https://github.com/ojotoxy/Brightness, the main feature for me being a sync of brightness of my laptop screen and an external display. However, the default F14 and F15 keys don't seem to do anything.

What are the keys that I should set on a MacBook Pro? Thanks!

fnesveda commented 4 years ago

Hi,

I don't have the 2015 MacBook Pro myself, so I'm not sure, but can you try the MK_BDN and MK_BUP keys? Those are the keys that should work for the external Magic Keyboard, but perhaps they will work for your MacBook Pro as well.

Just for future reference, does your MacBook have the US keyboard, or the Czech one?

Thanks.

borekb commented 4 years ago

Sorry, I forgot to mention that I already tried MK_BDN and MK_BUP keys, they didn't work either.

Yes, my MBP has a Czech layout, looks like this:

image

fnesveda commented 4 years ago

Okay, that's kind of strange, I thought at least one of F14+F15 and MK_BDN+MK_BUP would work here. Just to make sure, did you grant the app the accessibility permissions it was asking for during the first start?

Also, could you check if you have the option "Use F1, F2, etc. keys as standard function keys" in System Preferences -> Keyboard -> Keyboard checked, or not?

And finally, could you please try using the Key Codes app to see what keycodes are generated by the brightness keys on your keyboard?

Thanks!

borekb commented 4 years ago

Not sure when I'll be able to get to this but thanks for all the hints.