Skip to content

Separate screen and keyboard brightness handling in BackendInterface

Nicolas Fella requested to merge work/nico/separate-brightness into master

Currently screen and keyboard brightness handling are using the same functions, using an enum parameter to differentiate between the two.

While they behave very similar the two are conceptually separate things, and can behave subtly different at times. The implementation is also mostly completely different.

Separating this into two sets of functions makes the code a bit simpler and also easier to extend with changes that are specific to either of them (like per-screen brightness values)

Merge request reports

Loading