summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-02-15 19:44:53 +0000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-29 12:26:43 +1000
commit5ac1f885f5c106b970835de36e13a9a7ea413df4 (patch)
tree205ed9dcfc7b9e0391a89f01ff5f48f43ab26010 /include/input.h
parent78d8d6dd7f31cb903d5c8baf64181795736f33ed (diff)
Input: Add POINTER_EMULATED flag to GetPointerEvents
POINTER_EMULATED merely sets XIPointerEmulated in the generated DeviceEvent. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h
index 577f5d992..6ba1ab200 100644
--- a/include/input.h
+++ b/include/input.h
@@ -68,6 +68,7 @@ SOFTWARE.
#define POINTER_ACCELERATE (1 << 3)
#define POINTER_SCREEN (1 << 4) /* Data in screen coordinates */
#define POINTER_NORAW (1 << 5) /* Don't generate RawEvents */
+#define POINTER_EMULATED (1 << 6) /* Event was emulated from another event */
/*int constants for pointer acceleration schemes*/
#define PtrAccelNoOp 0