Skip to content

Commit

Permalink
Implement more special key lookups in new Key handling code.
Browse files Browse the repository at this point in the history
Relates to #876.
  • Loading branch information
lehni committed Dec 30, 2015
1 parent 943c4bb commit 511fc12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/event/Key.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ var Key = new function() {
// Unify different key identifier naming schemes, e.g. on Gecko, IE:
'\t': 'tab',
' ': 'space',
'\b': 'backspace',
'\x7f': 'delete',
'Spacebar': 'space',
'Win': 'meta',
'Del': 'delete',
'Esc': 'escape',
'Win': 'meta',
'Esc': 'escape'
},

// To find corresponding characters for special keys in keydown events:
Expand Down

0 comments on commit 511fc12

Please sign in to comment.