HidEvent.cs
changeset 31 958ed29f977c
parent 29 7679a5ab194b
child 40 b3e177062849
     1.1 --- a/HidEvent.cs	Sun Dec 14 18:17:40 2014 +0100
     1.2 +++ b/HidEvent.cs	Thu Dec 18 22:43:32 2014 +0100
     1.3 @@ -28,6 +28,7 @@
     1.4  
     1.5          public ushort UsagePage { get; private set; }
     1.6          public ushort UsageCollection { get; private set; }
     1.7 +        public uint UsageId { get { return ((uint)UsagePage << 16 | (uint)UsageCollection); } }
     1.8          public List<ushort> Usages { get; private set; }
     1.9  
    1.10