summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-03-31 18:36:52 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-04-14 14:23:51 +0000
commitd838693827653e30e36e1a296bd65f93c000c339 (patch)
tree4cf6f0382bfd40396ad67e2f1d00af7ff0578f2c /libs/gui/BLASTBufferQueue.cpp
parentc52185039b5a48f1c4150183ab02fabcf2128b77 (diff)
Disable mouse acceleration and scaling when Pointer Capture is enabled
Pointer Capture is usually used by games. Disabling pointer acceleration and speed scaling for mice when the feature is enabled would allow games/libraries to handle mouse events directly from the device, giving them more flexibility to tune the behavior. This makes Pointer Capture more similar between mice and touchpads, since they both now report the same values that the raw input device reports. This should give the most flexibility for apps to handle the API at a low-level. Bug: 225853027 Test: atest inputflinger_tests Change-Id: I5eba5257ec3b47b0772a6a6435a64f5102c2c4b7
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions