-
Install dependences: npm install
-
Start server: npm start
-
Go to your-ip:3000 in your phone or use /client as a aplication in your device
When the server is started, a node server is created. The server listen to POST messages from the client aplication containing the data from gyroscope and acelerometer of the device. Then, the server calls the mouse-controller module to update the mouse position on screen.