abouttreesummaryrefslogcommitdiff
path: root/res/xml/settings.xml
diff options
context:
space:
mode:
authorJules Aguillon2025-08-17 19:24:08 +0200
committerGitHub2025-08-17 19:24:08 +0200
commitcedf3aeb1c63ac91f550dd48f984cf4f6cf68ed7 (patch)
treedda0fbdafe68b953e1fe032fddca75d8f728e879 /res/xml/settings.xml
parentc1d473b4a0b77765e7787a7dc052a748873be826 (diff)
downloadunexpected-keyboard-cedf3aeb1c63ac91f550dd48f984cf4f6cf68ed7.tar.gz
unexpected-keyboard-cedf3aeb1c63ac91f550dd48f984cf4f6cf68ed7.zip
Slider sensitivity option and improve slider ergonimics (#1070)
* Add option 'Space bar slider sensitivity' * Fix slider moving the cursor twice at the beginning The slider was generating two events when first activated. Since 2bed42857. * Make slider less sensitive for the first step This moves the second slider step approximately 40% further and takes the new sensitivity option into account. Allows moving the cursor by one spot more easily.
Diffstat (limited to 'res/xml/settings.xml')
-rw-r--r--res/xml/settings.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 40e3676..22dbef2 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -15,6 +15,7 @@
<PreferenceCategory android:title="@string/pref_category_typing">
<ListPreference android:key="swipe_dist" android:title="@string/pref_swipe_dist_title" android:summary="@string/pref_swipe_dist_summary" android:defaultValue="15" android:entries="@array/pref_swipe_dist_entries" android:entryValues="@array/pref_swipe_dist_values"/>
<ListPreference android:key="circle_sensitivity" android:title="@string/pref_circle_sensitivity_title" android:summary="%s" android:defaultValue="2" android:entries="@array/pref_circle_sensitivity_entries" android:entryValues="@array/pref_circle_sensitivity_values"/>
+ <ListPreference android:key="slider_sensitivity" android:title="@string/pref_slider_sensitivity_title" android:summary="%s" android:defaultValue="30" android:entries="@array/pref_slider_sensitivity_entries" android:entryValues="@array/pref_slider_sensitivity_values"/>
<juloo.keyboard2.prefs.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/>
<CheckBoxPreference android:key="keyrepeat_enabled" android:title="@string/pref_keyrepeat_enabled" android:defaultValue="true"/>
<juloo.keyboard2.prefs.IntSlideBarPreference android:key="longpress_interval" android:dependency="keyrepeat_enabled" android:title="@string/pref_long_interval_title" android:summary="%sms" android:defaultValue="25" min="5" max="100"/>