Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 406 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 406 Bytes

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