diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-21 18:56:49 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-21 18:56:49 +0200 |
| commit | 7380af2c93dc83f4f09e293717d46eadf7799e89 (patch) | |
| tree | 2eb11199ef87e3181411bb848252bb5d6fed0be6 /include/hwstate.h | |
| parent | 71168e1fb794f4a24e97177508bb1d54ae24b266 (diff) | |
Simplify event reading
This patch puts the reading code more in line with the upcoming
mtdev library, and should remove some spurious input behavior.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/hwstate.h')
| -rw-r--r-- | include/hwstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hwstate.h b/include/hwstate.h index 4243292..efd291f 100644 --- a/include/hwstate.h +++ b/include/hwstate.h | |||
| @@ -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 modify_hwstate(struct HWState *s, struct MTDev *dev, | 45 | int hwstate_read(struct HWState *s, const struct Capabilities *caps, |
| 46 | const struct Capabilities *caps); | 46 | const struct input_event *ev); |
| 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, |
