]> git.proxmox.com Git - mirror_novnc.git/commit
Restore handling of key events for virtual keyboard
authorPierre Ossman <ossman@cendio.se>
Mon, 16 Oct 2017 14:19:49 +0000 (16:19 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 18 Oct 2017 13:08:33 +0000 (15:08 +0200)
commit867daa98af7562403f3d7bd44efa3fdeb6732c6d
treea0ba848e1928adf981c07f8e85cc9c5c61123156
parent06fe4a3e1b0b86890d4c276ab7333928e8b3fdb0
Restore handling of key events for virtual keyboard

We broke handling of keydown/keyup when we moved the focus to the
canvas, as events from our input element would then no longer be
caught when they bubbled up to the document object (where we
previously caught events).

Restore the previous behaviour in a cleaner manner by creating a
second Keyboard object to handle this extra input variant.
app/ui.js