diff options
| author | Jules Aguillon | 2021-04-20 00:34:21 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2021-04-20 00:34:21 +0200 |
| commit | 5dec9c12154b6eec752c9fa88fde0b392b78db61 (patch) | |
| tree | 935141d5d914bd7e9b12127da2762e6d3801def6 /res | |
| parent | 83b3212d3d880e19ed6298d1182a88207d11be07 (diff) | |
| download | unexpected-keyboard-5dec9c12154b6eec752c9fa88fde0b392b78db61.tar.gz unexpected-keyboard-5dec9c12154b6eec752c9fa88fde0b392b78db61.zip | |
Add a setting for precise repeat
Diffstat (limited to 'res')
| -rw-r--r-- | res/values/strings.xml | 2 | ||||
| -rw-r--r-- | res/xml/settings.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index e53b4b6..fc6860d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -23,6 +23,8 @@ <string name="pref_vibrate_summary">Enable/Disable vibrations on key down</string> <string name="pref_vibrate_duration_title">Duration</string> <string name="pref_vibrate_duration_summary">%sms</string> + <string name="pref_precise_repeat_title">Precise cursor movements</string> + <string name="pref_precise_repeat_summary">Modulate the speed of movements by swiping more or less</string> <string name="pref_category_style">Style</string> <string name="pref_margin_bottom_title">Margin bottom</string> diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 8c37179..ef4e232 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -33,6 +33,12 @@ min="5" max="100" /> + <CheckBoxPreference + android:key="precise_repeat" + android:title="@string/pref_precise_repeat_title" + android:summary="@string/pref_precise_repeat_summary" + android:defaultValue="true" + /> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_category_vibrate"> <CheckBoxPreference |
