Remote Pad
MQTT client running a vue SPA that is supposed to send commands as if it were the keyboard to a MQTT Broker remote-pad-server.
The ideia is to create a virtual gamepad for example for a race game, like Top Gear or Mario Kart 64, send commands to the server that will proper execute the keyboard keys: left and right, A, B, etc.
Race Pad page example
In the example the Y axis
of the accelerometer is used as the input for left
and right. And the buttons are use to send the equivalent keys of a emulator input keys.
Directional Pad
Good for games like SNES Bomberman, N64 Mario Tennis.
Getting Started
You can install Remote Pad GUI to start a desktop app.
A video of this application can be seen at https://www.youtube.com/watch?v=93f1dRWxhyc.
Development
# install dependencies
npm install # or yarn
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
For production
Install a proccess manager
sudo npm install pm2@latest -g
Start the server
pm2 start production/process.yml
Monitoring
pm2 monit