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 |
#1912 in Hardware support
538 downloads per month
Used in 6 crates
(3 directly)
39KB
775 lines
MCCS Database
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.6–3.5MB
~75K SLoC