abouttreesummaryrefslogcommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorigorSilCar2022-03-15 17:05:16 -0300
committerGitHub2022-03-15 21:05:16 +0100
commit2dae2105b2690fffb862ac16d843331d2f752926 (patch)
tree6b46b40618a5d11941eb83238be2a9b5cddd65a1 /res/xml
parentd53ee811d97692cebe91a5d5d2207dca4d5b8fd8 (diff)
downloadunexpected-keyboard-2dae2105b2690fffb862ac16d843331d2f752926.tar.gz
unexpected-keyboard-2dae2105b2690fffb862ac16d843331d2f752926.zip
Brazilian portuguese layout (#91)
* Providing a comprehensible Brazilian Portuguese keyboard layout removed cedille as it is already provided by an independent key; changed layout to correspond to the locale
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/method.xml2
-rw-r--r--res/xml/qwerty_pt.xml38
2 files changed, 39 insertions, 1 deletions
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 015aaba..4632c64 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -8,7 +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="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,extra_keys=accent_aigu|accent_cedille|accent_circonflexe|accent_grave|accent_tilde|€"/>
+ <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"/>
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
</input-method>
diff --git a/res/xml/qwerty_pt.xml b/res/xml/qwerty_pt.xml
new file mode 100644
index 0000000..139cbde
--- /dev/null
+++ b/res/xml/qwerty_pt.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard>
+ <row>
+ <key key0="q" key1="esc" key2="1" key3="~" key4="!"/>
+ <key key0="w" key2="2" key3="\@"/>
+ <key key0="e" key1="£" key2="3" key3="\#" key4="€"/>
+ <key key0="r" key2="4" key3="$"/>
+ <key key0="t" key2="5" key3="%"/>
+ <key key0="y" key1="accent_caron" key2="6" key3="^" key4="accent_trema"/>
+ <key key0="u" key2="7" key3="&amp;"/>
+ <key key0="i" key2="8" key3="*"/>
+ <key key0="o" key2="9" key3="(" key4=")"/>
+ <key key0="p" key2="0" key3="\\" key4="|"/>
+ </row>
+ <row>
+ <key key0="a" key1="tab" key2="'" key3="`" key4="&quot;"/>
+ <key key0="s" key1="accent_ring" key2="accent_caron" key3="ß" key4="accent_cedille"/>
+ <key key0="d"/>
+ <key key0="f"/>
+ <key key0="g"/>
+ <key key0="h"/>
+ <key key0="j" key1="-" key2="=" key4="+" key3="_"/>
+ <key key0="k" key1="accent_grave" key2="accent_aigu" key3="accent_tilde" key4="accent_circonflexe"/>
+ <key key0="l" key1="[" key2="]" key3="{" key4="}"/>
+ <key key0="ç"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift"/>
+ <key key0="z"/>
+ <key key0="x"/>
+ <key key0="c"/>
+ <key key0="v"/>
+ <key key0="b"/>
+ <key key0="n" key1="&lt;" key2="&gt;" key3="," key4="."/>
+ <key key0="m" key1=":" key2=";" key3="/" key4="\?"/>
+ <key width="1.5" key0="backspace" key2="delete"/>
+ </row>
+</keyboard>