DescriptionMaintain Diamond (F15) state when rewriting.
The ChromeOS Diamond key arrives as F15. Since F15 is not a modifier,
we need to track its pressed state explicitly, and apply the selected
modifier flag to key and mouse presses that arrive while F15 is down.
(Maintaining and applying the modifier state in the rewriter is
consistent with how the sticky keys feature is implemented.)
TEST=EventRewriterTest.TestRewriteDiamondKey*
BUG=390982
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283791
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase #Patch Set 3 : Address review comments (derat). #
Messages
Total messages: 18 (0 generated)
|