diff options
| author | 2022-06-24 18:37:04 +0000 | |
|---|---|---|
| committer | 2022-11-30 18:19:45 +0000 | |
| commit | 5d9d8e998c655aa680fcdafe2dfa03bc9a937995 (patch) | |
| tree | b4b981065e249214a9a3f21591a343997075c201 /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | 722325c5ada97021b0e39bd4fcdfaec3f396a026 (diff) | |
Do not transform values from a SOURCE_MOUSE_RELATIVE device
In Pointer Capture mode, we want the API to report events directly
as they are coming from the kernel without any transformations.
We already do this for SORUCE_TOUCHPAD. Here, we update the handling
of SOURCE_MOUSE_RELATIVE so that when Pointer Capture is enabled,
mouse events are not effected by the display or window state.
Bug: 233184154
Test: Apply non-standard scaling to a device using
"adb shell wm size" and run: atest MicrosoftSculpttouchTest
Test: atest libinput_tests
Test: atest inputflinger_tests
Change-Id: Ia6ef5a21312da949ac2704e9bfe4638626d3a894
Merged-In: Ia6ef5a21312da949ac2704e9bfe4638626d3a894
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions