[PATCH 2/6] Add INPUT_PROP_ACCELEROMETER
Dmitry Torokhov
dtor at chromium.org
Wed Sep 27 17:58:27 UTC 2017
The newer "Accelerometer" input device property was missing in evtest,
let's add it.
Signed-off-by: Dmitry Torokhov <dtor at chromium.org>
---
evtest.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/evtest.c b/evtest.c
index 9af80c1..790f9c9 100644
--- a/evtest.c
+++ b/evtest.c
@@ -210,6 +210,9 @@ static const char * const props[INPUT_PROP_MAX + 1] = {
#ifdef INPUT_PROP_POINTING_STICK
NAME_ELEMENT(INPUT_PROP_POINTING_STICK),
#endif
+#ifdef INPUT_PROP_ACCELEROMETER
+ NAME_ELEMENT(INPUT_PROP_ACCELEROMETER),
+#endif
};
#endif
--
2.14.2.822.g60be5d43e6-goog
More information about the Input-tools
mailing list