summaryrefslogtreecommitdiff
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)
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 @@
2#define MTOUCH_H 2#define MTOUCH_H
3 3
4#include "capabilities.h" 4#include "capabilities.h"
5#include "iobuffer.h"
5#include "hwdata.h" 6#include "hwdata.h"
6 7
7//////////////////////////////////////////////////////// 8////////////////////////////////////////////////////////
8 9
9struct MTouch { 10struct MTouch {
10 struct Capabilities caps; 11 struct Capabilities caps;
12 struct IOBuffer buf;
11 struct HWData hw; 13 struct HWData hw;
12 bool grabbed; 14 bool grabbed;
13}; 15};
@@ -18,6 +20,8 @@ int configure_mtouch(struct MTouch *mt, int fd);
18int open_mtouch(struct MTouch *mt, int fd); 20int open_mtouch(struct MTouch *mt, int fd);
19void close_mtouch(struct MTouch *mt, int fd); 21void close_mtouch(struct MTouch *mt, int fd);
20 22
23bool read_synchronized_event(struct MTouch *mt, int fd);
24
21//////////////////////////////////////////////////////// 25////////////////////////////////////////////////////////
22 26
23#endif 27#endif