diff options
author | Joel Martin <github@martintribe.org> | 2011-04-15 08:40:20 -0600 |
---|---|---|
committer | Joel Martin <github@martintribe.org> | 2011-04-15 08:40:20 -0600 |
commit | dc4131b14a417d92b331fb7675ed6fb207f36adf (patch) | |
tree | ab1d0415b8892c2bdca94d98712c70ca27cf25a9 | |
parent | b7c9657b83c4565a5d96a0f6fbeccba284b9b2c9 (diff) | |
download | novnc-dc4131b14a417d92b331fb7675ed6fb207f36adf.tar.gz |
input.js: uncomment special key handling for non-US keys.
Issue #21 - non-US keyboard layouts.
The code section for tab, backspace and enter was commented out for
testing but got checked in that way. Fix that.
-rw-r--r-- | include/input.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/input.js b/include/input.js index e9d5920..6223aae 100644 --- a/include/input.js +++ b/include/input.js @@ -45,7 +45,6 @@ that.set_target = function () { throw("target cannot be changed"); } function getKeysymSpecial(evt) { var keysym = null; - /* switch ( evt.keyCode ) { // These generate a keyDown and keyPress in Firefox and Opera case 8 : keysym = 0xFF08; break; // BACKSPACE @@ -55,7 +54,6 @@ function getKeysymSpecial(evt) { case 9 : keysym = 0xFF09; break; // TAB default : break; } - */ if (evt.type === 'keydown') { switch ( evt.keyCode ) { |