commit | 724215e2cf6a82b621aeed0bfd7c49539123b2bd | [log] [tgz] |
---|---|---|
author | Yeabkal Wubshit <yeabkal@google.com> | Tue Aug 29 16:48:09 2023 -0700 |
committer | Yeabkal Wubshit <yeabkal@google.com> | Tue Oct 03 12:13:47 2023 +0000 |
tree | d3605f219a9987092e2fec578a308466057252c3 | |
parent | 513207b177dc1a1bbb747c1d3275032025e43d17 [diff] |
Add support for adb scroll event injection This enables simulating ACTION_SCROLL motion events. It supports sources both of SOURCE_CLASS_POINTER and those that are not pointer-based. Test: adb shell input scroll --axis SCROLL,-2 HSCROLL,3.2 Test: adb shell input scroll --axis BAD_AXIS,3 (fails, as expected) Test: atest InputShellCommandTest Bug: 298107774 Change-Id: If59cda07749344657155f6553fe0f15ef151f2e9