xref: /aosp_15_r20/development/samples/USB/MissileLauncher/README.txt (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1MissileLauncher is a simple program that controls Dream Cheeky USB missile launchers.
2You control the left/right/up/down orientation of the launcher using the accelerometer.
3Tilt the tablet to change the direction of the launcher.
4Pressing the "Fire" button will fire one missile.
5
6This 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