简体   繁体   中英

Changing brightness of the Macbook(Pro) keyboard backlight

以编程方式,如何使用Python修改Macbook或Macbook Pro上背光键盘的亮度?

Amit Singh在这个在线奖励章节中讨论了这些未记录的API,但是这样做是使用C - 我不确定是否存在Python扩展来从Python执行相同的工作,也许作为PyObjC的一部分(否则,这样的扩展会有写入 - 或用于直接从Python [shudder ;-)]访问共享C库的ctypes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM