Change information
Commit message:
[M147] Compensate tablet input with panel orientation
Add rotation logic to TabletEventConverterEvdev so devices with none-0
panel orientation can use tablet devices. The change adds a transform
to tablet input coordinates before updating cursor location.
(cherry picked from commit e824c7895e1a0ea952409a06a1a401e08487613c)
Bug: b:487118330, b:162444998
Change-Id: I52c48f543ae2b5eda98327b5274266d75b856996
Cr-Original-Commit-Position: refs/heads/main@{#1598230}
Cr-Commit-Position: refs/branch-heads/7727@{#656}
Cr-Branched-From: ce01102937348db7b88c8a4257ee4b3ac702eb1a-refs/heads/main@{#1596535}
Files:
- M ui/events/ozone/evdev/BUILD.gn
- M ui/events/ozone/evdev/tablet_event_converter_evdev.cc
- M ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc
Change size: M
Delta: 3 files changed, 176 insertions(+), 11 deletions(-)
Branch: refs/branch-heads/7727
Submit Requirements:
Code-Review: +1 by Mitsuru Oshima