abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorJules Aguillon2022-01-29 19:27:33 +0100
committerJules Aguillon2022-01-29 19:27:33 +0100
commit4333575bb921abe2293e68020d6dce2c7da58aed (patch)
treef0958c9b000c7933cefd58494bd52d0f7485f1e7 /res/xml
parente0217c650dfbe7090bc221f0f1f6d714db969ad5 (diff)
downloadunexpected-keyboard-4333575bb921abe2293e68020d6dce2c7da58aed.tar.gz
unexpected-keyboard-4333575bb921abe2293e68020d6dce2c7da58aed.zip
Add support for the Bulgarian language and layout
Thanks Zdravko Iskrenov for the contribution.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/local_bgph1.xml44
-rw-r--r--res/xml/method.xml1
2 files changed, 45 insertions, 0 deletions
diff --git a/res/xml/local_bgph1.xml b/res/xml/local_bgph1.xml
new file mode 100644
index 0000000..7ad309b
--- /dev/null
+++ b/res/xml/local_bgph1.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard>
+ <row>
+ <key key0="я" key1="esc" key2="1" key3="ч" key4="!"/>
+ <key key0="в" key2="2" key3="\@"/>
+ <key key0="е" key2="3" key3="\#" key4="№"/>
+ <key key0="р" key2="4" key3="$"/>
+ <key key0="т" key2="5" key3="%"/>
+ <key key0="ъ" key2="6" key3="^" key4="€"/>
+ <key key0="у" key2="7" key3="&amp;" key4="§"/>
+ <key key0="и" key2="8" key3="*"/>
+ <key key0="о" key1="accent_macron" key2="9" key3="(" key4=")"/>
+ <key key0="п" key2="0" key3="ш" key4="щ"/>
+ </row>
+ <row>
+ <key shift="0.5" key0="а" key1="tab" key2="`"/>
+ <key key0="с"/>
+ <key key0="д" key1="accent_grave" key3="accent_aigu"/>
+ <key key0="ф"/>
+ <key key0="г" key1="accent_caron" key2="-" key3="_"/>
+ <key key0="х" key2="=" key3="+"/>
+ <key key0="й" key1="accent_trema" key2="accent_circonflexe" key4="}" key3="{"/>
+ <key key0="к" key3="[" key4="]"/>
+ <key key0="л" key2="|" key3="\\"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift"/>
+ <key key0="з"/>
+ <key key0="ь" key1="accent_ring" key3="ѝ"/>
+ <key key0="ц" key1="accent_cedille" key2="&lt;" key3="."/>
+ <key key0="ж" key2="&gt;" key3=","/>
+ <key key0="б" key2="\?" key3="/"/>
+ <key key0="н" key1="accent_tilde" key2=":" key3=";"/>
+ <key key0="м" key2="&quot;" key3="'"/>
+ <key width="1.5" key0="backspace" key2="delete"/>
+ </row>
+ <row height="0.95">
+ <key width="1.8" key0="ctrl" key3="switch_numeric"/>
+ <key width="1.2" key0="alt" key1="fn" key2="change_method" key3="switch_emoji" key4="config"/>
+ <key width="4.0" key0="space"/>
+ <key width="1.2" key1="up" key2="right" key3="left" key4="down"/>
+ <key width="1.8" key0="enter" key2="action"/>
+ </row>
+</keyboard>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 739dd7c..48b0900 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -7,4 +7,5 @@
<subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=grave|aigu"/>
<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=caron|cedille|macron"/>
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=aigu|trema|ring"/>
+ <subtype android:label="%s" android:languageTag="bg" android:imeSubtypeLocale="bg_BG" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=bgph1"/>
</input-method>