feat(backlight): add brightness control

This commit is contained in:
Kuruyia
2023-02-01 14:40:36 +01:00
parent c93811b158
commit a78f0124d2
3 changed files with 85 additions and 2 deletions

View File

@ -50,6 +50,8 @@ class Backlight : public ALabel {
template <class ForwardIt, class Inserter>
static void enumerate_devices(ForwardIt first, ForwardIt last, Inserter inserter, udev *udev);
bool handleScroll(GdkEventScroll* e);
const std::string preferred_device_;
static constexpr int EPOLL_MAX_EVENTS = 16;