Crate ddc_macos

source ·
Expand description

Implementation of DDC/CI traits on MacOS.

Example

extern crate ddc;
extern crate ddc_macos;

use ddc::Ddc;
use ddc_macos::Monitor;

for mut ddc in Monitor::enumerate().unwrap() {
    let input = ddc.get_vcp_feature(0x60).unwrap();
    println!("Current input: {:04x}", input.value());
}

Structs

  • A handle to an attached monitor that allows the use of DDC/CI operations.

Enums

  • An error that can occur during DDC/CI communication with a monitor