Merge pull request #49 from benogle/mac-command-key-fix

Add keycodes for Mac command keys in different browsers.
This commit is contained in:
Jürg Lehni 2011-09-03 06:15:57 -07:00
commit 4ff710886e

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()