This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This small JS script enables you to control your Valetudo-enabled robot using a gamepad | |
* You will need to install node-hid as well as needle by running npm install node-hid and npm install needle | |
* | |
* Then, please edit VALETUDO_HOST so that it matches your setup. | |
* | |
* Keep in mind that there are no sanity checks and there's also no error handling. | |
* Your robot needs to implement the ManualControlCapability and your controller needs to be already connected | |
* | |
* Keymap: |