]> git.proxmox.com Git - mirror_novnc.git/commit
input.js: adjust special key handling for non-US keys.
authorJoel Martin <github@martintribe.org>
Tue, 12 Apr 2011 14:06:11 +0000 (09:06 -0500)
committerJoel Martin <github@martintribe.org>
Tue, 12 Apr 2011 14:06:11 +0000 (09:06 -0500)
commitfac149ddbe32dd233a1b34ffc4450508daaa420e
tree2989aea7702de48e4fed8791e60df7a846f9e96b
parent303819eaa956e6c16a9513eedec90d1b0daace0c
input.js: adjust special key handling for non-US keys.

Issue #21 - non-US keyboard layouts.

Only identify some keys as special during the keyDown event so that
when using non-US keyboards the values don't overlap with the values
for normal keys.

Some keys have to still be identified in both keyDown and keyPress
since they generate both: backspace and enter for Firefox and Opera,
tab for Opera.
include/input.js