diff options
Diffstat (limited to 'src/mtouch.h')
| -rw-r--r-- | src/mtouch.h | 4 |
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 | ||
| 9 | struct MTouch { | 10 | struct 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); | |||
| 18 | int open_mtouch(struct MTouch *mt, int fd); | 20 | int open_mtouch(struct MTouch *mt, int fd); |
| 19 | void close_mtouch(struct MTouch *mt, int fd); | 21 | void close_mtouch(struct MTouch *mt, int fd); |
| 20 | 22 | ||
| 23 | bool read_synchronized_event(struct MTouch *mt, int fd); | ||
| 24 | |||
| 21 | //////////////////////////////////////////////////////// | 25 | //////////////////////////////////////////////////////// |
| 22 | 26 | ||
| 23 | #endif | 27 | #endif |
