diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-04-10 23:11:59 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-04-15 06:10:07 +0200 |
| commit | 223ba8b1b753e12a4826bacab282ab8dc7ba8689 (patch) | |
| tree | 4e169a4c36b24fee41fe2f20a6039aa88e82e15f /src/mtouch.h | |
| parent | 2cf55b491c571d49b0ce22549c08f47ffc451a69 (diff) | |
Introduce Memory
Add the Memory structure to hold the multitouch parsing state.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.h')
| -rw-r--r-- | src/mtouch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mtouch.h b/src/mtouch.h index 28a637b..4004b4d 100644 --- a/src/mtouch.h +++ b/src/mtouch.h | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include "hwdata.h" | 27 | #include "hwdata.h" |
| 28 | #include "hwstate.h" | 28 | #include "hwstate.h" |
| 29 | #include "mtstate.h" | 29 | #include "mtstate.h" |
| 30 | #include "memory.h" | ||
| 30 | 31 | ||
| 31 | struct MTouch { | 32 | struct MTouch { |
| 32 | struct Capabilities caps; | 33 | struct Capabilities caps; |
| @@ -34,6 +35,7 @@ struct MTouch { | |||
| 34 | struct HWData hw; | 35 | struct HWData hw; |
| 35 | struct HWState hs; | 36 | struct HWState hs; |
| 36 | struct MTState prev_state, state; | 37 | struct MTState prev_state, state; |
| 38 | struct Memory mem; | ||
| 37 | }; | 39 | }; |
| 38 | 40 | ||
| 39 | int configure_mtouch(struct MTouch *mt, int fd); | 41 | int configure_mtouch(struct MTouch *mt, int fd); |
