Add mouse scrollling speed slide bar

Bug: 383555305
Bug: 84795606
Test: Local DUT with aconfig flags enabled, verified slide bar
      appears and can be updated.
      Verified adjusting slide bar affects scrolling speed.
Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: Ia66f88ce855ab152a161ef3f81ab643415fad517
This commit is contained in:
YuhanYang
2024-12-18 17:40:37 +00:00
committed by Yuhan Yang
parent fbf2a46140
commit d5e44a0795
4 changed files with 105 additions and 11 deletions

View File

@@ -4678,6 +4678,8 @@
<!-- TODO(b/383555305): finalize these strings and mark them translatable. -->
<!-- Title for the 'Mouse controlled scrolling' preference switch, which disables the mouse scrolling acceleration so that the scrolling speed becomes directly proportional to the speed at which the wheel is turned. [CHAR LIMIT=60]-->
<string name="mouse_scrolling_acceleration" translatable="false">Controlled scrolling</string>
<!-- Title for the 'Scrolling speed' slider seekbar, which controls how fast content scrolls when the user moves the scroll wheel. [CHAR LIMIT=60]-->
<string name="mouse_scrolling_speed" translatable="false">Scrolling speed</string>
<!-- Title for the 'Swap buttons' preference switch, which swaps the left and right buttons of connected mice so that right click will be the primary action button and left clicking will be the secondary action, for example showing the context menu. [CHAR LIMIT=60] -->
<string name="mouse_swap_primary_button">Swap primary mouse button</string>
<!-- Summary text for the 'Swap buttons' preference switch indicating to users that when this switch is enabled, their left click will behave as though it is the right click (secondary action) and that the right click will be the primary action. [CHAR LIMIT=NONE] -->