Home | History | Annotate | Download | only in MissileLauncher
      1 <p>MissileLauncher is a simple program that controls Dream Cheeky USB missile launchers.
      2 You control the left/right/up/down orientation of the launcher using the accelerometer.
      3 Tilt the tablet to change the direction of the launcher. Pressing the <strong>Fire</strong> button will fire one missile.</p>
      4 
      5 <p>This program serves as an example of the following USB host features:</p>
      6 <ul>
      7 <li>filtering for multiple devices based on vendor and product IDs (see <code>device_filter.xml</code>)</li>
      8 <li>Sending control requests on endpoint zero that contain data</li>
      9 <li>Receiving packets on an interrupt endpoint using a thread that calls
     10   {@link android.hardware.usb.UsbRequest#queue queue()} and {@link android.hardware.usb.UsbDeviceConnection#requestWait requestWait()}.</li>
     11 </p>