Change information
Commit message:
[M146] 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/7680@{#2743}
Cr-Branched-From: 76b7d80e5cda23fe6537eed26d68c92e995c7f39-refs/heads/main@{#1582197}
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/7680
Submit Requirements:
Code-Review: +1 by Sean O'Brien, Bot-Commit+1 by Rubber Stamper