Control your usb missile launcher with this node.js script.
Use the arrow keys to move the tower and fire with the spacebar!
- Clone this repository
- Install dependencies with
npm install - Plug your usb missile launcher to your computer
- Run the
launcher.jsscript withnode launcher.js
The script is expected to work with several types of USB missile launchers.
| Name | Vendor | Status |
|---|---|---|
| USB Raketenwerfer | getDigital | Works |
| Thunder | DreamCheeky | Not tested |
Any Missile launcher that looks like this should be supported...
- Edit the
launcher.jsfile - Look for a variable called
launcher - Change the value of this variable with your launcher's HID path (check following section if you don't know how)
- Launch the script with
node launcher.js
- Open a node.js console by running
nodein your terminal - Require
node-hidwithvar HID = require('node-hid') - List all devices with
HID.devices()
If other USB missile launchers work with this script, tell us and we'll add it to the list of supported devices.
