| commit | 94f5bd52952e4c909278e5290310ef3d749f569e | [log] [tgz] |
|---|---|---|
| author | Harry Cutts <hcutts@google.com> | Fri Jan 06 18:02:18 2023 +0000 |
| committer | Harry Cutts <hcutts@google.com> | Fri Jan 06 18:02:18 2023 +0000 |
| tree | 092820fc1639545e095bab98e59b1b3d3ee97fba | |
| parent | 2e2c00f8df0e2bfcadc0b2df544065c82cd42cb9 [diff] |
TouchpadInputMapper: rotate multi-finger swipes with display
Or more specifically, rotate the fake fingers for them — the
`GESTURE_{X,Y}_OFFSET` axes are unaffected by the screen rotation.
Bug: 263378323
Test: Rotate device to landscape, check multi-finger swipe pointers are rotated
Test: atest inputflinger_tests
Change-Id: I376588f3574f6cd6ba54b5d84a6da3d76b4159f4