コード例 #1
0
        public VcpControl(Monitor monitor)
        {
            Monitor    = monitor;
            Brightness = new MonitorLevel(GetBrightness, SetBrightness);
            Contrast   = new MonitorLevel(GetContrast, SetContrast);

            Gain  = new MonitorRgbLevel(GetGain, SetGain);
            Drive = new MonitorRgbLevel(GetDrive, SetDrive);
        }
コード例 #2
0
 public static VcpControl Vcp(this Monitor monitor) => AllVcp.GetValue(monitor, m => new VcpControl(monitor));