From 7380af2c93dc83f4f09e293717d46eadf7799e89 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 21 Jun 2010 18:56:49 +0200 Subject: 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 --- include/hwstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/hwstate.h') 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 { void init_hwstate(struct HWState *s, const struct Capabilities *caps); -int modify_hwstate(struct HWState *s, struct MTDev *dev, - const struct Capabilities *caps); +int hwstate_read(struct HWState *s, const struct Capabilities *caps, + const struct input_event *ev); void output_hwstate(const struct HWState *s); static inline int finger_dist2(const struct FingerState *a, -- cgit v1.2.3