aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtouch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-06 16:00:08 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-06 16:00:08 +0100
commit3734c2c5dc65f41aa727d9d69201d604eab6e77d (patch)
treeea9fa82ccc2afef9183f01f77084a69d85756542 /src/mtouch.h
parent826439bce844fdbc8d7e47c0964cb15fd8a8fe93 (diff)
downloadxorg-input-kobomultitouch-3734c2c5dc65f41aa727d9d69201d604eab6e77d.tar.gz
xorg-input-kobomultitouch-3734c2c5dc65f41aa727d9d69201d604eab6e77d.tar.bz2
xorg-input-kobomultitouch-3734c2c5dc65f41aa727d9d69201d604eab6e77d.zip
event loop works, buffer works, now look at synched event
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.h')
-rw-r--r--src/mtouch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mtouch.h b/src/mtouch.h
index d036a8f..8324e9e 100644
--- a/src/mtouch.h
+++ b/src/mtouch.h
@@ -2,12 +2,14 @@
#define MTOUCH_H
#include "capabilities.h"
+#include "iobuffer.h"
#include "hwdata.h"
////////////////////////////////////////////////////////
struct MTouch {
struct Capabilities caps;
+ struct IOBuffer buf;
struct HWData hw;
bool grabbed;
};
@@ -18,6 +20,8 @@ int configure_mtouch(struct MTouch *mt, int fd);
int open_mtouch(struct MTouch *mt, int fd);
void close_mtouch(struct MTouch *mt, int fd);
+bool read_synchronized_event(struct MTouch *mt, int fd);
+
////////////////////////////////////////////////////////
#endif