Skip to content

comsolid/remote-pad

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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