From acea9df3381825a634c000a574f58b4ca5293ee8 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 12 Oct 2010 15:38:43 +0200 Subject: Same version, but using the mtdev library. Signed-off-by: Henrik Rydberg --- include/mtouch.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include/mtouch.h') 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); -- cgit v1.2.3