#ddc #mccs #vcp #vesa

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

#1353 in Hardware support

Download history 86/week @ 2024-07-22 112/week @ 2024-07-29 93/week @ 2024-08-05 157/week @ 2024-08-12 92/week @ 2024-08-19 148/week @ 2024-08-26 107/week @ 2024-09-02 117/week @ 2024-09-09 119/week @ 2024-09-16 175/week @ 2024-09-23 149/week @ 2024-09-30 75/week @ 2024-10-07 99/week @ 2024-10-14 136/week @ 2024-10-21 167/week @ 2024-10-28 137/week @ 2024-11-04

555 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
~70K SLoC