ok getting better

This commit is contained in:
Peter Cottle 2013-01-01 14:33:13 -08:00
parent 8e8eb4f4a9
commit e424bc27aa
5 changed files with 96 additions and 111 deletions

View file

@ -32,7 +32,6 @@ KeyboardListener.prototype.mute = function() {
KeyboardListener.prototype.keydown = function(e) {
var which = e.which;
console.log('key which', which);
var key = mapKeycodeToKey(which);
if (key === undefined) {
@ -49,3 +48,4 @@ KeyboardListener.prototype.fireEvent = function(eventName) {
exports.KeyboardListener = KeyboardListener;
exports.mapKeycodeToKey = mapKeycodeToKey;