Controls Sphero / BB-8 with a Dualshock controller
Just run the following command to download all npm modules:
$ npm install
Pair your Dualshock on your computer. See orbotix/sphero.js to know how to pair (or not!) your Sphero. Complete begin of index.js with your Sphero BLE address or port.
Using orbotix/sphero.js and a fork of rdepena/node-dualshock-controller. Tested with a Dualshock4 with bluetooth on Linux.