abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--check_layout.output2
-rw-r--r--res/values/layouts.xml3
-rw-r--r--res/xml/method.xml1
-rw-r--r--srcs/layouts/latn_qwerty_mt.xml42
4 files changed, 48 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output
index 2e1add9..b81c8b8 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -135,6 +135,8 @@ Layout redefines the bottom row but some important keys are missing, missing: lo
0 warnings
# latn_qwerty_lv
0 warnings
+# latn_qwerty_mt
+0 warnings
# latn_qwerty_no
0 warnings
# latn_qwerty_pl
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index 0406548..32e2b7f 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -56,6 +56,7 @@
<item>latn_qwerty_kk</item>
<item>latn_qwerty_lt</item>
<item>latn_qwerty_lv</item>
+ <item>latn_qwerty_mt</item>
<item>latn_qwerty_no</item>
<item>latn_qwerty_pl</item>
<item>latn_qwerty_ro</item>
@@ -136,6 +137,7 @@
<item>QWERTY (Qazaqşa)</item>
<item>QWERTY (Lietuviškai)</item>
<item>QWERTY (Latvian)</item>
+ <item>QWERTY (Malti)</item>
<item>QWERTY (Norwegian)</item>
<item>QWERTY (Polski)</item>
<item>QWERTY (Română)</item>
@@ -216,6 +218,7 @@
<item>@xml/latn_qwerty_kk</item>
<item>@xml/latn_qwerty_lt</item>
<item>@xml/latn_qwerty_lv</item>
+ <item>@xml/latn_qwerty_mt</item>
<item>@xml/latn_qwerty_no</item>
<item>@xml/latn_qwerty_pl</item>
<item>@xml/latn_qwerty_ro</item>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 700ec68..28261d3 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -44,6 +44,7 @@
<subtype android:label="%s" android:languageTag="lv" android:imeSubtypeLocale="lv_LV" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_lv,extra_keys=accent_macron:ā:ē:ī:ū@o|accent_caron:č:š:ž@f|accent_ogonek:ķ:ļ:ņ@s|accent_cedille:ģ@c|€"/>
<subtype android:label="%s" android:languageTag="mn" android:imeSubtypeLocale="mn_MN" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=cyrillic,default_layout=cyrl_fcuzhen_mn,extra_keys=ү|ө"/>
<subtype android:label="%s" android:languageTag="mr" android:imeSubtypeLocale="mr_IN" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=devanagari,default_layout=deva_inscript,extra_keys=₹"/>
+ <subtype android:label="%s" android:languageTag="mt" android:imeSubtypeLocale="mt_MT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_mt,extra_keys=accent_grave:à:è:ì:ò:ù|accent_dot_above:ċ:ż:ġ|ħ"/>
<subtype android:label="%s" android:languageTag="ne" android:imeSubtypeLocale="ne_NE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=devanagari,default_layout=deva_inscript,extra_keys=₹"/>
<subtype android:label="%s" android:languageTag="nl-BE" android:imeSubtypeLocale="nl_BE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_azerty_be,extra_keys=accent_grave:è@f|accent_aigu:á:é:í:ó:ú:ý:j́@d|accent_circonflexe:ê@f|accent_cedille:ç@c|accent_trema@u|€"/>
<subtype android:label="%s" android:languageTag="no" android:imeSubtypeLocale="no_NO" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_us,extra_keys=€|æ@a|å@a|ø@o|accent_aigu:é:ó@d|accent_grave:è:ò:ù@f|accent_circonflexe:ê:ô@f"/>
diff --git a/srcs/layouts/latn_qwerty_mt.xml b/srcs/layouts/latn_qwerty_mt.xml
new file mode 100644
index 0000000..692a0ff
--- /dev/null
+++ b/srcs/layouts/latn_qwerty_mt.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard name="QWERTY (Malti)" script="latin">
+ <row>
+ <key c="q" ne="1" se="loc esc"/>
+ <key c="w" nw="~" ne="2" sw="\@"/>
+ <key c="e" nw="!" ne="3" sw="\#" se="è"/>
+ <key c="r" ne="4" sw="$"/>
+ <key c="t" ne="5" sw="%"/>
+ <key c="y" ne="6" sw="^"/>
+ <key c="u" ne="7" sw="&amp;" se="ù"/>
+ <key c="i" ne="8" sw="*" se="ì"/>
+ <key c="o" ne="9" sw="(" se="ò"/>
+ <key c="p" ne="0" sw=")"/>
+ <key c="ġ"/>
+ </row>
+ <row>
+ <key c="a" nw="loc tab" ne="`" se="à"/>
+ <key c="s" ne="loc §" sw="loc ß"/>
+ <key c="d"/>
+ <key c="f" sw="€"/>
+ <key c="g" ne="-" sw="_"/>
+ <key c="h" ne="=" sw="+"/>
+ <key c="j" se="}" sw="{"/>
+ <key c="k" sw="[" se="]"/>
+ <key c="l" ne="|" sw="\\"/>
+ <key c="ħ"/>
+ <key c="ż"/>
+ </row>
+ <row>
+ <key width="1.5" c="shift" ne="loc capslock"/>
+ <key c="z"/>
+ <key c="x" ne="loc †"/>
+ <key c="c" ne="&lt;" sw="."/>
+ <key c="v" ne="&gt;" sw=","/>
+ <key c="b" ne="\?" sw="/"/>
+ <key c="n" ne=":" sw=";"/>
+ <key c="m" ne="&quot;" sw="'"/>
+ <key c="ċ"/>
+ <key width="1.5" c="backspace" ne="delete"/>
+ </row>
+</keyboard>
+