diff options
| author | 2022-10-26 15:22:19 +0000 | |
|---|---|---|
| committer | 2022-10-27 10:59:18 +0000 | |
| commit | 16a24cc68aecf8f5b29efb1ef9420b3060559446 (patch) | |
| tree | 9e962a80949b00bb28d43f106bcb2d1cea07f206 /libs/jpegrecoverymap/jpegencoder.cpp | |
| parent | 6278ca243f9a154e86714e79198ffc51ea4266fe (diff) | |
Use both mouse and touchpad sources for touchpads
Previously, touchpads only used `SOURCE_MOUSE`, unless they were
captured, in which case they only used `SOURCE_TOUCHPAD`. This made it
hard to distinguish connected touchpads from mice, e.g. when deciding
whether to display touchpad-specific settings. With this change,
uncaptured touchpads will have `SOURCE_MOUSE | SOURCE_TOUCHPAD`.
Bug: 245929943
Test: Check output of `dumpsys input`
Test: Check sources of incoming touchpad `MotionEvent`s in a test app
Test: atest inputflinger_tests
Change-Id: I74a75db63b7be211ad247b0c9c6c6b28853a4df8
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoder.cpp')
0 files changed, 0 insertions, 0 deletions