xref: /aosp_15_r20/development/samples/USB/MissileLauncher/README.txt (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard WorkerMissileLauncher is a simple program that controls Dream Cheeky USB missile launchers.
2*90c8c64dSAndroid Build Coastguard WorkerYou control the left/right/up/down orientation of the launcher using the accelerometer.
3*90c8c64dSAndroid Build Coastguard WorkerTilt the tablet to change the direction of the launcher.
4*90c8c64dSAndroid Build Coastguard WorkerPressing the "Fire" button will fire one missile.
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard WorkerThis program serves as an example of the following USB host features:
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker- filtering for multiple devices based on vendor and product IDs (see device_filter.xml)
9*90c8c64dSAndroid Build Coastguard Worker
10*90c8c64dSAndroid Build Coastguard Worker- Sending control requests on endpoint zero that contain data
11*90c8c64dSAndroid Build Coastguard Worker
12*90c8c64dSAndroid Build Coastguard Worker- Receiving packets on an interrupt endpoint using a thread that calls
13*90c8c64dSAndroid Build Coastguard Worker  UsbRequest.queue and UsbDeviceConnection.requestWait()
14