InputEventLabels: Use EV_ABS when looking for tool type label
Using EV_MSC for querying tool type label seems to be a typo.
Bug: None
Test: None
Change-Id: Idf3da2d5a2e7c16e32dcc326f1d2bde89705b56b
diff --git a/libs/input/InputEventLabels.cpp b/libs/input/InputEventLabels.cpp
index bade686..50efac1 100644
--- a/libs/input/InputEventLabels.cpp
+++ b/libs/input/InputEventLabels.cpp
@@ -556,7 +556,7 @@
if (type == EV_KEY) {
return ev_key_value_labels;
}
- if (type == EV_MSC && code == ABS_MT_TOOL_TYPE) {
+ if (type == EV_ABS && code == ABS_MT_TOOL_TYPE) {
return mt_tool_labels;
}
return nullptr;