Add support for delete swipe and spacebar navigation.

This is taken from simplekeyboard; the spacebar logic is the old one, to avoid a bug in some applications when moving the cursor at the beginning of the text.
This commit is contained in:
dslul 2020-01-18 16:26:22 +01:00
parent 3263ae00cc
commit ec4c6ea2b9
10 changed files with 130 additions and 13 deletions

View file

@ -48,6 +48,16 @@
android:title="@string/show_setup_wizard_icon"
android:summary="@string/show_setup_wizard_icon_summary"
android:persistent="true" />
<CheckBoxPreference
android:key="pref_space_trackpad"
android:title="@string/space_trackpad"
android:summary="@string/space_trackpad_summary"
android:defaultValue="true" />
<CheckBoxPreference
android:key="pref_delete_swipe"
android:title="@string/delete_swipe"
android:summary="@string/delete_swipe_summary"
android:defaultValue="true" />
<PreferenceScreen
android:fragment="org.dslul.openboard.inputmethod.latin.settings.DebugSettingsFragment"
android:key="screen_debug"