diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-04-27 10:19:42 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-04-28 03:41:17 +0000 |
commit | 8a7311532ba331252d87cbcc08ea676f106242e9 (patch) | |
tree | d19e7e71d64847333eae1693996846aeaac56f17 /src/dbus/qdbusintegrator.cpp | |
parent | 52e68d4e106548eb027d4b35e47c941eb2d73f58 (diff) |
winrt: Refactor pointer device handling to support pen
In addition to pen events being handled as tablet events, we create
touch events. Same principle is used on other platforms as well. This
allows devices as Surfaces to use the pen with Qt applications.
Furthermore, the first update event does not have to be a press event,
as in a pen has proximity values describing a move without touch, but
also the HoloLens uses touch points as permanent pointer devices. They
all send an exit event once released or out of range. Hence, clean up
the internal touchpoint hash when the touch device is gone, not on
release.
Task-number: QTBUG-38681
Change-Id: I38acaa034a3cfe224098bfa36bfead5428f4db16
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/dbus/qdbusintegrator.cpp')
0 files changed, 0 insertions, 0 deletions