summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2022-11-24 15:52:53 +0000
committer Harry Cutts <hcutts@google.com> 2022-12-07 14:10:49 +0000
commit74235548729b615df5e85443ae3d4128fe041c79 (patch)
tree3393180d286f4bfd18285e33ea385ff315b30d85 /libs/gui/LayerDebugInfo.cpp
parentb1a00841c9cf9de4d2c8637dd05b0d0c628f3cd2 (diff)
Convert touchpad gestures into pointer moves & clicks
While the gestures library may return some events asynchronously (which will require some changes to InputReader to handle), most are returned during the call to PushHardwareState, allowing us to handle them easily. Here we handle mouse movement, clicks, and drags. I was going to send the BUTTON_PRESS events before the DOWN events, as we'd discussed changing as part of the click event consistency work, but doing so results in an input event injection failure from the dispatcher, so for now I've kept the order the same as for mice. Bug: 251196347 Test: connect Apple Magic Trackpad 2, move, click, and drag Test: atest inputflinger_tests Change-Id: I3a60ea6bd166bdb9b628f5a17d9e1b6e7341ba42
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions