ddc-hi

High level DDC/CI monitor control

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
Download history 55/week @ 2024-07-03 135/week @ 2024-07-10 99/week @ 2024-07-17 113/week @ 2024-07-24 90/week @ 2024-07-31 103/week @ 2024-08-07 155/week @ 2024-08-14 86/week @ 2024-08-21 152/week @ 2024-08-28 108/week @ 2024-09-04 134/week @ 2024-09-11 102/week @ 2024-09-18 185/week @ 2024-09-25 131/week @ 2024-10-02 88/week @ 2024-10-09 83/week @ 2024-10-16

504 downloads per month
Used in 5 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.4–3.5MB
~71K SLoC