#mccs #vcp #ddc #vesa

mccs-db

MCCS specification VCP database

7 releases

0.2.0 Feb 16, 2023
0.1.3 Feb 16, 2023
0.1.2 Mar 27, 2018
0.0.2 Mar 25, 2018

#1719 in Hardware support

Download history 87/week @ 2024-02-14 121/week @ 2024-02-21 123/week @ 2024-02-28 110/week @ 2024-03-06 130/week @ 2024-03-13 105/week @ 2024-03-20 116/week @ 2024-03-27 160/week @ 2024-04-03 90/week @ 2024-04-10 89/week @ 2024-04-17 134/week @ 2024-04-24 111/week @ 2024-05-01 98/week @ 2024-05-08 111/week @ 2024-05-15 197/week @ 2024-05-22 296/week @ 2024-05-29

717 downloads per month
Used in 5 crates (3 directly)

MIT license

39KB
775 lines

MCCS Database

release-badge docs-badge license-badge

mccs-db contains the human-readable descriptions of VCP features from the MCCS spec.

Documentation

See the documentation for up to date information.


lib.rs:

Monitor Command Control Set VCP feature code meanings and data interpretation.

Example

use mccs_db::Database;

// Read the capabilities from an external source, such as a monitor over DDC.
let caps = mccs_caps::parse_capabilities(read_display_capability_string()).unwrap();

// Load the MCCS version spec and filter by the monitor's capabilities
let mut db = Database::from_version(caps.mccs_version.as_ref().unwrap());
db.apply_capabilities(&caps);

println!("Display Capabilities: {:#?}", db);

Dependencies

~2.8–4MB
~79K SLoC