Hello,
I'm trying to control the brightness of a Mac display through IOKit methods such as:
IODisplaySetFloatParameter(service, 0, kIODisplayBrightnessKey as CFString, 0.0)
IODisplaySetFloatParameter(service, 0, kIODisplayBrightnessKey as CFString, 1.0)
It works well (on my MacBookPro) but there is a latency and fading effect between brightness transitions. I'd like the transition to be immediate or with a very low latency.
Is there a way to disable this fading effect? I have tried to use kIODisplayBrightnessFadeKey with no luck...
Thanks,
Franck.