DescriptionRefactor TouchTransformerConverter to allow support for Ozone
In Ozone the touch events are received in device coordinates. This
change consolidates the different transformations into one function and
makes it use the touchscreen size when computing the transformation for
Ozone and the framebuffer size for X11.
BUG=425258
TESTS=Manually verified that X11 in single, mirror, extended and docked
mode work with external touchscreen.
Committed: https://crrev.com/8c3bd1e68124be19b17420144b4b76ece0c87035
Cr-Commit-Position: refs/heads/master@{#302135}
Patch Set 1 #Patch Set 2 : Rebased #
Messages
Total messages: 9 (2 generated)
|