diff options
| author | Tomasz Cielecki | 2024-04-03 23:46:39 +0200 |
|---|---|---|
| committer | GitHub | 2024-04-03 23:46:39 +0200 |
| commit | 5e3a3f894b4d4b76f825eb150b9768f4d2a5b60a (patch) | |
| tree | 8d7b88684ad52f40e72edbc6ac3fe37b402e28bb | |
| parent | 3f6b6fd23253e5326d9ba29cac10be36305b3019 (diff) | |
| download | unexpected-keyboard-5e3a3f894b4d4b76f825eb150b9768f4d2a5b60a.tar.gz unexpected-keyboard-5e3a3f894b4d4b76f825eb150b9768f4d2a5b60a.zip | |
Add Danish layout (#606)
| -rw-r--r-- | check_layout.output | 2 | ||||
| -rw-r--r-- | res/values/layouts.xml | 3 | ||||
| -rw-r--r-- | res/xml/method.xml | 1 | ||||
| -rw-r--r-- | srcs/layouts/latn_qwerty_da.xml | 41 |
4 files changed, 47 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output index 84e5705..c638399 100644 --- a/check_layout.output +++ b/check_layout.output @@ -83,6 +83,8 @@ Some keys contain whitespaces, unexpected: ́ # latn_qwerty_cz Layout doesn't define some important keys, missing: f11_placeholder, f12_placeholder 1 warnings +# latn_qwerty_da +0 warnings # latn_qwerty_es 0 warnings # latn_qwerty_gb diff --git a/res/values/layouts.xml b/res/values/layouts.xml index b4b5d06..4bab9da 100644 --- a/res/values/layouts.xml +++ b/res/values/layouts.xml @@ -32,6 +32,7 @@ <item>latn_neo2</item> <item>latn_qwerty_br</item> <item>latn_qwerty_cz</item> + <item>latn_qwerty_da</item> <item>latn_qwerty_es</item> <item>latn_qwerty_gb</item> <item>latn_qwerty_hu</item> @@ -86,6 +87,7 @@ <item>Neo 2</item> <item>QWERTY (Brasileiro)</item> <item>QWERTY (Czech)</item> + <item>QWERTY (Danish)</item> <item>QWERTY (Español)</item> <item>QWERTY (UK)</item> <item>QWERTY (Magyar)</item> @@ -140,6 +142,7 @@ <item>@xml/latn_neo2</item> <item>@xml/latn_qwerty_br</item> <item>@xml/latn_qwerty_cz</item> + <item>@xml/latn_qwerty_da</item> <item>@xml/latn_qwerty_es</item> <item>@xml/latn_qwerty_gb</item> <item>@xml/latn_qwerty_hu</item> diff --git a/res/xml/method.xml b/res/xml/method.xml index 4bd2b39..ca2c917 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -7,6 +7,7 @@ <subtype android:label="%s" android:languageTag="bg" android:imeSubtypeLocale="bg_BG" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=cyrillic,default_layout=cyrl_ueishsht,extra_keys=€"/> <subtype android:label="%s" android:languageTag="bn" android:imeSubtypeLocale="bn_BD" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_us,extra_keys=৳"/> <subtype android:label="%s" android:languageTag="cs" android:imeSubtypeLocale="cs_CZ" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwertz_cz,extra_keys=accent_aigu:á:é:í:ó:ú:ý|accent_ring:ů|accent_caron:č:ě:ň:ř:š:ž:ď:ť"/> + <subtype android:label="%s" android:languageTag="da" android:imeSubtypeLocale="da_DK" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_da,extra_keys=€|æ|å|ø"/> <subtype android:label="%s" android:languageTag="de" android:imeSubtypeLocale="de_DE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwertz_de,extra_keys=accent_trema:ä:ö:ü|ß|€"/> <subtype android:label="%s" android:languageTag="el" android:imeSubtypeLocale="el" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=grek_qwerty,extra_keys=£|€"/> <subtype android:label="%s" android:languageTag="en-CA" android:imeSubtypeLocale="en_CA" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_us"/> diff --git a/srcs/layouts/latn_qwerty_da.xml b/srcs/layouts/latn_qwerty_da.xml new file mode 100644 index 0000000..b1ba957 --- /dev/null +++ b/srcs/layouts/latn_qwerty_da.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<keyboard name="QWERTY (Danish)" script="latin"> + <row> + <key key0="q" key1="~" key2="1" key4="esc"/> + <key key0="w" key2="2" key3="`" key4="\@"/> + <key key0="e" key2="3" key3="€" key4="\#"/> + <key key0="r" key2="4" key4="$"/> + <key key0="t" key2="5" key3="&" key4="|"/> + <key key0="y" key2="6" key3="^" key4="%"/> + <key key0="u" key2="7" key4="\\"/> + <key key0="i" key2="8" key3="*" key4="/"/> + <key key0="o" key2="9" key3="+"/> + <key key0="p" key2="0" key3="=" key4="f11_placeholder"/> + <key key0="å" key1="\?" key3="!" key4="f12_placeholder"/> + </row> + <row> + <key key0="a" key2="tab"/> + <key key0="s" key1="accent_ring" key2="loc §" key3="loc ß"/> + <key key0="d" key1="accent_aigu"/> + <key key0="f" key1="accent_trema"/> + <key key0="g"/> + <key key0="h"/> + <key key0="j" key3="{" key4="}"/> + <key key0="k" key3="[" key4="]"/> + <key key0="l" key3="(" key4=")"/> + <key key0="æ" key3="<" key4=">"/> + <key key0="ø" key1="'" key3="""/> + </row> + <row> + <key shift="0.5" width="1.5" key0="shift" key2="loc capslock"/> + <key key0="z"/> + <key key0="x" key2="loc †"/> + <key key0="c"/> + <key key0="v"/> + <key key0="b" key2=";" key4=","/> + <key key0="n" key2=":" key4="."/> + <key key0="m" key2="-" key4="_"/> + <key width="1.5" key0="backspace" key2="delete"/> + </row> + +</keyboard>
\ No newline at end of file |
