diff options
| author | Raphael | 2022-03-05 14:17:45 -0500 |
|---|---|---|
| committer | GitHub | 2022-03-05 20:17:45 +0100 |
| commit | 5404e7432d9240b3c88dce3a8cf240362016293c (patch) | |
| tree | 1040c96d81da6609c725e1cb05c6b5f31f0ccae3 /res/xml | |
| parent | e92504ae92873ca7f0efa80421893bc69f98fa11 (diff) | |
| download | unexpected-keyboard-5404e7432d9240b3c88dce3a8cf240362016293c.tar.gz unexpected-keyboard-5404e7432d9240b3c88dce3a8cf240362016293c.zip | |
Clicking twice on CTRL or ALT will lock them in 'ON' state (#72)
* Clicking twice on CTRL or ALT will lock them in 'ON' state
* Make Locking behaviour optional, configurable in preferences
* Nest the new settings into a different page
To avoid spamming the settings page and repetition in the summaries.
Cannot be a popup unfortunately because that would require API >= 11.
* Add Fn and Meta
Co-authored-by: Jules Aguillon <jules@j3s.fr>
Diffstat (limited to 'res/xml')
| -rw-r--r-- | res/xml/settings.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/xml/settings.xml b/res/xml/settings.xml index 7ae8542..9a1bcae 100644 --- a/res/xml/settings.xml +++ b/res/xml/settings.xml @@ -9,6 +9,13 @@ <juloo.common.IntSlideBarPreference android:key="longpress_timeout" android:title="@string/pref_long_timeout_title" android:summary="%sms" android:defaultValue="600" min="50" max="2000"/> <juloo.common.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="precise_repeat" android:title="@string/pref_precise_repeat_title" android:summary="@string/pref_precise_repeat_summary" android:defaultValue="true"/> + <PreferenceScreen android:title="@string/pref_lockable_keys_title" android:summary="@string/pref_lockable_keys_summary"> + <CheckBoxPreference android:key="lockable_shift" android:title="Shift" android:defaultValue="true"/> + <CheckBoxPreference android:key="lockable_ctrl" android:title="Ctrl" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_alt" android:title="Alt" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_fn" android:title="Fn" android:defaultValue="false"/> + <CheckBoxPreference android:key="lockable_meta" android:title="Meta" android:defaultValue="false"/> + </PreferenceScreen> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_category_vibrate"> <CheckBoxPreference android:key="vibrate_enabled" android:title="@string/pref_vibrate_title" android:summary="@string/pref_vibrate_summary" android:defaultValue="true"/> |
