Add Mouse keys A11Y settings to PK settings page
Add the mouse keys toggle in the Settings under System > Keybord > Physical Keyboard > Mouse Keys. The toggle is shown when a physical keyboard is connected. DD: go/mouse-keys-android Bug: 341799888 Flag: com.android.hardware.input.keyboard_a11y_mouse_keys Test: manual Steps: 1. Connect a physical keyboard 2. Toggle the mouse keys setting to switch on the feature. 3. Mouse keys is enabled. 4. Switch off the mouse keys toggle under the setting. 5. Mouse keys is disabled. Change-Id: Ifda8c93fcc1f8b7c1fb2eccb7c91266360ff1fc8
This commit is contained in:
@@ -4451,6 +4451,10 @@
|
||||
<string name="sticky_keys">Sticky keys</string>
|
||||
<!-- Summary text for the 'Sticky keys' preference sub-screen. [CHAR LIMIT=300] -->
|
||||
<string name="sticky_keys_summary">Press one key at a time for shortcuts instead of holding keys down together</string>
|
||||
<!-- Title for a toggle switch for 'mouse' keys, an accessibility setting that allows the mouse pointer to be controlled using certain keys on a physical keyboard if keyboard is connected. [CHAR LIMIT=35] -->
|
||||
<string name="mouse_keys">Mouse keys</string>
|
||||
<!-- Summary text for the accessibility setting 'Mouse keys' preference sub-screen. [CHAR LIMIT=100] -->
|
||||
<string name="mouse_keys_summary">Use the physical keyboard to control the mouse.</string>
|
||||
<!-- Title for the button to trigger the 'keyboard shortcuts helper' dialog. [CHAR LIMIT=35] -->
|
||||
<string name="keyboard_shortcuts_helper">Keyboard shortcuts</string>
|
||||
<!-- Summary text for the 'keyboard shortcuts helper' dialog. [CHAR LIMIT=100] -->
|
||||
|
||||
@@ -53,5 +53,11 @@
|
||||
android:title="@string/slow_keys"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="accessibility_mouse_keys"
|
||||
android:title="@string/mouse_keys"
|
||||
android:summary="@string/mouse_keys_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user