aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtouch.h
diff options
context:
space:
mode:
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