Add urdu phonetic layout (#413)

This commit is contained in:
Shareef101 2023-08-18 16:05:41 +05:45 committed by GitHub
parent c3a5dc63f2
commit 491e72f247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View File

@ -110,3 +110,8 @@ Layout doesn't define some important keys, missing: f11_placeholder, f12_placeho
2 warnings 2 warnings
# res/xml/latn_qwertz.xml # res/xml/latn_qwertz.xml
0 warnings 0 warnings
# res/xml/urdu_phonetic_ur.xml
Duplicate keys:
Layout includes some ASCII punctuation but not all, missing: <, >, ?, `, |, ~
Layout doesn't define some important keys, missing: f11_placeholder, f12_placeholder
3 warnings

View File

@ -42,6 +42,7 @@
<item>latn_qwertz_fr_ch</item> <item>latn_qwertz_fr_ch</item>
<item>latn_qwertz_hu</item> <item>latn_qwertz_hu</item>
<item>latn_qwertz_sk</item> <item>latn_qwertz_sk</item>
<item>urdu_phonetic_ur</item>
<item>custom</item> <item>custom</item>
</string-array> </string-array>
<string-array name="pref_layout_entries"> <string-array name="pref_layout_entries">
@ -85,6 +86,7 @@
<item>QWERTZ (Swiss French)</item> <item>QWERTZ (Swiss French)</item>
<item>QWERTZ (Magyar)</item> <item>QWERTZ (Magyar)</item>
<item>QWERTZ (Slovak)</item> <item>QWERTZ (Slovak)</item>
<item>Urdu Phonetic</item>
<item>@string/pref_layout_e_custom</item> <item>@string/pref_layout_e_custom</item>
</string-array> </string-array>
<integer-array name="layout_ids"> <integer-array name="layout_ids">
@ -128,6 +130,7 @@
<item>@xml/latn_qwertz_fr_ch</item> <item>@xml/latn_qwertz_fr_ch</item>
<item>@xml/latn_qwertz_hu</item> <item>@xml/latn_qwertz_hu</item>
<item>@xml/latn_qwertz_sk</item> <item>@xml/latn_qwertz_sk</item>
<item>@xml/urdu_phonetic_ur</item>
<item>-1</item> <item>-1</item>
</integer-array> </integer-array>
</resources> </resources>

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<keyboard name="Urdu Phonetic" script="urdu">
<row>
<key key0="ق" key3=" " key4="esc" key7="1"/>
<key key0="و" key2="ؤ" key3="\@" key7="2"/>
<key key0="ع" key1="!" key3="\#" key7="3"/>
<key key0="ر" key2="ڑ" key3="$" key7="4"/>
<key key0="ت" key2="ٹ" key3="%" key7="5"/>
<key key0="ے" key3="^" key7="6"/>
<key key0="ئ" key2="ء" key3="&amp;" key7="7"/>
<key key0="ی" key3="*" key7="8"/>
<key key0="ہ" key1="'" key2="&quot;" key3="(" key4=")" key7="9" key8="ۃ"/>
<key key0="پ" key1="ٰ" key2="0" key3="؟" key5="ٓ" key7="ٗ" key8="ٖ"/>
</row>
<row>
<key width="1.1" key0="ا" key1="tab" key2="آ" key4="أ"/>
<key width="1.1" key0="س" key2="ص"/>
<key width="1.1" key0="د" key2="ڈ" key4=" "/>
<key width="1.1" key0="ف" key2="پھ"/>
<key width="1.15" key0="گ" key1="-" key2="غ" key3="_" key4="گھ"/>
<key width="1.1" key0="ھ" key1="=" key2="ح" key3="+"/>
<key width="1.1" key0="ج" key1="}" key2="ض" key3="{" key4="جھ"/>
<key width="1.1" key0="ک" key1="]" key2="خ" key3="[" key4="کھ"/>
<key width="1.15" key0="ل" key1="َ" key3="." key5="ْ" key7="ُ" key8="ِ"/>
</row>
<row>
<key width="1.5" key0="shift" key2="loc capslock"/>
<key key0="ز" key2="ذ"/>
<key key0="ش" key2="ژ"/>
<key key0="چ" key2="ث" key3="۔" key4="چھ"/>
<key key0="ط" key2="ظ" key3=","/>
<key key0="ب" key2="بھ" key3="/" key4="\\"/>
<key key0="ن" key2="ں" key3=";" key4=":"/>
<key key0="م" key5="ّ" key6="ً" key7="ٌ" key8="ٍ"/>
<key width="1.5" key0="backspace" key2="delete"/>
</row>
</keyboard>