]> git.proxmox.com Git - mirror_novnc.git/commit
Fake key release for iOS hardware keyboards
authorPierre Ossman <ossman@cendio.se>
Wed, 21 Jun 2017 11:50:03 +0000 (13:50 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 21 Jun 2017 11:58:53 +0000 (13:58 +0200)
commit9e99ce126ca8f6f350fa015c0e58d35103c62f7e
treebcab312b3ea2cc0da6548184a327c2a225b9024c
parent637a282be54f2c2e97aff6d94f4c2fe1a51e0b96
Fake key release for iOS hardware keyboards

iOS sends decent key down events, but junk key up events when a
hardware keyboard is used. This confuses the key tracking as a
corresponding release is then never detected. To work around this
we'll treat the hardware keyboard like the virtual ones and send
the key release right away.
core/input/devices.js
tests/test.keyboard.js