diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
commit | acea9df3381825a634c000a574f58b4ca5293ee8 (patch) | |
tree | 3698bd55f137bc377f1b840e4fb5bf9e446e7250 /include/mtouch.h | |
parent | 7380af2c93dc83f4f09e293717d46eadf7799e89 (diff) | |
download | xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.gz xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.bz2 xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.zip |
Same version, but using the mtdev library.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
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); |