/node-gamepad

node版的游戏控制器

Primary LanguageJavaScriptMIT LicenseMIT

#手机做游戏手柄: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!

··