Skip to content

Mrono/node_powermate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node module to parse the Griffin PowerMate *linux only*

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published