abouttreesummaryrefslogcommitdiff
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorJules Aguillon2023-06-03 11:08:22 +0200
committerJules Aguillon2023-06-03 11:15:19 +0200
commit69e0b4c2a2424b83ce0ec876938ec3e73dd5b612 (patch)
tree75c002dcf243d440497a6ce11b30c50a50b4bd8f /res/values/arrays.xml
parent6f418727cfcdd9377a345c8a40e200f701aa7ac7 (diff)
downloadunexpected-keyboard-69e0b4c2a2424b83ce0ec876938ec3e73dd5b612.tar.gz
unexpected-keyboard-69e0b4c2a2424b83ce0ec876938ec3e73dd5b612.zip
More control over vibration
The newer haptic feedback API that is used instead of the vibrator service since ef03dfe doesn't work for everyone. The new vibration option allow to choose both the newer API ("system") and the older API ("strong", "medium", "light").
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 51c5940..cf66614 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -134,4 +134,18 @@
<item>25</item>
<item>35</item>
</string-array>
+ <string-array name="pref_vibration_entries">
+ <item>@string/pref_vibration_e_disabled</item>
+ <item>@string/pref_vibration_e_system</item>
+ <item>@string/pref_vibration_e_strong</item>
+ <item>@string/pref_vibration_e_medium</item>
+ <item>@string/pref_vibration_e_light</item>
+ </string-array>
+ <string-array name="pref_vibration_values">
+ <item>disabled</item>
+ <item>system</item>
+ <item>strong</item>
+ <item>medium</item>
+ <item>light</item>
+ </string-array>
</resources>