summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-01-12 20:05:28 +0100
committerHenrik Rydberg <rydberg@euromail.se>2012-01-12 20:05:28 +0100
commit3ec66c3b21e45d6529567f5144ba24dcc4645591 (patch)
treefe1fc690c884fb6c003715e6d4bb24b582f250c5 /src/state.h
parent3aa3de4c19b80caaf93812fafff20acd5f5a4d12 (diff)
Add the missing distance event to the internal slot representationv1.1.1
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 <rydberg@euromail.se>
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h1
1 files changed, 1 insertions, 0 deletions
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 {
48 int blob_id; 48 int blob_id;
49 int tracking_id; 49 int tracking_id;
50 int pressure; 50 int pressure;
51 int distance;
51}; 52};
52 53
53static inline int get_sval(const struct mtdev_slot *slot, int ix) 54static inline int get_sval(const struct mtdev_slot *slot, int ix)