summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-12-07 20:32:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-12-13 13:23:56 +1000
commit7e2207548b3173afc9accb5ccd532c181a7b94ed (patch)
treedfe12740631638d46cf79f2734257b72ac07d33b
parente5aa00989cda9ebd18063c5e955235123ad37b88 (diff)
include: Add an InputLevel enum
Currently unused, but will be in the future. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--include/eventconvert.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/eventconvert.h b/include/eventconvert.h
index 571a51109..bb45eefef 100644
--- a/include/eventconvert.h
+++ b/include/eventconvert.h
@@ -31,6 +31,12 @@
#define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
+enum InputLevel {
+ CORE,
+ XI,
+ XI2,
+};
+
_X_EXPORT int EventToCore(InternalEvent *event, xEvent **core, int *count);
_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);