comsolid / remote-pad

Aplicativo web capaz de enviar dados para um Broker MQTT e controlar jogos em emuladores

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote Pad

Build Status GitHub license

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

racepad-page

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.

architecture

Directional Pad

diretional-pad-page

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

About

Aplicativo web capaz de enviar dados para um Broker MQTT e controlar jogos em emuladores

License:GNU General Public License v3.0


Languages

Language:Vue 45.5%Language:JavaScript 43.9%Language:HTML 6.8%Language:CSS 3.5%Language:Shell 0.3%