]> git.proxmox.com Git - mirror_novnc.git/commitdiff
input.js: remove redundant switch case statments.
authorJoel Martin <github@martintribe.org>
Fri, 15 Apr 2011 14:48:04 +0000 (08:48 -0600)
committerJoel Martin <github@martintribe.org>
Fri, 15 Apr 2011 14:48:04 +0000 (08:48 -0600)
Issue #21 - non-US key handling.

include/input.js

index 6223aaec87121eac79b53625453d1a5cdb6dc3e5..56fa91dc4b2d92e9920c56179a7f58b6f7bc9239 100644 (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