diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2015-01-20 13:17:36 +0100 |
---|---|---|
committer | Björn Breitmeyer <bjoern.breitmeyer@kdab.com> | 2015-01-22 12:28:42 +0100 |
commit | 2b5df245d6cdbfb3150ee815debccf655af8f19f (patch) | |
tree | d23a274b7e618b9d21c127334286c3718c155961 /src/plugins/platforms/windows/qwindowsmousehandler.h | |
parent | 416c09920544b12e24813e53aa6dbe8ed87e111e (diff) |
Implement Multitouch handling for WinCE
Implemented handling of GID_DirectManipulation for WinCE.
Derive touch information out of gesture event
directmanipulation.
Task-number: QTBUG-31216
Change-Id: I74e90f32d2384fc3550b47af0b72edf0292dea8f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsmousehandler.h')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsmousehandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowsmousehandler.h b/src/plugins/platforms/windows/qwindowsmousehandler.h index 6491de93b5..60fe26b2b9 100644 --- a/src/plugins/platforms/windows/qwindowsmousehandler.h +++ b/src/plugins/platforms/windows/qwindowsmousehandler.h @@ -79,6 +79,10 @@ private: QTouchDevice *m_touchDevice; bool m_leftButtonDown; QWindow *m_previousCaptureWindow; +#ifdef Q_OS_WINCE +//This is required to send a touch up if we don't get a second touch position any more + bool m_had2ndTouchPoint; +#endif }; Qt::MouseButtons QWindowsMouseHandler::keyStateToMouseButtons(int wParam) |