summaryrefslogtreecommitdiff
path: root/src/mtouch.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-06 14:23:23 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-06 14:23:23 +0100
commit826439bce844fdbc8d7e47c0964cb15fd8a8fe93 (patch)
tree01fb4630ac048ace32b36c308dd0ec62b27f4dcd /src/mtouch.h
parenta773c79d6d767ddfe574ad513ab0276bdd13a717 (diff)
grab and open/close device, now enters read (and crashes)
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.h')
-rw-r--r--src/mtouch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mtouch.h b/src/mtouch.h
index a945162..d036a8f 100644
--- a/src/mtouch.h
+++ b/src/mtouch.h
@@ -9,12 +9,14 @@
9struct MTouch { 9struct MTouch {
10 struct Capabilities caps; 10 struct Capabilities caps;
11 struct HWData hw; 11 struct HWData hw;
12 bool grabbed;
12}; 13};
13 14
14//////////////////////////////////////////////////////// 15////////////////////////////////////////////////////////
15 16
16int configure_mtouch(struct MTouch *mt, int fd); 17int configure_mtouch(struct MTouch *mt, int fd);
17int init_mtouch(struct MTouch *mt); 18int open_mtouch(struct MTouch *mt, int fd);
19void close_mtouch(struct MTouch *mt, int fd);
18 20
19//////////////////////////////////////////////////////// 21////////////////////////////////////////////////////////
20 22