how can I change the brightness of the keyboard ba

2019-08-17 15:14发布

问题:

I just the want to change the brightness of the backlit by programming.
If should use the private API, never mind, just want to finish the function.
Anyone can tell me which API should I to use?

回答1:

Might want to check out this article: http://www.osxbook.com/book/bonus/chapter10/light/.

It was mentioned in a previous question that might be related to this question.

Please note that the article (at the time of writing [2006],) does say:

There Are No Published Motion/Light Sensor APIs