Bug: 383555305 Bug: 384795606 Test: Local DUT with aconfig flags enabled, verified settings appears and is togglable. Verified toggle affects scrolling acceleration. Flag: com.android.hardware.input.mouse_scrolling_acceleration Change-Id: Ibba2bb1c3cb57b98ad34a5851bae7b9d73e48d74
46 lines
2.0 KiB
XML
46 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2024 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/mouse_settings">
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_reverse_vertical_scrolling"
|
|
android:title="@string/mouse_reverse_vertical_scrolling"
|
|
android:summary="@string/mouse_reverse_vertical_scrolling_summary"
|
|
settings:controller="com.android.settings.inputmethod.MouseReverseVerticalScrollingPreferenceController" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_swap_primary_button"
|
|
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" />
|
|
|
|
<SwitchPreferenceCompat
|
|
android:key="mouse_scrolling_acceleration"
|
|
android:title="@string/mouse_scrolling_acceleration"
|
|
settings:controller="com.android.settings.inputmethod.MouseScrollingAccelerationPreferenceController" />
|
|
</PreferenceScreen>
|