Age | Commit message (Collapse) | Author |
|
This CL updates the `calculateBaseGain` function to use a base gain range of [1.0, 2.5]
instead of [0.5, 1.5]. This change ensures that the pointer movement is more responsive to
changes in sensitivity.
Bug: b/384552392
Test: Manual
Flag: com.android.hardware.input.pointer_acceleration
Change-Id: I5db7b1473fd5b6869f02fc4ef7aa1458a0df6f58
|
|
Bug: 382276176
Test: atest CursorInputMapperUnitTest
Flag: com.android.hardware.input.pointer_acceleration
Change-Id: I431ac6fa3b918b1d292528f614e06532837c4a82
|
|
The new touchpad mapper implemented in Android 14 replaced our simple
cursor movement acceleration curves (where the acceleration factor
increased linearly with speed between minimum and maximum values) with
more sophisticated multi-segment curves. However, cursor movement using
mice remained on the old curves. For consistency and to improve pointing
accuracy, use the same curves for mice, too.
This is also a good opportunity to improve the documentation comments
and naming now that I've wrapped my head around the maths a bit better.
Bug: 315313622
Test: atest inputflinger_tests
Test: check pointer movement with a mouse, including changing the
pointer speed setting and checking that the movement speed changes
Change-Id: Ifcf43f4de6017f06b66f37d5e03a13cc257d92d5
|