xref: /aosp_15_r20/system/libsysprop/srcs/android/sysprop/InputProperties.sysprop (revision 84dc9db433a600c0ca231d638135de5b8181a4b9)
1# Copyright (C) 2021 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15module: "android.sysprop.InputProperties"
16owner: Platform
17
18# A debug flag that converts all touch pointers to stylus pointers.
19prop {
20    api_name: "simulate_stylus_with_touch"
21    type: Boolean
22    scope: Internal
23    access: Readonly
24    prop_name: "debug.input.simulate_stylus_with_touch"
25}
26
27# A flag to enable or disable system motion prediction.
28prop {
29    api_name: "enable_motion_prediction"
30    type: Boolean
31    scope: Internal
32    access: Readonly
33    prop_name: "persist.input.enable_motion_prediction"
34}
35
36# A flag to force showing a pointer icon for stylus pointers, even when the device is not
37# configured for it. Used for debugging stylus pointer icons. Requires restart.
38prop {
39    api_name: "force_enable_stylus_pointer_icon"
40    type: Boolean
41    scope: Internal
42    access: Readonly
43    prop_name: "persist.debug.input.force_enable_stylus_pointer_icon"
44}
45
46# A flag to enable the Keyboard backlight animations introduced in Android U-QPR.
47prop {
48    api_name: "enable_keyboard_backlight_animation"
49    type: Boolean
50    scope: Internal
51    access: Readonly
52    prop_name: "persist.input.keyboard.backlight_animation.enabled"
53}
54
55# A flag to start logging atoms relating into input device usage metrics. Requires restart.
56prop {
57    api_name: "enable_input_device_usage_metrics"
58    type: Boolean
59    scope: Internal
60    access: Readonly
61    prop_name: "persist.debug.input.enable_input_device_usage_metrics"
62}
63
64