abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorChristianGynnild2022-09-24 11:44:01 +0200
committerGitHub2022-09-24 11:44:01 +0200
commitb0a229889971b8c7939b8fe8a9e79523a03bc128 (patch)
treeda7b94912cce4355ce5a7311149ed123c00abc8f /res
parent81f07b427f8039473603b7aa8e10e71a14bcaf52 (diff)
downloadunexpected-keyboard-b0a229889971b8c7939b8fe8a9e79523a03bc128.tar.gz
unexpected-keyboard-b0a229889971b8c7939b8fe8a9e79523a03bc128.zip
Added Norwegian keyboard layout (#202)
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml2
-rw-r--r--res/xml/method.xml1
-rw-r--r--res/xml/qwerty_no.xml37
3 files changed, 40 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 2c967fb..797147e 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -8,6 +8,7 @@
<item>qwerty_es</item>
<item>qwerty_ko</item>
<item>qwerty_lv</item>
+ <item>qwerty_no</item>
<item>qwerty_sv_se</item>
<item>qwerty_hu</item>
<item>qwerty_tr</item>
@@ -29,6 +30,7 @@
<item>QWERTY (Español)</item>
<item>QWERTY (Korean)</item>
<item>QWERTY (Latvian)</item>
+ <item>QWERTY (Norwegian)</item>
<item>QWERTY (Swedish)</item>
<item>QWERTY (Hungarian)</item>
<item>QWERTY (Türkçe)</item>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 542aef2..430b9c8 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -15,6 +15,7 @@
<subtype android:label="%s" android:languageTag="nl-BE" android:imeSubtypeLocale="nl_BE" 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="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="no" android:imeSubtypeLocale="no_NO" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_no,extra_keys=accent_aigu|€"/>
<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|€"/>
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=accent_cedille|accent_trema|₺|ı|ğ"/>
<subtype android:label="%s" android:languageTag="uk" android:imeSubtypeLocale="uk_UA" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=jcuken_ua"/>
diff --git a/res/xml/qwerty_no.xml b/res/xml/qwerty_no.xml
new file mode 100644
index 0000000..35a3709
--- /dev/null
+++ b/res/xml/qwerty_no.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard>
+ <row>
+ <key key0="q" key2="1" key4="esc"/>
+ <key key0="w" key1="~" key2="2" key3="\@"/>
+ <key key0="e" key1="!" key2="3" key3="\#" key4="loc €"/>
+ <key key0="r" key2="4" key3="$"/>
+ <key key0="t" key2="5" key3="%"/>
+ <key key0="y" key2="6" key3="^"/>
+ <key key0="u" key2="7" key3="&amp;"/>
+ <key key0="i" key2="8" key3="*"/>
+ <key key0="o" key1="ø" key2="9" key3="(" key4=")"/>
+ <key key0="p" key2="0" key3="f11_placeholder" key4="f12_placeholder"/>
+ </row>
+ <row>
+ <key shift="0.5" key0="a" key1="tab" key2="`" key3="æ" key4="å"/>
+ <key key0="s" key1="loc accent_ring" key3="loc ß" key4="loc accent_ogonek"/>
+ <key key0="d" key1="loc accent_grave" key2="loc £" key3="loc accent_aigu"/>
+ <key key0="f" key1="loc accent_dot_above"/>
+ <key key0="g" key1="loc accent_caron" key2="-" key3="_"/>
+ <key key0="h" key2="=" key3="+"/>
+ <key key0="j" key1="loc accent_trema" key2="loc accent_circonflexe" key4="}" key3="{"/>
+ <key key0="k" key1="loc accent_double_aigu" key3="[" key4="]"/>
+ <key key0="l" key2="|" key3="\\"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift"/>
+ <key key0="z"/>
+ <key key0="x"/>
+ <key key0="c" key1="loc accent_cedille" key2="&lt;" key3="."/>
+ <key key0="v" key2="&gt;" key3=","/>
+ <key key0="b" key2="\?" key3="/"/>
+ <key key0="n" key1="loc accent_tilde" key2=":" key3=";"/>
+ <key key0="m" key2="&quot;" key3="'"/>
+ <key width="1.5" key0="backspace" key2="delete"/>
+ </row>
+</keyboard>