title: USBHIDDRIVER , getting started
body: <p>newb warning*.   using vb c#, windows7x64, i added USBHIDDRIVER reference, and imported on firstlines:</p>
  
  <p>using USBHIDDRIVER;</p>
  
  <p>i have also tried several examples such as simple HID,  but USBHIDDRIVER example I used here seems more to my level:</p>
  
  <pre><code>        private void button4_Click(object sender, EventArgs e)
          {
              USBHIDDRIVER.USBInterface usbI = new USBInterface("vid_045E", "pid_028E");
  
   byte[] startCMD = new byte[8];
  startCMD[7] = 4;
  usbI.Connect();
  
              usbI.write(startCMD);              //breakpoint goes here
  
          }
  </code></pre>
  
  <p>i am testing on two seperate HID-game controllers, both can be detected using USBlyzer,</p>
  
  <p>i can play games on first controller no problem:</p>
  
  <pre><code>Instance ID:    HID\VID_045E&amp;PID_028E&amp;IG_00\9&amp;1C2DA766&amp;0&amp;0000
  Hardware IDs:   HID\VID_045E&amp;PID_028E&amp;IG_00
      HID_DEVICE_SYSTEM_GAME
      HID_DEVICE_UP:0001_U:0005
      HID_DEVICE
  </code></pre>
  
  <p>second controller, i am writing this program cos generic driver is able to receive buttons but not advanced controls, which i want to decode for this application specifically ,  </p>
  
  <pre><code>Instance ID:    HID\VID_054C&amp;PID_03D5&amp;COL01\6&amp;1461C0C1&amp;0&amp;0000
  Hardware IDs:   HID\VID_054C&amp;PID_03D5&amp;REV_0300&amp;Col01
      HID\VID_054C&amp;PID_03D5&amp;Col01
      HID_DEVICE_SYSTEM_GAME
      HID_DEVICE_UP:0001_U:0005
      HID_DEVICE
  </code></pre>
  
  <p>but when i hit breakpoint watch says:</p>
  
  <pre><code>isConnected false   bool
  usbPID  "pid_028E"  string
  usbVID  "vid_045E"  string
  </code></pre>
  
  <p>im sure there is something simple im missing as is usually the case! </p>