Is there an xrandr function/interface for controlling brightness?

Viewed 270

The code for xrandr is quite messy and I can't quite understand, it also severely lacks documentation. What's the best/cleanest interface to be able to control brightness through libxrandr?

edit: to clarify I want to use the api not the cli command

1 Answers
Related