diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 14:23:23 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 14:23:23 +0100 |
| commit | 826439bce844fdbc8d7e47c0964cb15fd8a8fe93 (patch) | |
| tree | 01fb4630ac048ace32b36c308dd0ec62b27f4dcd /src/mtouch.h | |
| parent | a773c79d6d767ddfe574ad513ab0276bdd13a717 (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.h | 4 |
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 @@ | |||
| 9 | struct MTouch { | 9 | struct 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 | ||
| 16 | int configure_mtouch(struct MTouch *mt, int fd); | 17 | int configure_mtouch(struct MTouch *mt, int fd); |
| 17 | int init_mtouch(struct MTouch *mt); | 18 | int open_mtouch(struct MTouch *mt, int fd); |
| 19 | void close_mtouch(struct MTouch *mt, int fd); | ||
| 18 | 20 | ||
| 19 | //////////////////////////////////////////////////////// | 21 | //////////////////////////////////////////////////////// |
| 20 | 22 | ||
