Alistair Leslie-Hughes : include: Add gesture defines.
Alexandre Julliard
julliard at winehq.org
Wed Jul 31 13:55:52 CDT 2019
Module: wine
Branch: master
Commit: 0bce8863b4424dfd118689b95244f31442d81994
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0bce8863b4424dfd118689b95244f31442d81994
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon Jul 29 23:07:44 2019 +0000
include: Add gesture defines.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/winuser.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/include/winuser.h b/include/winuser.h
index abb6d5b..51c73d2 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -650,6 +650,30 @@ typedef struct tagGESTURECONFIG {
#define GIDC_ARRIVAL 1
#define GIDC_REMOVAL 2
+#define GC_PAN 0x00000001
+#define GC_PAN_WITH_SINGLE_FINGER_VERTICALLY 0x00000002
+#define GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY 0x00000004
+#define GC_PAN_WITH_GUTTER 0x00000008
+#define GC_PAN_WITH_INERTIA 0x00000010
+
+#define GC_ALLGESTURES 0x00000001
+#define GC_PRESSANDTAP 0x00000001
+#define GC_ROLLOVER GC_PRESSANDTAP
+#define GC_ROTATE 0x00000001
+#define GC_TWOFINGERTAP 0x00000001
+#define GC_ZOOM 0x00000001
+
+#define GESTURECONFIGMAXCOUNT 256
+
+#define GID_BEGIN 1
+#define GID_END 2
+#define GID_ZOOM 3
+#define GID_PAN 4
+#define GID_ROTATE 5
+#define GID_TWOFINGERTAP 6
+#define GID_PRESSANDTAP 7
+#define GID_ROLLOVER GID_PRESSANDTAP
+
#if (_WIN32_WINNT >= 0x0601)
#define GET_DEVICE_CHANGE_WPARAM(wParam) (LOWORD(wParam))
#elif (_WIN32_WINNT >= 0x0501)
More information about the wine-cvs
mailing list