native-keyboard

Higher level keyboard binding for node apps

MIT License

Stars
11

Information

Usage

var kb = require('native-keyboard');

var path = kb.getDevices()[0].path;
var myKeyboard = kb.device(device);

myKeyboard.onKey('ctrl+w+a+s+d', function(evt){
  // they pressed ctrl and wasd at the same time
});

Examples

You can view more examples in the example folder.