Server/ConsumerElectronicControl.cs
changeset 202 8784c59c784e
parent 197 c66ec88ed19d
child 203 ce63ebb51da4
     1.1 --- a/Server/ConsumerElectronicControl.cs	Fri Jul 15 18:31:17 2016 +0200
     1.2 +++ b/Server/ConsumerElectronicControl.cs	Sat Jul 16 00:24:08 2016 +0200
     1.3 @@ -19,6 +19,11 @@
     1.4          ///TODO: have a more solid implementation
     1.5          public bool MonitorPowerOn;
     1.6  
     1.7 +        public void TestSendKeys()
     1.8 +        {
     1.9 +            iCecClient.TestSendKey();
    1.10 +        }
    1.11 +
    1.12          /// <summary>
    1.13          /// 
    1.14          /// </summary>
    1.15 @@ -46,7 +51,7 @@
    1.16              }
    1.17  
    1.18              //CEC
    1.19 -            iCecClient = new Cec.Client(aDeviceName,aHdmiPort);
    1.20 +            iCecClient = new Cec.Client(aDeviceName,aHdmiPort, CecLogLevel.Notice);
    1.21              if (!iCecClient.Connect(1000))
    1.22              {
    1.23                  Debug.WriteLine("WARNING: No CEC connection!");