summaryrefslogtreecommitdiff
path: root/libs/input/Input.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2022-12-02 17:30:18 +0000
committer Harry Cutts <hcutts@google.com> 2023-01-04 19:55:31 +0000
commitc5748d198b4ee9819ba35bf4c5c4eecf817fee7a (patch)
treeba8110a38ecfa218445a017f3d6faf9f7a28e3f1 /libs/input/Input.cpp
parentedf6ce710115b8871a8def72edbdfd6c0b15569e (diff)
Report three- and four-finger swipes
The dispatcher still needs to be modified to only dispatch these to SysUI windows. Bug: 251196347 Test: check events received by a custom tester app, and touches shown by pointer location overlay Test: atest inputflinger_tests Change-Id: I3a7211d4a67e6388231bef158d3748c2e72e128d
Diffstat (limited to 'libs/input/Input.cpp')
-rw-r--r--libs/input/Input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/input/Input.cpp b/libs/input/Input.cpp
index d893cb99ba..000775b42a 100644
--- a/libs/input/Input.cpp
+++ b/libs/input/Input.cpp
@@ -72,6 +72,8 @@ const char* motionClassificationToString(MotionClassification classification) {
return "DEEP_PRESS";
case MotionClassification::TWO_FINGER_SWIPE:
return "TWO_FINGER_SWIPE";
+ case MotionClassification::MULTI_FINGER_SWIPE:
+ return "MULTI_FINGER_SWIPE";
}
}