[PATCH 1/6] Add KEY_ASSISTANT

Dmitry Torokhov dtor at chromium.org
Wed Sep 27 17:58:26 UTC 2017


Kernel recently got a new key definition for desktop assistant key,
let's plumb it through evtest as well.

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 7b6926c..9af80c1 100644
--- a/evtest.c
+++ b/evtest.c
@@ -553,6 +553,9 @@ static const char * const keys[KEY_MAX + 1] = {
 #ifdef KEY_VOICECOMMAND
 	NAME_ELEMENT(KEY_VOICECOMMAND),
 #endif
+#ifdef KEY_ASSISTANT
+	NAME_ELEMENT(KEY_ASSISTANT),
+#endif
 #ifdef KEY_BRIGHTNESS_MIN
 	NAME_ELEMENT(KEY_BRIGHTNESS_MIN),
 #endif
-- 
2.14.2.822.g60be5d43e6-goog



More information about the Input-tools mailing list