From 3ec66c3b21e45d6529567f5144ba24dcc4645591 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 12 Jan 2012 20:05:28 +0100 Subject: Add the missing distance event to the internal slot representation The new distance value was missing from the internal representation, leading to memory corruption for devices supporting the event. Fixed with this patch. Signed-off-by: Henrik Rydberg --- src/state.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/state.h') diff --git a/src/state.h b/src/state.h index 4e98a08..256858a 100644 --- a/src/state.h +++ b/src/state.h @@ -48,6 +48,7 @@ struct mtdev_slot { int blob_id; int tracking_id; int pressure; + int distance; }; static inline int get_sval(const struct mtdev_slot *slot, int ix) -- cgit v1.2.3