Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl + F1/F2 should change the internal monitor's brightness #148

Closed
tjarksaul opened this issue Nov 6, 2019 · 6 comments · Fixed by #175
Closed

Ctrl + F1/F2 should change the internal monitor's brightness #148

tjarksaul opened this issue Nov 6, 2019 · 6 comments · Fixed by #175
Labels
Status: In progress Issue currently being worked on Type: Enhancement Issue is an app enhancement

Comments

@tjarksaul
Copy link

This is the default behaviour on Apple monitors.

@jhildenbiddle
Copy link

I'd also like some way to control brightness of the internal display when using MonitorControl with an external monitor.

@yedlosh
Copy link

yedlosh commented Nov 29, 2019

Right now I am using this one instead of MonitorControl to achieve that:
https://github.com/Bensge/NativeDisplayBrightness

It has no UI, it's not supported anymore, but it simply controls brightness of all my external monitors at once using F1/F2. Which is actually everything I needed.

So Fn keys remain free to control internal display, and F1/F2 (for me actually Fn+F1/F2) control the external ones.. and it just works 👍

@JoniVR JoniVR added the Type: Enhancement Issue is an app enhancement label Dec 3, 2019
JoniVR pushed a commit that referenced this issue Jan 15, 2020
This would allow us to more easily control the built-in display. Allowing for easier implementation of certain feature requests (for example #148).
@JoniVR
Copy link
Member

JoniVR commented Jan 22, 2020

This is something that I plan on adding together with #118 but it requires a lot of rewriting under the hood.. and I'm very limited in time. I made some of the first steps in previous commit linked here (46d7cb6) rewriting the display managing logic.

The project was long overdue for some refactoring of the display logic anyways..

@JoniVR JoniVR added the Status: In progress Issue currently being worked on label Jan 26, 2020
@JoniVR JoniVR added Status: Blocked Work on this issue is blocked (reason in comment) and removed Status: In progress Issue currently being worked on labels Jan 31, 2020
JoniVR pushed a commit that referenced this issue Feb 1, 2020
* Split `Display` into `InternalDisplay` and `ExternalDisplay`
* Add functions for controlling internal display brightness
* Refactor `DisplayManager`
(#148)
@JoniVR
Copy link
Member

JoniVR commented Feb 1, 2020

Most of the code refactor is done, the internal display respects the isEnabled option inside settings and should also work with ctrl modifier (in that case no other displays will be controlled).

Just waiting for MonitorControl/MediaKeyTap#5 to be reviewed/merged right now. After that I'll do a few more final things and open a PR for review.

image

@the0neyouseek
Copy link
Member

@JoniVR Merged 😉
Thanks for all your hard work on this

@JoniVR JoniVR added Status: In progress Issue currently being worked on and removed Status: Blocked Work on this issue is blocked (reason in comment) labels Feb 1, 2020
@JoniVR
Copy link
Member

JoniVR commented Feb 1, 2020

Pull Request has been submitted!

For the people that know how to, please feel free to test/review it and report any issues since a lot of the display logic has changed, there's always a bigger chance of introducing new issues. It's pretty hard to test with only one configuration so the more people that test it the better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In progress Issue currently being worked on Type: Enhancement Issue is an app enhancement
Projects
None yet
5 participants