From c263d6e46d76b3e54570da637b1e7352437bb59d Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Fri, 26 Oct 2012 16:27:35 +0200 Subject: Add missing mt axis labels update evdev according to latest changes in input.h Signed-off-by: Benjamin Tissoires Signed-off-by: Peter Hutterer --- src/axis_labels.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/axis_labels.h b/src/axis_labels.h index 1c19a0b..f01474e 100644 --- a/src/axis_labels.h +++ b/src/axis_labels.h @@ -94,6 +94,11 @@ static const char* abs_labels[] = { AXIS_LABEL_PROP_ABS_MT_BLOB_ID, /* 0x38 */ AXIS_LABEL_PROP_ABS_MT_TRACKING_ID, /* 0x39 */ AXIS_LABEL_PROP_ABS_MT_PRESSURE, /* 0x3a */ +#ifdef AXIS_LABEL_PROP_ABS_MT_DISTANCE + AXIS_LABEL_PROP_ABS_MT_DISTANCE, /* 0x3b */ + AXIS_LABEL_PROP_ABS_MT_TOOL_X, /* 0x3c */ + AXIS_LABEL_PROP_ABS_MT_TOOL_Y, /* 0x3d */ +#endif /* AXIS_LABEL_PROP_ABS_MT_DISTANCE */ }; static const char* rel_labels[] = { -- cgit v1.2.3