Exddcutil.VCP (Exddcutil v0.1.0)
View SourceVCP (Virtual Control Panel) code constants and utilities for DDC/CI commands.
This module provides constants for common VCP feature codes and helper functions to convert between different code representations.
Summary
Functions
VCP code for blue gain/drive (0x1A)
VCP code for brightness control (0x10)
VCP code for color preset/temperature (0x14)
VCP code for contrast control (0x12)
VCP code for display mode (0xDC)
VCP code for green gain/drive (0x18)
VCP code for input source selection (0x60)
VCP code for red gain/drive (0x16)
VCP code for screen orientation (0xAA)
Converts a VCP code to the argument format expected by ddcutil.
Converts a VCP value to the argument format expected by ddcutil.
Functions
VCP code for blue gain/drive (0x1A)
VCP code for brightness control (0x10)
VCP code for color preset/temperature (0x14)
VCP code for contrast control (0x12)
VCP code for display mode (0xDC)
VCP code for green gain/drive (0x18)
VCP code for input source selection (0x60)
VCP code for red gain/drive (0x16)
VCP code for screen orientation (0xAA)
@spec to_code_arg(non_neg_integer() | String.t()) :: String.t()
Converts a VCP code to the argument format expected by ddcutil.
Integers are converted to lowercase hex strings, hex strings are passed through.
@spec to_value_arg(non_neg_integer() | String.t()) :: String.t()
Converts a VCP value to the argument format expected by ddcutil.
Integers are converted to strings, hex strings are passed through.