0.2.2 • Published 7 years ago

slither-joystick-controller v0.2.2

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

slither-joystick-controller

Simple script to bind joystick controller to Slither mouse events

npm version npm downloads License

For now, only PS3 dualshock3 is supported.

Installation

npm i slither-joystick-controller

How to run

  1. go to the node_modules/slither-joystick-controller folder
  2. run node index.js or node index.js supported/controller/here

Supported Controllers

  • ps3/dualshock3 (default)
  • ps4/dualshock4
  • snes/tomee
  • snes/retrolink
  • n64/retrolink
  • logitech/rumblepad2
  • logitech/dualaction
  • logitech/gamepadf710
  • microsoft/sidewinder-precision-2

These controllers are handled by node-gamepad. If you need to add another controller, see the Contributing Controllers of node-gamepad.

How to use

Game pad actionSlither action
startpause/unpause all the other actions.
L3move mouse
Xboost
triangleenter - use to start the game
L2zoom out (require Slither plus extension)
R2zoom in (require Slither plus extension)
selectredefine center position. It can be useful when the game is not in full screen. Place your mouse on the snake head and press select to set the center.

Libraries used in this project

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.0

7 years ago