Crafty.keydown

检查哪一个键(Crafty.keys 按键码) 被按下

例子

// is "Shift" currently pressed?
var shiftDown = !!Crafty.keydown[Crafty.keys.SHIFT];