[PATCH 4/6] Add SW_PEN_INSERTED

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


Add definition for "Pen Inserted" switch event.

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 0f23959..44d3f4d 100644
--- a/evtest.c
+++ b/evtest.c
@@ -778,6 +778,9 @@ static const char * const switches[SW_MAX + 1] = {
 #ifdef SW_MUTE_DEVICE
 	NAME_ELEMENT(SW_MUTE_DEVICE),
 #endif
+#ifdef SW_PEN_INSERTED
+	NAME_ELEMENT(SW_PEN_INSERTED),
+#endif
 };
 
 static const char * const force[FF_MAX + 1] = {
-- 
2.14.2.822.g60be5d43e6-goog



More information about the Input-tools mailing list