global-keypress
Global key press event emitter
NOTE: requires sudo privileges. GUI prompt will appear asking for sudo access if not running as root.
Supports Mac OS X and Linux.
Install
npm install global-keypress
Development
compile native module
npm run compile
Usage
const GK = ; // instantiateconst gk = ; // launch keypress daemon processgkstart; // emitted events by processgk; // process errorgk; // process closedgk; // manual stopgk;
Resources
License
MIT