joystick

0.1.2 • Public • Published

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);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    16
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i joystick

Weekly Downloads

7

Version

0.1.2

License

none

Last publish

Collaborators

  • jaybeavers