---Install---
-
$ npm install
-
edit the following line in public/javascripts/scripts.js: var socket = io.connect('http://10.0.0.3');
replace 'http://10.0.0.3' with the local IP address of your host machine. save.
-
$ gcc controller_interface.c -o gamepad-interface
-
$ sudo node app.js
-
connect smartphone to same WiFi network, navigate to above IP address in the browser