summaryrefslogtreecommitdiff
path: root/include/mtouch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
commitacea9df3381825a634c000a574f58b4ca5293ee8 (patch)
tree3698bd55f137bc377f1b840e4fb5bf9e446e7250 /include/mtouch.h
parent7380af2c93dc83f4f09e293717d46eadf7799e89 (diff)
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.h7
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
28struct MTouch { 27struct 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
37int configure_mtouch(struct MTouch *mt, int fd); 35int configure_mtouch(struct MTouch *mt, int fd);
38int open_mtouch(struct MTouch *mt, int fd); 36int open_mtouch(struct MTouch *mt, int fd);
39int get_mtouch(struct MTouch *mt, int fd, struct input_event* ev, int ev_max);
40int close_mtouch(struct MTouch *mt, int fd); 37int close_mtouch(struct MTouch *mt, int fd);
41 38
42int parse_event(struct MTouch *mt, const struct input_event *ev); 39int read_packet(struct MTouch *mt, int fd);
43 40
44int has_delayed_gestures(struct MTouch *mt, int fd); 41int has_delayed_gestures(struct MTouch *mt, int fd);
45 42