y2gu2xi / node-gamepad

node版的游戏控制器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#手机做游戏手柄:node+websocket+html5

手机把陀螺仪信息发给服务器端,通过node程序模拟电脑按键操控电脑游戏

##Build Setup

# Open a terminal and cd to project folder.

# Run npm install to install the required libraries
npm install
# Run node app.js to start the presentation
node app.js
# Open http://localhost:8080 on your computer and enter your pass key (by default it is “c“).
# Open http://<your computer’s local ip address> on your phone and enter the same pass key.
# Have fun!

··

About

node版的游戏控制器

License:MIT License


Languages

Language:JavaScript 49.2%Language:CSS 36.6%Language:HTML 7.5%Language:SCSS 6.7%