Add preference toggle for mouse pointer acceleration setting
Bug: 384552392 Test: verified on DUT Flag: com.android.hardware.input.pointer_acceleration Change-Id: I45de5bdd2456cfb4fab6d1398bdc5d8f7b9efddb
This commit is contained in:
@@ -4648,6 +4648,10 @@
|
||||
<string name="mouse_swap_primary_button">Swap left and right buttons</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] -->
|
||||
<string name="mouse_swap_primary_button_summary">Use the left mouse button as your right</string>
|
||||
<!-- Title for the 'Cursor acceleration' preference switch, which dynamically adjusts cursor movement based on speed. [CHAR LIMIT=60] -->
|
||||
<string name="mouse_pointer_acceleration">Cursor acceleration</string>
|
||||
<!-- Summary text for the 'Cursor acceleration' preference switch indicating to users that when this switch is enabled, faster movements with your mouse will move the cursor farther. [CHAR LIMIT=NONE] -->
|
||||
<string name="mouse_pointer_acceleration_summary">Faster movements with your mouse will move the cursor farther</string>
|
||||
<!-- page title for Mouse key main page. [CHAR LIMIT=NONE] -->
|
||||
<string name="mouse_key_main_page_title">Mouse keys for <xliff:g id="keyboard name" example="my keyboard">%s</xliff:g></string>
|
||||
<!-- Summary text for Mouse keys directional image. [CHAR LIMIT=NONE] -->
|
||||
|
||||
@@ -31,4 +31,10 @@
|
||||
android:title="@string/mouse_swap_primary_button"
|
||||
android:summary="@string/mouse_swap_primary_button_summary"
|
||||
settings:controller="com.android.settings.inputmethod.MouseSwapPrimaryButtonPreferenceController" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="mouse_pointer_acceleration"
|
||||
android:title="@string/mouse_pointer_acceleration"
|
||||
android:summary="@string/mouse_pointer_acceleration_summary"
|
||||
settings:controller="com.android.settings.inputmethod.MousePointerAccelerationPreferenceController" />
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user