abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2023-01-12 22:29:20 +0100
committerJules Aguillon2023-01-14 23:31:37 +0100
commite190394b47357b4418a8cc694b5da30bcd8e7884 (patch)
tree35f1c59268562ee4b8d3dc60abde0f1cbb9eb55d /res
parentdcc4a640f7ce0f93769d57d68e378e11aa946d54 (diff)
downloadunexpected-keyboard-e190394b47357b4418a8cc694b5da30bcd8e7884.tar.gz
unexpected-keyboard-e190394b47357b4418a8cc694b5da30bcd8e7884.zip
Add layout 'qwertz_sk'
Co-authored-by: Jozef Kundlak <ingjozefkundlak@gmail.com>
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml2
-rw-r--r--res/xml/method.xml1
-rw-r--r--res/xml/qwertz_sk.xml39
3 files changed, 42 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index ffb4226..2b2514a 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -19,6 +19,7 @@
<item>qwertz_cs</item>
<item>qwertz_de</item>
<item>qwertz_hu</item>
+ <item>qwertz_sk</item>
<item>bgph1</item>
<item>dvorak</item>
<item>colemak</item>
@@ -48,6 +49,7 @@
<item>QWERTZ (Czech)</item>
<item>QWERTZ (Deutsch)</item>
<item>QWERTZ (Hungarian)</item>
+ <item>QWERTZ (Slovak)</item>
<item>Bulgarian (Phonetic Traditional)</item>
<item>Dvorak</item>
<item>Colemak</item>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 143e081..28977ab 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -23,4 +23,5 @@
<subtype android:label="%s" android:languageTag="uk" android:imeSubtypeLocale="uk_UA" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=jcuken_ua"/>
<subtype android:label="%s" android:languageTag="cs" android:imeSubtypeLocale="cs_CZ" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwertz_cs,extra_keys=a|accent_cedille|accent_circonflexe"/>
<subtype android:label="%s" android:languageTag="el" android:imeSubtypeLocale="el" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_el,extra_keys=£|€"/>
+ <subtype android:label="%s" android:languageTag="sk" android:imeSubtypeLocale="sk_SK" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwertz_sk,extra_keys=é|ě|ŕ|ř|ť|ž|ü|ú|ů|í|ö|ó|ô|á|ä|ś|š|ď|ĺ|ľ|ý|č|ň"/>
</input-method>
diff --git a/res/xml/qwertz_sk.xml b/res/xml/qwertz_sk.xml
new file mode 100644
index 0000000..fa038c5
--- /dev/null
+++ b/res/xml/qwertz_sk.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard>
+ <row>
+ <key key0="q" key1="1" key4="esc"/>
+ <key key0="w" key1="2"/>
+ <key key0="e" key1="3" key3="é" key4="ě"/>
+ <key key0="r" key1="4" key3="ŕ" key4="ř"/>
+ <key key0="t" key1="5" key4="ť"/>
+ <key key0="z" key1="6" key4="ž"/>
+ <key key0="u" key1="7" key2="ü" key3="ú" key4="ů"/>
+ <key key0="i" key1="8" key3="í"/>
+ <key key0="o" key1="9" key2="ö" key3="ó" key4="ô"/>
+ <key key0="p" key1="0" key2="=" key3="\" key4="/"/>
+ </row>
+ <row>
+ <key key0="a" key1="tab" key3="á" key4="ä"/>
+ <key key0="s" key3="ś" key4="š"/>
+ <key key0="d" key4="ď"/>
+ <key key0="f" key1="%" key2="*"/>
+ <key key0="g" key2="^"/>
+ <key key0="h" key1="~" key2="÷"/>
+ <key key0="j" key1="{" key2="}" key3="|" key4="+"/>
+ <key key0="k" key1="[" key2="]" key3="'" key4="&quot;"/>
+ <key key0="l" key1="(" key2=")" key3="ĺ" key4="ľ"/>
+ <key key0="backspace" key3="delete"/>
+ </row>
+ <row>
+ <key key0="shift" key2="loc capslock"/>
+ <key key0="y" key1="$" key3="ý"/>
+ <key key0="x"/>
+ <key key0="c" key4="č"/>
+ <key key0="v" key4="\@"/>
+ <key key0="b" key1="\#" key2="&amp;" key3="-" key4="_"/>
+ <key key0="n" key1="«" key2="»" key4="ň"/>
+ <key key0="m" key1="&lt;" key2="&gt;"/>
+ <key key0="," key1=":" key2="\?"/>
+ <key key0="." key1=";" key2="!"/>
+ </row>
+</keyboard>