7 unstable releases

0.4.1 Nov 13, 2021
0.4.0 Aug 6, 2021
0.3.0 Sep 22, 2020
0.2.0 Sep 22, 2020
0.1.3 Mar 30, 2018

#1224 in Hardware support

Download history 93/week @ 2024-02-14 111/week @ 2024-02-21 120/week @ 2024-02-28 104/week @ 2024-03-06 110/week @ 2024-03-13 111/week @ 2024-03-20 117/week @ 2024-03-27 152/week @ 2024-04-03 79/week @ 2024-04-10 82/week @ 2024-04-17 114/week @ 2024-04-24 104/week @ 2024-05-01 82/week @ 2024-05-08 95/week @ 2024-05-15 155/week @ 2024-05-22 144/week @ 2024-05-29

492 downloads per month
Used in 4 crates

MIT license

24KB
518 lines

ddc-hi

release-badge docs-badge license-badge

High level DDC/CI monitor controls.

Documentation

See the documentation for up to date information.


lib.rs:

High level DDC/CI monitor controls.

Example

use ddc_hi::{Ddc, Display};

for mut display in Display::enumerate() {
    display.update_capabilities().unwrap();
    println!("{:?} {}: {:?} {:?}",
        display.info.backend, display.info.id,
        display.info.manufacturer_id, display.info.model_name
    );
    if let Some(feature) = display.info.mccs_database.get(0xdf) {
        let value = display.handle.get_vcp_feature(feature.code).unwrap();
        println!("{}: {:?}", feature.name.as_ref().unwrap(), value);
    }
}

Dependencies

~2.5–3.5MB
~73K SLoC