aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErfan Abdi <erfangplus@gmail.com>2021-12-25 10:42:25 +0330
committerRamii Ahmed <ramy@ahmedramy.com>2022-05-23 17:19:29 +0000
commite563e618709c2382a29c66895cbc8ce025c93344 (patch)
treef1b8c0118753eaf9576ce2db29e64cb26d080e8f
parentc7372c01ed29f94826454fd4291906306eed2fd7 (diff)
veux: overlay: Add vibration patterns
Change-Id: I5447126ffea6a8e8db9ef9d05aa7055f5f050b7b
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 142540b..f39f134 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -298,6 +298,23 @@
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100.0%</fraction>
+ <!-- Vibrator pattern for feedback about a long screen/key press -->
+ <integer-array name="config_longPressVibePattern">
+ <item>0</item>
+ <item>10</item>
+ </integer-array>
+
+ <!-- Vibrator pattern for feedback about touching a virtual key -->
+ <integer-array name="config_virtualKeyVibePattern">
+ <item>0</item>
+ <item>10</item>
+ </integer-array>
+
+ <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
+ <integer-array name="config_keyboardTapVibePattern">
+ <item>10</item>
+ </integer-array>
+
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.