Adds other keycodes for command keys in different browsers.

- 224 for firefox
 - 93 for the right command key in WebKit browsers.
This commit is contained in:
Ben Ogle 2011-08-25 18:53:30 -07:00
parent ae116cd043
commit 7ebd4a17bd

View file

@ -40,7 +40,9 @@ var Key = this.Key = new function() {
39: 'right',
40: 'down',
46: 'delete',
91: 'command'
91: 'command',
93: 'command', // WebKit right command button
224: 'command' // Gecko command button
},
// Use Base.merge to convert into a Base object, for #toString()