anishathalye / lumen

Magic auto brightness based on screen contents 💡

Home Page:https://anishathalye.com/lumen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faster / no fade effect

balaclark opened this issue · comments

This tool is great, thanks! My only qualm is that you get a flash of brightness due to the fade effect of the brightness change, any chance to make the change instant / faster?

Hmm, so Lumen isn't doing any smooth transitions on purpose. I'm just doing:

IODisplaySetFloatParameter(service, kNilOptions, CFSTR(kIODisplayBrightnessKey), level);

Other people have asked about disabling brightness fading on Stack Exchange, but there are no answers there.

I don't know if it's possible.

(I think it's more of a "cantfix" than a "wontfix")

OK, thanks for looking into it!