diff options
| author | tenextractor | 2024-12-14 16:28:00 +0530 |
|---|---|---|
| committer | GitHub | 2024-12-14 11:58:00 +0100 |
| commit | 855b5359be3de6555b57fc5341be1a802fd3bc59 (patch) | |
| tree | bbc7f4815000eccffc46645f5b8bb214773555d9 | |
| parent | e4a49d5256373111eb04ea7d31f3c89d1ec9f6ea (diff) | |
| download | unexpected-keyboard-855b5359be3de6555b57fc5341be1a802fd3bc59.tar.gz unexpected-keyboard-855b5359be3de6555b57fc5341be1a802fd3bc59.zip | |
Welsh layout (#816)
| -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_cy.xml | 39 |
4 files changed, 45 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output index c74a163..a4ee235 100644 --- a/check_layout.output +++ b/check_layout.output @@ -102,6 +102,8 @@ Layout redefines the bottom row but some important keys are missing, missing: lo 1 warnings # latn_qwerty_br 0 warnings +# latn_qwerty_cy +0 warnings # latn_qwerty_cz 0 warnings # latn_qwerty_da diff --git a/res/values/layouts.xml b/res/values/layouts.xml index 13fe0b9..cf97915 100644 --- a/res/values/layouts.xml +++ b/res/values/layouts.xml @@ -40,6 +40,7 @@ <item>latn_bone</item> <item>latn_neo2</item> <item>latn_qwerty_br</item> + <item>latn_qwerty_cy</item> <item>latn_qwerty_cz</item> <item>latn_qwerty_da</item> <item>latn_qwerty_es</item> @@ -111,6 +112,7 @@ <item>Bone</item> <item>Neo 2</item> <item>QWERTY (Brasileiro)</item> + <item>QWERTY (Welsh)</item> <item>QWERTY (Czech)</item> <item>QWERTY (Danish)</item> <item>QWERTY (Español)</item> @@ -182,6 +184,7 @@ <item>@xml/latn_bone</item> <item>@xml/latn_neo2</item> <item>@xml/latn_qwerty_br</item> + <item>@xml/latn_qwerty_cy</item> <item>@xml/latn_qwerty_cz</item> <item>@xml/latn_qwerty_da</item> <item>@xml/latn_qwerty_es</item> diff --git a/res/xml/method.xml b/res/xml/method.xml index d5a9e9a..983fe23 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -10,6 +10,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:á:é:í:ó:ú:ý@d|accent_ring:ů@s|accent_caron:č:ě:ň:ř:š:ž:ď:ť@f"/> + <subtype android:label="%s" android:languageTag="cy" android:imeSubtypeLocale="cy_GB" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_cy"/> <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:ä:ö:ü@u|ß|€"/> <subtype android:label="%s" android:languageTag="de-BE" android:imeSubtypeLocale="de_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|€"/> diff --git a/srcs/layouts/latn_qwerty_cy.xml b/srcs/layouts/latn_qwerty_cy.xml new file mode 100644 index 0000000..f144367 --- /dev/null +++ b/srcs/layouts/latn_qwerty_cy.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<keyboard name="QWERTY (Welsh)" script="latin"> + <row> + <key key0="q" key2="1" key4="loc esc"/> + <key key0="w" key1="~" key2="2" key3="\@" key4="ŵ"/> + <key key0="e" key1="!" key2="3" key3="\#" key4="ê"/> + <key key0="r" key2="4" key3="$"/> + <key key0="t" key2="5" key3="%"/> + <key key0="y" key2="6" key3="^" key4="ŷ"/> + <key key0="u" key2="7" key3="&" key4="û"/> + <key key0="i" key2="8" key3="*" key4="î"/> + <key key0="o" key2="9" key3="(" key4="ô"/> + <key key0="p" key2="0" key3=")"/> + </row> + <row> + <key key0="a" key1="loc tab" key2="`"/> + <key key0="s" key2="loc §" key3="loc ß"/> + <key key0="d"/> + <key key0="f"/> + <key key0="g" key2="-" key3="_"/> + <key key0="h" key2="=" key3="+"/> + <key key0="j" key4="}" key3="{"/> + <key key0="k" key3="[" key4="]"/> + <key key0="l" key2="|" key3="\\"/> + <key key0="accent_circonflexe" key2="accent_trema" key3="accent_grave" /> + </row> + <row> + <key key0="shift" key2="loc capslock"/> + <key key0="z"/> + <key key0="x" key2="loc †"/> + <key key0="c" key2="<" key3="."/> + <key key0="v" key2=">" key3=","/> + <key key0="b" key2="\?" key3="/"/> + <key key0="n" key2=":" key3=";"/> + <key key0="m" key2="""/> + <key key0="'" key2="accent_aigu" key3="£"/> + <key key0="backspace" key2="delete"/> + </row> +</keyboard> |
