summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-08-05 15:28:51 -0700
committerChase Douglas <chase.douglas@canonical.com>2011-08-05 15:55:13 -0700
commit4adfb5ad6c064981e2c7eb57db4bdd81cc7029ea (patch)
tree54aec97a5cefe9ae717d6fed7b7da5ed341abf4b /XI2.h
parent29cd8aac674b1d831814b48b2ee2f2f7ff16497b (diff)
Specify dependent device pointer/touch handling
With the added rules, trackpads should be manageable no matter what occurs (button presses and pointer motion). Gesture and touch semantics during these actions are not well defined, and cancelling touches cleans up the protocol and implementation. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index 31257d1..f6bdbb2 100644
--- a/XI2.h
+++ b/XI2.h
@@ -157,6 +157,8 @@
#define XIPointerEmulated (1 << 16)
/* Device event flags (touch events only) */
#define XITouchPendingEnd (1 << 16)
+#define XITouchCanceled (1 << 17)
+#define XITouchResumed (1 << 18)
/* Touch modes */
#define XIDirectTouch 1