diff options
Diffstat (limited to 'include/mtouch.h')
| -rw-r--r-- | include/mtouch.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/mtouch.h b/include/mtouch.h index 482d010..aedb02c 100644 --- a/include/mtouch.h +++ b/include/mtouch.h | |||
| @@ -23,12 +23,10 @@ | |||
| 23 | #define MTOUCH_H | 23 | #define MTOUCH_H |
| 24 | 24 | ||
| 25 | #include "memory.h" | 25 | #include "memory.h" |
| 26 | #include "mtdev-iobuf.h" | ||
| 27 | 26 | ||
| 28 | struct MTouch { | 27 | struct MTouch { |
| 29 | struct Capabilities caps; | 28 | struct Capabilities caps; |
| 30 | struct MTDev dev; | 29 | struct mtdev dev; |
| 31 | struct IOBuffer buf; | ||
| 32 | struct HWState hs; | 30 | struct HWState hs; |
| 33 | struct MTState prev_state, state; | 31 | struct MTState prev_state, state; |
| 34 | struct Memory mem; | 32 | struct Memory mem; |
| @@ -36,10 +34,9 @@ struct MTouch { | |||
| 36 | 34 | ||
| 37 | int configure_mtouch(struct MTouch *mt, int fd); | 35 | int configure_mtouch(struct MTouch *mt, int fd); |
| 38 | int open_mtouch(struct MTouch *mt, int fd); | 36 | int open_mtouch(struct MTouch *mt, int fd); |
| 39 | int get_mtouch(struct MTouch *mt, int fd, struct input_event* ev, int ev_max); | ||
| 40 | int close_mtouch(struct MTouch *mt, int fd); | 37 | int close_mtouch(struct MTouch *mt, int fd); |
| 41 | 38 | ||
| 42 | int parse_event(struct MTouch *mt, const struct input_event *ev); | 39 | int read_packet(struct MTouch *mt, int fd); |
| 43 | 40 | ||
| 44 | int has_delayed_gestures(struct MTouch *mt, int fd); | 41 | int has_delayed_gestures(struct MTouch *mt, int fd); |
| 45 | 42 | ||
