jehervy/node-virtual-gamepads
소개
Node.js용 가상 게임패드입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalnode-virtual-gamepads
This nodejs application turns your smartphone into a gamepad controller on Linux OS simply by reaching a local address. You can virtually plug in multiple gamepad controllers.
Demo
Demo video 1 player in game here
Demo video 3 players on EmulStation here
Prerequisite
This application is only compatible with Linux OS with the uinput kernel module installed.
Installation
git clone https://github.com/miroof/node-virtual-gamepads
cd node-virtual-gamepads
npm install
If you encounter problems while installing or running node-virtual-gamepads have a look at the troubleshooting page.
You can now configure the server to your needs. Just open config.json
with the editor of you choice and adjust the values. Explanation of the
individual values can be found in README_CONFIG.md.
To start the server run
sudo node main.js
Usage
Once the nodejs application is launched, you just have to plug your gamepad controller by connecting your device on the same local network and by reaching the address http://node_server_address
Features
Plug up to 4 virtual gamepads
The application will plug automatically a new controller when the web application is launched and unplug it at disconnection. 4 slots are available so 4 virtual gamepads can be created. You can see your current slot on the indicator directly on the vitual gamepad.

Use it as standalone application (chrome mobile)
With the add to homescreen chrome feature, you can easily use virtual gamepads application without launching the browser each time you want to play.
With only 3 clicks, virtual gamepads web application becomes a standalone application.

Then a shortcut is added on your homescreen and the application will be launched outside the browser.

Enjoy haptic feedbacks
Because it's difficult to spot the right place in a touch screen without looking at it, the touch zone of each button was increased. LT button was moved at the center of the screen to let as much space as possible for the joystick and avoid touch mistakes.

To know if we pressed a button with success, the web application provides an haptic feedback which can be easily deactivated by turning off the vibrations of the phone.
Use the keyboard to enter text

Use the touchpad for mouse inputs

An index page lets you choose

Developing
Please read the contribution guideline first if you haven't already.
Clone this repository and install its dependencies with
npm install
When you change something in a coffeescript (e.g. main.coffee) run
npx coffee -c main.coffee
This will compile main.coffee to main.js which than can be run with node (see Installation) To compile all coffee files when ever they change run
npx coffee -cw .
If you want do add a new keyboard layout please refer to this file.
관련 프로젝트 살펴보기
불러오는 중…