HumanInterfaceDevice.cs
changeset 21 fb4f80d5cf57
parent 19 d066e3999973
child 25 5f4e0fbb3ea1
     1.1 --- a/HumanInterfaceDevice.cs	Sat Dec 06 01:09:32 2014 +0100
     1.2 +++ b/HumanInterfaceDevice.cs	Sat Dec 06 01:53:55 2014 +0100
     1.3 @@ -48,13 +48,34 @@
     1.4          TerraTecRemote = 0xffcc
     1.5      }
     1.6  
     1.7 -    /// <summary>
     1.8 -/// 
     1.9 -/// </summary>
    1.10 -    public enum UsageId: ushort
    1.11 +    public enum UsageIdGenericDesktop : ushort
    1.12 +    {      
    1.13 +        Pointer = 0x01,
    1.14 +        Mouse = 0x02,
    1.15 +        Joystick = 0x04,
    1.16 +        GamePad = 0x05,
    1.17 +        Keyboard = 0x06,
    1.18 +        KeyPad = 0x07,
    1.19 +        MultiAxisController = 0x08,
    1.20 +        TabletPCSystemControls = 0x09,
    1.21 +        SystemControl = 0x80
    1.22 +    }
    1.23 +
    1.24 +    public enum UsageIdConsumer : ushort
    1.25      {
    1.26 -        MceRemoteUsage = 0x88,
    1.27 -        ConsumerControl = 0x01
    1.28 +        ConsumerControl = 0x01,
    1.29 +        NumericKeyPad = 0x02,
    1.30 +        ProgrammableButtons = 0x03,
    1.31 +        Microphone = 0x04,
    1.32 +        Headphone = 0x05,
    1.33 +        GraphicEqualizer = 0x06,
    1.34 +        Selection = 0x80,
    1.35 +    }
    1.36 +
    1.37 +    
    1.38 +    public enum UsageIdMce: ushort
    1.39 +    {
    1.40 +        MceRemote = 0x88        
    1.41      }
    1.42  
    1.43