Linux Joystick module for NodeJS based on NodeBits original work
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samples index.html starter for sample Nov 16, 2012
LICENSE Initial checkin Sep 22, 2012
README.md Update doc sample, rev package version Sep 22, 2012
grunt.js
joystick.js Removed superfluous EventEmitter call Apr 12, 2017
package.json Bump version for npm publish May 27, 2015

README.md

node-joystick

A node module for reading joystick data based on the work of Nodebits.

Example

// Set a deadzone of +/-3500 (out of +/-32k) and a sensitivty of 350 to reduce signal noise in joystick axis
var joystick = new (require('joystick'))(0, 3500, 350);
joystick.on('button', console.log);
joystick.on('axis', console.log);