summaryrefslogtreecommitdiff
path: root/libs/input/PropertyMap.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-03-10 15:17:43 +0000
committer Harry Cutts <hcutts@google.com> 2023-03-13 18:37:32 +0000
commit24492e67d413f9f1330deab239cb30343f25aa3e (patch)
tree6813536cdb1a1b6aef57ed324ddba87a07949f16 /libs/input/PropertyMap.cpp
parent3fcbed1e8e42b9aa109a3b370f5ed13b68b336e1 (diff)
Add IS_GENERATED_GESTURE flag to touchpad scrolling
The IS_GENERATED_GESTURE flag was added to improve scrolling in ARC++, and tells GestureDetector that the finger going down and moving is definitely for scrolling, meaning that it doesn't wait until ~20 pixels of movement have happened before starting the scroll. Adding it here should make scrolling a little more responsive, and also make the events more consistent with those for scrolling on ChromeOS. Bug: 251196347 Test: atest inputflinger_test Test: check touchpad scrolling still works well Change-Id: I17ac063fdea1f38413fd8060258c79bff3ccd5c0
Diffstat (limited to 'libs/input/PropertyMap.cpp')
0 files changed, 0 insertions, 0 deletions