0

Does there exist an API for the xbacklight utility?

I'd like to make a graphical frontend in either C, C++, or Python, but I can't find any documentation.

My only guess at integration at this point would be making a call to system(), but I like to call libraries directly.

Does xbacklight have a library interface, or do I have to just call the executable?

4

1 回答 1

0

The xbacklight source code can be found here.

It wouldn't be hard to modify the C source into an API for other languages.

于 2014-10-07T21:20:28.633 回答