From 3734c2c5dc65f41aa727d9d69201d604eab6e77d Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 6 Nov 2008 16:00:08 +0100 Subject: event loop works, buffer works, now look at synched event Signed-off-by: Henrik Rydberg --- src/mtouch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mtouch.h') 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 -- cgit v1.2.3