diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-10-12 15:38:43 +0200 |
| commit | acea9df3381825a634c000a574f58b4ca5293ee8 (patch) | |
| tree | 3698bd55f137bc377f1b840e4fb5bf9e446e7250 /include/hwstate.h | |
| parent | 7380af2c93dc83f4f09e293717d46eadf7799e89 (diff) | |
Same version, but using the mtdev library.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/hwstate.h')
| -rw-r--r-- | include/hwstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hwstate.h b/include/hwstate.h index efd291f..4c59a1e 100644 --- a/include/hwstate.h +++ b/include/hwstate.h | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #ifndef HWSTATE_H | 22 | #ifndef HWSTATE_H |
| 23 | #define HWSTATE_H | 23 | #define HWSTATE_H |
| 24 | 24 | ||
| 25 | #include "mtdev.h" | 25 | #include "capabilities.h" |
| 26 | 26 | ||
| 27 | struct FingerState { | 27 | struct FingerState { |
| 28 | int touch_major, touch_minor; | 28 | int touch_major, touch_minor; |
| @@ -42,8 +42,8 @@ struct HWState { | |||
| 42 | 42 | ||
| 43 | void init_hwstate(struct HWState *s, | 43 | void init_hwstate(struct HWState *s, |
| 44 | const struct Capabilities *caps); | 44 | const struct Capabilities *caps); |
| 45 | int hwstate_read(struct HWState *s, const struct Capabilities *caps, | 45 | int modify_hwstate(struct HWState *s, struct mtdev *dev, int fd, |
| 46 | const struct input_event *ev); | 46 | const struct Capabilities *caps); |
| 47 | void output_hwstate(const struct HWState *s); | 47 | void output_hwstate(const struct HWState *s); |
| 48 | 48 | ||
| 49 | static inline int finger_dist2(const struct FingerState *a, | 49 | static inline int finger_dist2(const struct FingerState *a, |
