aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2013-09-30 23:40:26 +0100
committerTorne Wuff <torne@wolfpuppy.org.uk>2013-09-30 23:40:26 +0100
commitb06bdfb83db5900a276a1dc5a4f9957bdf4ff9c0 (patch)
treeafd15e77dee33fddf2d3df7aefbb171f968bd9e5 /res/xml
parent05bbc915058d85a4f1f0ef46d41ec40ed646152b (diff)
downloadconnectbot-b06bdfb83db5900a276a1dc5a4f9957bdf4ff9c0.tar.gz
connectbot-b06bdfb83db5900a276a1dc5a4f9957bdf4ff9c0.tar.bz2
connectbot-b06bdfb83db5900a276a1dc5a4f9957bdf4ff9c0.zip
Hopefully fix the majority of keyboard issues.
It seems that the majority of keyboard issues were caused by quirks implemented for the convenience of the HTC Dream (shift+numbers generating function keys on the hardware keyboard and ctrl+numbers generating function keys on the software keyboard). Turn these into settings, which are disabled by default unless the device is indeed a HTC Dream. Also, add a setting (defaulting to on) which determines whether the volume keys change the font size. Disabling this restores normal volume control functionality.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preferences.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 8726ea4..5fb836b 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -84,6 +84,27 @@
android:defaultValue="false"
/>
+ <CheckBoxPreference
+ android:key="shiftfkeys"
+ android:title="@string/pref_shiftfkeys_title"
+ android:summary="@string/pref_shiftfkeys_summary"
+ android:defaultValue="false"
+ />
+
+ <CheckBoxPreference
+ android:key="ctrlfkeys"
+ android:title="@string/pref_ctrlfkeys_title"
+ android:summary="@string/pref_ctrlfkeys_summary"
+ android:defaultValue="false"
+ />
+
+ <CheckBoxPreference
+ android:key="volumefont"
+ android:title="@string/pref_volumefont_title"
+ android:summary="@string/pref_volumefont_summary"
+ android:defaultValue="true"
+ />
+
<ListPreference
android:key="keymode"
android:title="@string/pref_keymode_title"