7 unstable releases
0.4.1 | Nov 13, 2021 |
---|---|
0.4.0 |
|
0.3.0 | Sep 22, 2020 |
0.2.0 | Sep 22, 2020 |
0.1.3 | Mar 30, 2018 |
#1353 in Hardware support
555 downloads per month
Used in 5 crates
24KB
518 lines
ddc-hi
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