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 @@ #define MTOUCH_H #include "memory.h" -#include "mtdev-iobuf.h" struct MTouch { struct Capabilities caps; - struct MTDev dev; - struct IOBuffer buf; + struct mtdev dev; struct HWState hs; struct MTState prev_state, state; struct Memory mem; @@ -36,10 +34,9 @@ struct MTouch { int configure_mtouch(struct MTouch *mt, int fd); int open_mtouch(struct MTouch *mt, int fd); -int get_mtouch(struct MTouch *mt, int fd, struct input_event* ev, int ev_max); int close_mtouch(struct MTouch *mt, int fd); -int parse_event(struct MTouch *mt, const struct input_event *ev); +int read_packet(struct MTouch *mt, int fd); int has_delayed_gestures(struct MTouch *mt, int fd); |