abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authortenextractor2024-12-29 15:26:54 +0530
committerGitHub2024-12-29 10:56:54 +0100
commite594915e805ba2f097bfb0983c07d0a439a739a9 (patch)
tree6a45b25849e6e6ff6391c34792ad650b81649ea3
parent78974b7453c271ada77497c0293d045d0e78dfe2 (diff)
downloadunexpected-keyboard-e594915e805ba2f097bfb0983c07d0a439a739a9.tar.gz
unexpected-keyboard-e594915e805ba2f097bfb0983c07d0a439a739a9.zip
Uzbek layout (#828)
-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_uz.xml40
4 files changed, 46 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output
index dbf6db1..f981d5a 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -150,6 +150,8 @@ Layout doesn't define some important keys, missing: loc esc, loc tab
0 warnings
# latn_qwerty_us
0 warnings
+# latn_qwerty_uz
+0 warnings
# latn_qwerty_vi
0 warnings
# latn_qwertz
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index 8f4e1ac..1b1e476 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -61,6 +61,7 @@
<item>latn_qwerty_sr</item>
<item>latn_qwerty_tly</item>
<item>latn_qwerty_tr</item>
+ <item>latn_qwerty_uz</item>
<item>latn_qwerty_vi</item>
<item>latn_qwertz</item>
<item>latn_qwertz_cz</item>
@@ -137,6 +138,7 @@
<item>QWERTY (Srpski, latinica)</item>
<item>QWERTY (Talysh New Latin)</item>
<item>QWERTY (Türkçe)</item>
+ <item>QWERTY (Oʻzbekcha)</item>
<item>QWERTY (Vietnamese)</item>
<item>QWERTZ</item>
<item>QWERTZ (Czech)</item>
@@ -213,6 +215,7 @@
<item>@xml/latn_qwerty_sr</item>
<item>@xml/latn_qwerty_tly</item>
<item>@xml/latn_qwerty_tr</item>
+ <item>@xml/latn_qwerty_uz</item>
<item>@xml/latn_qwerty_vi</item>
<item>@xml/latn_qwertz</item>
<item>@xml/latn_qwertz_cz</item>
diff --git a/res/xml/method.xml b/res/xml/method.xml
index 529d1ac..d08ad90 100644
--- a/res/xml/method.xml
+++ b/res/xml/method.xml
@@ -58,5 +58,6 @@
<subtype android:label="%s" android:languageTag="tly" android:imeSubtypeLocale="tly_IR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=arab_hamvaj_tly"/>
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_tr,extra_keys=accent_cedille:ç:ş@c|accent_trema:ö:ü@u|accent_circonflexe:â:î:û@f|₺|ı|ğ"/>
<subtype android:label="%s" android:languageTag="uk" android:imeSubtypeLocale="uk_UA" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=cyrillic,default_layout=cyrl_jcuken_uk,extra_keys=ґ|є|і|ї|₴"/>
+ <subtype android:label="%s" android:languageTag="uz" android:imeSubtypeLocale="uz_UZ" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_uz,extra_keys=ʻ|ʼ"/>
<subtype android:label="%s" android:languageTag="vi" android:imeSubtypeLocale="vi_VN" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_vi"/>
</input-method>
diff --git a/srcs/layouts/latn_qwerty_uz.xml b/srcs/layouts/latn_qwerty_uz.xml
new file mode 100644
index 0000000..5b8c932
--- /dev/null
+++ b/srcs/layouts/latn_qwerty_uz.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard name="QWERTY (Oʻzbekcha)" script="latin">
+ <row>
+ <key key0="q" key2="1" key4="loc 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" key2="9" key3="("/>
+ <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="ʻ"/>
+ </row>
+ <row>
+ <key key0="shift" key2="loc capslock"/>
+ <key key0="z"/>
+ <key key0="x" key2="loc †"/>
+ <key key0="c" key2="&lt;" key3="."/>
+ <key key0="v" key2="&gt;" key3=","/>
+ <key key0="b" key2="\?" key3="/"/>
+ <key key0="n" key2=":" key3=";"/>
+ <key key0="m" key2="&quot;" key3="'"/>
+ <key key0="ʼ"/>
+ <key key0="backspace" key2="delete"/>
+ </row>
+</keyboard>
+