input.js: remove redundant switch case statments.

Issue #21 - non-US key handling.
This commit is contained in:
Joel Martin 2011-04-15 08:48:04 -06:00
parent dc4131b14a
commit eb6426b4bc
1 changed files with 0 additions and 4 deletions

View File

@ -57,10 +57,6 @@ function getKeysymSpecial(evt) {
if (evt.type === 'keydown') {
switch ( evt.keyCode ) {
case 8 : keysym = 0xFF08; break; // BACKSPACE
case 13 : keysym = 0xFF0D; break; // ENTER
case 9 : keysym = 0xFF09; break; // TAB
case 27 : keysym = 0xFF1B; break; // ESCAPE
case 46 : keysym = 0xFFFF; break; // DELETE