Commit eb6426b4 authored by Joel Martin's avatar Joel Martin

input.js: remove redundant switch case statments.

Issue #21 - non-US key handling.
parent dc4131b1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment