diff options
author | Daniel Stone <daniel@fooishbar.org> | 2010-09-20 15:03:06 +1000 |
---|---|---|
committer | Chase Douglas <chase.douglas@ubuntu.com> | 2010-10-13 21:42:27 +0200 |
commit | a6cdd84853df31b8d2beffcbf7fbc5e51dbd74b5 (patch) | |
tree | 4147c8c3b56826ca841aa3f780bdf31e80ae3838 /include/events.h | |
parent | f7d671b89a6c4e00f1333960b56d18f69548628e (diff) |
Input: Add initial multitouch support from Xi 2.1
Xi 2.1 adds TouchClasses to devices, as well as TouchBegin, TouchMotion
and TouchEnd events, to allow support for multiple touchpoints on a
single device. This is a full implementation of the Xi 2.1 additions.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include/events.h')
-rw-r--r-- | include/events.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/events.h b/include/events.h index 375173adc..9ceceda24 100644 --- a/include/events.h +++ b/include/events.h @@ -26,6 +26,8 @@ #define EVENTS_H typedef struct _DeviceEvent DeviceEvent; typedef struct _DeviceChangedEvent DeviceChangedEvent; +typedef struct _TouchStateEvent TouchStateEvent; +typedef struct _TouchMotionEvent TouchMotionEvent; #if XFreeXDGA typedef struct _DGAEvent DGAEvent; #endif |