summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-01-05 18:36:02 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-01-05 18:36:02 +0000
commit45d7f9c5bee90bd82b9fe561a8b70b87806e7ab0 (patch)
tree8055e8f7708d1f3e0f111be80746e49e9901e8cc /native/android/input.cpp
parent0893c34919287f1063bc4038eadca24bf6b31c22 (diff)
parente2da4084a12368d022a217490af146bb9e3f5388 (diff)
Merge "Add MULTI_FINGER_SWIPE motion classification"
Diffstat (limited to 'native/android/input.cpp')
-rw-r--r--native/android/input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/android/input.cpp b/native/android/input.cpp
index 812db0f1c507..5e5ebed78e61 100644
--- a/native/android/input.cpp
+++ b/native/android/input.cpp
@@ -297,6 +297,8 @@ int32_t AMotionEvent_getClassification(const AInputEvent* motion_event) {
return AMOTION_EVENT_CLASSIFICATION_DEEP_PRESS;
case android::MotionClassification::TWO_FINGER_SWIPE:
return AMOTION_EVENT_CLASSIFICATION_TWO_FINGER_SWIPE;
+ case android::MotionClassification::MULTI_FINGER_SWIPE:
+ return AMOTION_EVENT_CLASSIFICATION_MULTI_FINGER_SWIPE;
}
}