diff options
| author | 2022-09-26 14:19:40 +0000 | |
|---|---|---|
| committer | 2022-09-26 14:19:40 +0000 | |
| commit | 9b9732cf5ce671c185e1fe671dba68c759aa507c (patch) | |
| tree | eb7bbc0128f6e3b142ce676fd38c7845fb3ab0c7 /include/android/input.h | |
| parent | d9858770607f5fd43820cb69f4b1382275a691e4 (diff) | |
| parent | 2800fb0c6b56711c6daf70491270dbea89fbf660 (diff) | |
Merge "Use TWO_FINGER_SWIPE classification for touchpad scroll events"
Diffstat (limited to 'include/android/input.h')
| -rw-r--r-- | include/android/input.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/android/input.h b/include/android/input.h index 8cd9e9551a..7080386df7 100644 --- a/include/android/input.h +++ b/include/android/input.h @@ -840,6 +840,12 @@ enum AMotionClassification : uint32_t { * This classification type should be used to accelerate the long press behaviour. */ AMOTION_EVENT_CLASSIFICATION_DEEP_PRESS = 2, + /** + * Classification constant: touchpad two-finger swipe. + * + * The current event stream represents the user swiping with two fingers on a touchpad. + */ + AMOTION_EVENT_CLASSIFICATION_TWO_FINGER_SWIPE = 3, }; /** |