summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-09-13 14:27:13 -0500
committerChase Douglas <chase.douglas@canonical.com>2011-09-13 14:35:39 -0500
commit24e7dac91fb919c1668736f6e4309ae522a96d86 (patch)
treefe686bbff15fb8ca8ad692541fc4ecbf18b36f71 /XI2.h
parentb95adf9b14ff5ba2142e8521f02728dc6d903409 (diff)
Switch multitouch additions to XI 2.2
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/XI2.h b/XI2.h
index ca5ce07..3c1f4a5 100644
--- a/XI2.h
+++ b/XI2.h
@@ -30,12 +30,17 @@
#ifndef XINPUT2_1_USE_UNSTABLE_PROTOCOL
#error "Define XINPUT2_1_USE_UNSTABLE_PROTOCOL to disable this error"
#endif
+#warning "XI 2.2 is not stable yet."
+#warning "Applications relying on this header will break as the protocol sees updates."
+#ifndef XINPUT2_2_USE_UNSTABLE_PROTOCOL
+#error "Define XINPUT2_2_USE_UNSTABLE_PROTOCOL to disable this error"
+#endif
#define XInput_2_0 7
/* DO NOT ADD TO THIS LIST. These are libXi-specific defines.
See commit libXi-1.4.2-21-ge8531dd */
#define XI_2_Major 2
-#define XI_2_Minor 1
+#define XI_2_Minor 2
/* Property event flags */
#define XIPropertyDeleted 0