DescriptionAllows to fire VKEY_UNKNOWN key events.
On Linux, we have keys with keycode=VKEY_UNKNOWN, for example, ISO_LEVEL3_LATCH key. We have to emit keydown/up events appropriately even if keycode=VKEY_UNKNOWN.
Just FYI: Firefox also fires keyevents with keycode=0, so the behavior will be compatible. Compared to IE and Chrome on Windows, it's still compatible because there is no such key as ISO_LEVEL3_LATCH, etc. on Windows.
BUG=402320
TEST=Done manually.
Committed: https://crrev.com/6c879fbd35d14af9ca4fe53bc622edac2d3fd5f1
Cr-Commit-Position: refs/heads/master@{#300438}
Patch Set 1 #Patch Set 2 : Updated a unittest. #
Messages
Total messages: 8 (3 generated)
|