• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 enable the new Keyboard backlight controller introduced in Android U, that allows
37# Framework to control keyboard backlight on supported devices.
38prop {
39    api_name: "enable_keyboard_backlight_control"
40    type: Boolean
41    scope: Internal
42    access: Readonly
43    prop_name: "persist.input.keyboard.backlight_control.enabled"
44}
45
46# A flag to force showing a pointer icon for stylus pointers, even when the device is not
47# configured for it. Used for debugging stylus pointer icons. Requires restart.
48prop {
49    api_name: "force_enable_stylus_pointer_icon"
50    type: Boolean
51    scope: Internal
52    access: Readonly
53    prop_name: "persist.debug.input.force_enable_stylus_pointer_icon"
54}
55
56# A flag to enable the Keyboard backlight animations introduced in Android U-QPR.
57prop {
58    api_name: "enable_keyboard_backlight_animation"
59    type: Boolean
60    scope: Internal
61    access: Readonly
62    prop_name: "persist.input.keyboard.backlight_animation.enabled"
63}
64
65# A flag to start logging atoms relating into input device usage metrics. Requires restart.
66prop {
67    api_name: "enable_input_device_usage_metrics"
68    type: Boolean
69    scope: Internal
70    access: Readonly
71    prop_name: "persist.debug.input.enable_input_device_usage_metrics"
72}
73
74# A flag to enable the Custom levels provided via IDC files for Keyboard backlight
75# introduced in Android U-QPR1.
76prop {
77    api_name: "enable_keyboard_backlight_custom_levels"
78    type: Boolean
79    scope: Internal
80    access: Readonly
81    prop_name: "persist.input.keyboard.backlight_custom_levels.enabled"
82}
83
84
85# A flag to enable ALS based keyboard backlight control introduced in Android U-QPR1.
86prop {
87    api_name: "enable_ambient_keyboard_backlight_control"
88    type: Boolean
89    scope: Internal
90    access: Readonly
91    prop_name: "persist.input.keyboard.ambient_backlight_control.enabled"
92}
93