niklasr22 / BrightIntosh

Unlock the full brightness of the XDR display of your MacBook Pro
https://brightintosh.de/
GNU General Public License v3.0
274 stars 19 forks source link

Add shortcut keys for gamma control #37

Closed SUPERCELLEX closed 1 year ago

SUPERCELLEX commented 1 year ago

This commit will add shortcut keys to the gamma controls, rename some functions to be more organized, and a legend for the keys on the menu. These keys may work on non-debug builds, so beware of releasing the code without any modifications if you do not want undocumented features. The default shortcut keys are command option minus and command option equals, but the legend will show command option plus instead of equals for visual consistency, despite command option equals needing no shift key to press. This code was mostly copy and paste changes so should be easily modifiable for both the legend and the actual shortcut.

SUPERCELLEX commented 1 year ago

Supersceded as of https://github.com/niklasr22/BrightIntosh/issues/49... and I have no idea how to SwiftUI, unfortunately