abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorJules Aguillon2022-04-24 00:34:26 +0200
committerJules Aguillon2022-04-24 00:41:49 +0200
commitfec3f109c970901db31e1354b2cd3fc0015964e8 (patch)
treeff22978e363e3646319ec2a0c0178768e3913451 /res/xml
parentf9f44fbd7d96b4883114b8eb08f660d6912e3df0 (diff)
downloadunexpected-keyboard-fec3f109c970901db31e1354b2cd3fc0015964e8.tar.gz
unexpected-keyboard-fec3f109c970901db31e1354b2cd3fc0015964e8.zip
Add support for Lithuanian
Requires two new diacritics: ogonek and dot_above. The new accents are also added to the Latvian layout as the two language can be close but not to the other localized layouts. A new mechanism is needed to reproducibly add extra keys to layouts without manual placement.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/dvorak.xml4
-rw-r--r--res/xml/method.xml1
-rw-r--r--res/xml/qwerty.xml4
-rw-r--r--res/xml/qwerty_lv.xml4
4 files changed, 7 insertions, 6 deletions
diff --git a/res/xml/dvorak.xml b/res/xml/dvorak.xml
index 24d2117..567af47 100644
--- a/res/xml/dvorak.xml
+++ b/res/xml/dvorak.xml
@@ -13,8 +13,8 @@
</row>
<row>
<key key0="a" key2="1" key4="!"/>
- <key key0="o" key1="accent_macron" key2="2" key3="\@"/>
- <key key0="e" key1="accent_caron" key2="3" key3="\#"/>
+ <key key0="o" key1="accent_macron" key2="2" key3="\@" key4="accent_ogonek"/>
+ <key key0="e" key1="accent_caron" key2="3" key3="\#" key4="accent_dot_above"/>
<key key0="u" key2="4" key3="$"/>
<key key0="i" key2="5" key3="%"/>
<key key0="d" key2="6" key3="^"/>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 49b683d..85685d5 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -8,6 +8,7 @@
<subtype android:label="%s" android:languageTag="fr" android:imeSubtypeLocale="fr_FR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=azerty,extra_keys=accent_grave|accent_aigu|accent_circonflexe|accent_cedille|accent_trema|€"/>
<subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_grave|accent_aigu|€"/>
<subtype android:label="%s" android:languageTag="ko" android:imeSubtypeLocale="ko_KR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_ko"/>
+ <subtype android:label="%s" android:languageTag="lt" android:imeSubtypeLocale="lt_LT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_ogonek|accent_caron|accent_dot_above|accent_macron|€"/>
<subtype android:label="%s" android:languageTag="lv" android:imeSubtypeLocale="lv_LV" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_lv,extra_keys=accent_caron|accent_cedille|accent_macron|€"/>
<subtype android:label="%s" android:languageTag="pt" android:imeSubtypeLocale="pt_BR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_pt,extra_keys=accent_aigu|accent_cedille|accent_circonflexe|accent_grave|accent_tilde|€"/>
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
diff --git a/res/xml/qwerty.xml b/res/xml/qwerty.xml
index 8f07441..5e314a8 100644
--- a/res/xml/qwerty.xml
+++ b/res/xml/qwerty.xml
@@ -14,9 +14,9 @@
</row>
<row>
<key shift="0.5" key0="a" key1="tab" key2="`"/>
- <key key0="s" key1="accent_ring" key3="ß"/>
+ <key key0="s" key1="accent_ring" key3="ß" key4="accent_ogonek"/>
<key key0="d" key1="accent_grave" key2="£" key3="accent_aigu"/>
- <key key0="f"/>
+ <key key0="f" key1="accent_dot_above"/>
<key key0="g" key1="accent_caron" key2="-" key3="_"/>
<key key0="h" key2="=" key3="+"/>
<key key0="j" key1="accent_trema" key2="accent_circonflexe" key4="}" key3="{"/>
diff --git a/res/xml/qwerty_lv.xml b/res/xml/qwerty_lv.xml
index 797aca2..e9a1fc2 100644
--- a/res/xml/qwerty_lv.xml
+++ b/res/xml/qwerty_lv.xml
@@ -14,9 +14,9 @@
</row>
<row>
<key shift="0.5" key0="a" key1="ā" key2="tab"/>
- <key key0="s" key1="š" key3="ß"/>
+ <key key0="s" key1="š" key3="ß" key4="accent_ogonek"/>
<key key0="d" key2="£"/>
- <key key0="f"/>
+ <key key0="f" key1="accent_dot_above"/>
<key key0="g" key1="ģ"/>
<key key0="h" key2="accent_macron" key3="accent_caron" key4="accent_cedille"/>
<key key0="j" key1="+" key2="=" key3="-" key4="_"/>