Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8386938 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

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
parent c5218503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment