Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Node module to parse the Griffin PowerMate *linux only*
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
PowerMate.js
README.md
example.js
package.json

README.md

node_powermate

Node module to parse the Griffin PowerMate.

npm install powermate

You may need to run as root on some systems

This only works in linux at the moment due to how it read the device

Valid events are press, longPress, left, downLeft, right, downRight, error

var pm = new PowerMate();
pm.on('press', function() {
    console.log('Pressed');
});
Something went wrong with that request. Please try again.