summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2019-07-26 18:16:33 +0200
committerAndre de la Rocha <andre.rocha@qt.io>2019-07-29 12:38:05 +0200
commitc8bb8cb7614768156f9cc4bccc2df928d5430067 (patch)
treed39c497aed8dbb648fb207aa859a59da2e43f006 /src/network
parent10611038900842061bfef8516b1a994b7ac05877 (diff)
Windows QPA: Fix detection of the Surface Pen eraser button
The Surface Pen eraser button generates Meta+F18/19/20 keystrokes, but when it is not touching the screen the Fn WM_KEYDOWN message is eaten and only a Fn WM_KEYUP message with the previous state as "not pressed" is generated, which would be ignored. With this patch we detect this case and synthesize the expected key events to allow the button to be used in applications. Fixes: QTBUG-77153 Change-Id: I075f5cbb903cb36c9ec241ee1bb31d436b725e3a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions