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

Commit 75b20497 authored by Danny Wang's avatar Danny Wang
Browse files

Implement mouse keys acceleration and max speed

This change introduces a TimeSource interface and injects it into MouseKeysInterceptor to improve testability and ensure deterministic timing for mouse key acceleration logic.

screencast: http://go/scrcast/NTk5ODk1MjIyNTcwMTg4OHw5NWVhZWU5Mi1jZQ

Bug: b/414403815, b/414407715
Test: atest MouseKeysInterceptorTest
Flag: com.android.server.accessibility.enable_mouse_key_enhancement
Change-Id: I0b641791546fd9d6b965d4132a018bf2739769dd
parent fc10f2f0
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