diff options
| author | 2024-06-15 12:58:20 +0000 | |
|---|---|---|
| committer | 2024-07-08 08:18:05 +0000 | |
| commit | 8ff5e5ecde93d80549208f25563f351da90a8dfc (patch) | |
| tree | af7f75b07b7828ad83cbcca4269e8e2ac465a27e /libs/gui/BLASTBufferQueue.cpp | |
| parent | 9a87716c8a4715332adc8970de44e3f1ea83fb72 (diff) | |
Support high-resolution scroll
VirtualMouse currently supports -1f to 1f float scroll values,
but it worked for integer values only as input framework supported
only REL_HWHEEL and REL_WHEEL events. With the introduction of
high-res scroll event support (REL_HWHEEL_HI_RES and REL_WHEEL_HI_RES),
granular mouse scrolling can be done, and VirtualMouse scroll API
would work for all float values.
Flag: android.companion.virtualdevice.flags.high_resolution_scroll
Test: atest VirtualMouseTest
Bug: 335160780
Change-Id: I7b13ac1722b6fd31736fe1c0117d4de6e838261a
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions