RawInput.cs
changeset 65 09f1435bfb94
parent 64 8c2380995bb7
child 69 b27d6b8527e2
     1.1 --- a/RawInput.cs	Sun Feb 15 22:13:33 2015 +0100
     1.2 +++ b/RawInput.cs	Sun Feb 15 22:57:38 2015 +0100
     1.3 @@ -206,7 +206,20 @@
     1.4                  {
     1.5                      node.Nodes.Add(hidDevice.InputCapabilitiesDescription);
     1.6                  }
     1.7 -                
     1.8 +
     1.9 +                if (hidDevice.InputValueCapabilities != null)
    1.10 +                {
    1.11 +                    foreach (HIDP_VALUE_CAPS caps in hidDevice.InputValueCapabilities)
    1.12 +                    {
    1.13 +                        string des = hidDevice.InputValueCapabilityDescription(caps);
    1.14 +                        if (des != null)
    1.15 +                        {
    1.16 +                            node.Nodes.Add(des);
    1.17 +                        }
    1.18 +                    }
    1.19 +
    1.20 +                }
    1.21 +
    1.22                  node.Nodes.Add(hidDevice.Name);
    1.23              }
    1.24          }