diff options
Diffstat (limited to 'brightness_ctrl.hpp')
-rw-r--r-- | brightness_ctrl.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/brightness_ctrl.hpp b/brightness_ctrl.hpp index 4a94e0b..57bcffd 100644 --- a/brightness_ctrl.hpp +++ b/brightness_ctrl.hpp @@ -12,7 +12,7 @@ class BrightnessControl private: filesystem::path cpath,brpath,maxbrpath; std::vector<int> thresh,value; - int delay,direction,br,maxbr,tr,offset; + int delay,direction,br,maxbr,minabr,tr,offset; size_t cur; SensorALS *als; std::mutex interrupt_m,threshnotify_m; @@ -25,9 +25,11 @@ public: void set_value(std::vector<int> _v); void set_delay(int _d); void set_trigrange(int _tr); + void set_minabr(int _mbr); void set_offset(int rel,int off); + void force_adjust(); void on_sensor_report(float v); void brightness_slide(int p); void worker(); |