wluma 4.4.0

Automatic brightness adjustment based on screen contents and ALS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::predictor::Controller;
use std::{thread, time::Duration};

#[derive(Default)]
pub struct Capturer {}

impl super::Capturer for Capturer {
    fn run(&self, _output_name: &str, mut controller: Controller) {
        loop {
            controller.adjust(0);
            thread::sleep(Duration::from_millis(200));
        }
    }
}