diff options
| author | 2024-09-11 15:05:13 +0000 | |
|---|---|---|
| committer | 2024-09-13 09:10:21 +0000 | |
| commit | 428b72dd4dd37262f265f95e0dcb8e5e75d3da2a (patch) | |
| tree | 8b62c75f2a48efb7e453f404f9bfd94886bc1064 /libs/input/PointerController.cpp | |
| parent | 814af359a2aae1c022190f77a49b4b6644240031 (diff) | |
Modify the translation of the orientation on the touchpad visualizer
Instead of translating the value of the orientation from the range [OrientationMinimum, OrientationMaximum] to the range [0, 360], now it is translated from the range [0, OrientationMaximum] to the range [0, 90]. That way it should be more compatible with the OrientationMaximum data given in the HardwareProperties.
Test: Build
Test: Manual testing
Bug: 286551975
Flag: com.android.hardware.input.touchpad_visualizer
Change-Id: I2038390221d6468cde64e78a59c7ee958a173734
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions