Support for launch action and WMC HID events.
4 using System.Collections.Generic;
6 using System.Runtime.Serialization;
8 using System.Threading.Tasks;
10 namespace SharpDisplayManager
14 [AttributeObject(Id = "Cec.Scan", Name = "CEC Scan", Description = "Scan devices on your CEC HDMI network.")]
15 class ActionCecScan : SharpLib.Ear.Action
17 protected override void DoExecute()
19 if (Cec.Client.Static == null)
21 Console.WriteLine("WARNING: No CEC client installed.");
25 Cec.Client.Static.Scan();