summaryrefslogtreecommitdiff
path: root/include/mtouch.h
diff options
context:
space:
mode:
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