Home | History | Annotate | Download | only in MissileLauncher
      1 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.
      4 Pressing the "Fire" button will fire one missile.
      5 
      6 This program serves as an example of the following USB host features:
      7 
      8 - filtering for multiple devices based on vendor and product IDs (see device_filter.xml)
      9 
     10 - Sending control requests on endpoint zero that contain data
     11 
     12 - Receiving packets on an interrupt endpoint using a thread that calls
     13   UsbRequest.queue and UsbDeviceConnection.requestWait()
     14