Skip to content

Commit

Permalink
Azerbaijani layout (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenextractor authored Jan 18, 2025
1 parent b93bc90 commit 1f9e450
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions check_layout.output
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Some keys contain whitespaces, unexpected: ́
# latn_neo2
Layout redefines the bottom row but some important keys are missing, missing: loc switch_clipboard
1 warnings
# latn_qwerty_az
0 warnings
# latn_qwerty_br
0 warnings
# latn_qwerty_cy
Expand Down
3 changes: 3 additions & 0 deletions res/values/layouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<item>latn_bepo_fr</item>
<item>latn_bone</item>
<item>latn_neo2</item>
<item>latn_qwerty_az</item>
<item>latn_qwerty_br</item>
<item>latn_qwerty_cy</item>
<item>latn_qwerty_cz</item>
Expand Down Expand Up @@ -118,6 +119,7 @@
<item>BEPO (Français)</item>
<item>Bone</item>
<item>Neo 2</item>
<item>QWERTY (Azərbaycanca)</item>
<item>QWERTY (Brasileiro)</item>
<item>QWERTY (Welsh)</item>
<item>QWERTY (Czech)</item>
Expand Down Expand Up @@ -196,6 +198,7 @@
<item>@xml/latn_bepo_fr</item>
<item>@xml/latn_bone</item>
<item>@xml/latn_neo2</item>
<item>@xml/latn_qwerty_az</item>
<item>@xml/latn_qwerty_br</item>
<item>@xml/latn_qwerty_cy</item>
<item>@xml/latn_qwerty_cz</item>
Expand Down
1 change: 1 addition & 0 deletions res/xml/method.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<subtype android:label="%s" android:languageTag="ar" android:imeSubtypeLocale="ar" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=arabic,default_layout=arab_pc_hindu"/>
<subtype android:label="%s" android:languageTag="ar" android:imeSubtypeLocale="ar_TN" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=arabic,default_layout=arab_pc"/>
<subtype android:label="%s" android:languageTag="ay" android:imeSubtypeLocale="ay_AM" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=armenian,default_layout=armenian_ph_am"/>
<subtype android:label="%s" android:languageTag="az" android:imeSubtypeLocale="az_AZ" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=latin,default_layout=latn_qwerty_az,extra_keys=accent_trema:ü:ö@w|accent_cedille:ç:ş@s|ğ@g|ı@k|ə@l"/>
<subtype android:label="%s" android:languageTag="be" android:imeSubtypeLocale="be_BY" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="script=cyrillic,default_layout=cyrl_jcuken_ru,extra_keys=ґ|є|і|ї|ў"/>
<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=৳"/>
Expand Down
45 changes: 45 additions & 0 deletions srcs/layouts/latn_qwerty_az.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<keyboard name="QWERTY (Azərbaycanca)" script="latin">
<modmap>
<shift a="i" b="İ" />
<shift a="ı" b="I" />
</modmap>
<row>
<key key0="q" key2="1" key4="loc esc"/>
<key key0="ü" key1="~" key2="2" key3="\@" key4="w"/>
<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=")"/>
<key key0="ö"/>
</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="_" key4="ğ"/>
<key key0="h" key2="=" key3="+"/>
<key key0="j" key4="}" key3="{"/>
<key key0="k" key3="[" key4="]"/>
<key key0="l" key2="|" key3="\\"/>
<key key0="ı"/>
<key key0="ə"/>
</row>
<row>
<key width="1.5" key0="shift" key2="loc capslock"/>
<key key0="z"/>
<key key0="x" key2="loc †"/>
<key key0="c" key2="&lt;" key3="." key4="ç"/>
<key key0="v" key2="&gt;" key3="," />
<key key0="b" key2="\?" key3="/"/>
<key key0="n" key2=":" key3=";"/>
<key key0="m" key2="&quot;" key3="'" key4=""/>
<key key0="ş"/>
<key width="1.5" key0="backspace" key2="delete"/>
</row>
</keyboard>

0 comments on commit 1f9e450

Please sign in to comment.