keydown
v0.0.3
Published
client side module for firing events when keys are pressed down
Downloads
173
Maintainers
Readme
keydown
client side module for firing events when keys are pressed down. uses vkey definitions
usage
var keydown = require('keydown')
var kd = keydown(['<control>', 'a'])
kd.on('pressed', function() {
// control + a are both pressed right now
})