summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2011-04-15 08:48:04 -0600
committerJoel Martin <github@martintribe.org>2011-04-15 08:48:04 -0600
commiteb6426b4bccd5009e7d73cbb046d1337e75c653d (patch)
tree93fb716e1267fbdff39082e5146a351dcd176c9d
parentdc4131b14a417d92b331fb7675ed6fb207f36adf (diff)
downloadnovnc-eb6426b4bccd5009e7d73cbb046d1337e75c653d.tar.gz
input.js: remove redundant switch case statments.
Issue #21 - non-US key handling.
-rw-r--r--include/input.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/input.js b/include/input.js
index 6223aae..56fa91d 100644
--- a/include/input.js
+++ b/include/input.js
@@ -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