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. 19# Requires a reboot to take effect. 20prop { 21 api_name: "simulate_stylus_with_touch" 22 type: Boolean 23 scope: Internal 24 access: Readonly 25 prop_name: "persist.debug.input.simulate_stylus_with_touch" 26} 27 28# A flag to enable the new touchpad input mapper introduced in Android U, based around the ChromeOS 29# gestures library. 30prop { 31 api_name: "enable_touchpad_gestures_library" 32 type: Boolean 33 scope: Internal 34 access: Readonly 35 prop_name: "persist.input.touchpad.gestures_library.enabled" 36} 37 38# A flag to enable or disable system motion prediction. 39prop { 40 api_name: "enable_motion_prediction" 41 type: Boolean 42 scope: Internal 43 access: Readonly 44 prop_name: "persist.input.enable_motion_prediction" 45} 46 47# A flag to enable the new Keyboard backlight controller introduced in Android U, that allows 48# Framework to control keyboard backlight on supported devices. 49prop { 50 api_name: "enable_keyboard_backlight_control" 51 type: Boolean 52 scope: Internal 53 access: Readonly 54 prop_name: "persist.input.keyboard.backlight_control.enabled" 55} 56 57# A flag to force showing a pointer icon for stylus pointers, even when the device is not 58# configured for it. Used for debugging stylus pointer icons. Requires restart. 59prop { 60 api_name: "force_enable_stylus_pointer_icon" 61 type: Boolean 62 scope: Internal 63 access: Readonly 64 prop_name: "persist.debug.input.force_enable_stylus_pointer_icon" 65} 66 67# A flag to enable the Keyboard backlight animations introduced in Android U-QPR. 68prop { 69 api_name: "enable_keyboard_backlight_animation" 70 type: Boolean 71 scope: Internal 72 access: Readonly 73 prop_name: "persist.input.keyboard.backlight_animation.enabled" 74} 75 76# A flag to start logging atoms relating into input device usage metrics. Requires restart. 77prop { 78 api_name: "enable_input_device_usage_metrics" 79 type: Boolean 80 scope: Internal 81 access: Readonly 82 prop_name: "persist.debug.input.enable_input_device_usage_metrics" 83} 84 85# A flag to enable the Custom levels provided via IDC files for Keyboard backlight 86# introduced in Android U-QPR1. 87prop { 88 api_name: "enable_keyboard_backlight_custom_levels" 89 type: Boolean 90 scope: Internal 91 access: Readonly 92 prop_name: "persist.input.keyboard.backlight_custom_levels.enabled" 93} 94 95 96# A flag to enable ALS based keyboard backlight control introduced in Android U-QPR1. 97prop { 98 api_name: "enable_ambient_keyboard_backlight_control" 99 type: Boolean 100 scope: Internal 101 access: Readonly 102 prop_name: "persist.input.keyboard.ambient_backlight_control.enabled" 103} 104