summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Cutts <hcutts@google.com>2022-05-17 23:03:53 +0000
committerHarry Cutts <hcutts@google.com>2022-05-17 23:03:53 +0000
commitc9fc6fb3ae807125445411d89147dd843486c9cd (patch)
tree51effc0fc1e509146dbd77bc262eb33b62a45a14
parent9c20ee967a537103dbf754a1614829d52da1964b (diff)
Add BTN_STYLUS3 to key names
-rw-r--r--evtest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/evtest.c b/evtest.c
index e21e6af..ba7a161 100644
--- a/evtest.c
+++ b/evtest.c
@@ -526,6 +526,9 @@ static const char * const keys[KEY_MAX + 1] = {
NAME_ELEMENT(BTN_TOOL_BRUSH), NAME_ELEMENT(BTN_TOOL_PENCIL),
NAME_ELEMENT(BTN_TOOL_AIRBRUSH), NAME_ELEMENT(BTN_TOOL_FINGER),
NAME_ELEMENT(BTN_TOOL_MOUSE), NAME_ELEMENT(BTN_TOOL_LENS),
+#ifdef BTN_STYLUS3
+ NAME_ELEMENT(BTN_STYLUS3),
+#endif
NAME_ELEMENT(BTN_TOUCH), NAME_ELEMENT(BTN_STYLUS),
NAME_ELEMENT(BTN_STYLUS2), NAME_ELEMENT(BTN_TOOL_DOUBLETAP),
NAME_ELEMENT(BTN_TOOL_TRIPLETAP),