Fixing EAR event edition.
EAR HID event now displays 'Press a key' if not valid.
4 using System.Collections.Generic;
6 using System.Runtime.Serialization;
8 using System.Threading.Tasks;
10 namespace SharpDisplayManager
13 [AttributeObject(Id = "Cec.InactiveSource", Name = "CEC Inactive Source", Description = "Set this CEC device as inactive source.")]
14 class ActionCecInactiveSource : SharpLib.Ear.Action
16 protected override void DoExecute()
18 if (Cec.Client.Static == null)
20 Console.WriteLine("WARNING: No CEC client installed.");
24 Cec.Client.Static.Lib.SetInactiveView();