diff options
| author | Jules Aguillon | 2024-06-30 00:24:39 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2024-06-30 00:24:39 +0200 |
| commit | bdb080657d4e829210270b17d21df976eadf632b (patch) | |
| tree | a8aff6663b5e5932c39438a002b96ebe2916d3f2 /res/xml | |
| parent | bf33230c26911f7a2e267c1ce5db4fcc096e1602 (diff) | |
| download | unexpected-keyboard-bdb080657d4e829210270b17d21df976eadf632b.tar.gz unexpected-keyboard-bdb080657d4e829210270b17d21df976eadf632b.zip | |
Option to disable key repeat
Internally "key repeat" is reword into "long press" when the same
mechanism was used for both features.
The constraint that 'timeoutWhat' must be set to '-1' when no message is
expected has been lifted to simplify the code.
Diffstat (limited to 'res/xml')
| -rw-r--r-- | res/xml/settings.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 270dfcd..c6c553a 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -16,7 +16,8 @@ <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"/> <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"/> - <juloo.keyboard2.prefs.IntSlideBarPreference android:key="longpress_interval" android:title="@string/pref_long_interval_title" android:summary="%sms" android:defaultValue="25" min="5" max="100"/> + <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"/> <CheckBoxPreference android:key="lock_double_tap" android:title="@string/pref_lock_double_tap_title" android:summary="@string/pref_lock_double_tap_summary" android:defaultValue="false"/> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_category_behavior"> |
