abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
-rw-r--r--check_layout.output5
-rw-r--r--res/values/layouts.xml3
-rw-r--r--res/xml/urdu_phonetic_ur.xml37
3 files changed, 45 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output
index dc759c0..efa674a 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -110,3 +110,8 @@ Layout doesn't define some important keys, missing: f11_placeholder, f12_placeho
2 warnings
# res/xml/latn_qwertz.xml
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
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index 080a36c..c5be42c 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -42,6 +42,7 @@
<item>latn_qwertz_fr_ch</item>
<item>latn_qwertz_hu</item>
<item>latn_qwertz_sk</item>
+ <item>urdu_phonetic_ur</item>
<item>custom</item>
</string-array>
<string-array name="pref_layout_entries">
@@ -85,6 +86,7 @@
<item>QWERTZ (Swiss French)</item>
<item>QWERTZ (Magyar)</item>
<item>QWERTZ (Slovak)</item>
+ <item>Urdu Phonetic</item>
<item>@string/pref_layout_e_custom</item>
</string-array>
<integer-array name="layout_ids">
@@ -128,6 +130,7 @@
<item>@xml/latn_qwertz_fr_ch</item>
<item>@xml/latn_qwertz_hu</item>
<item>@xml/latn_qwertz_sk</item>
+ <item>@xml/urdu_phonetic_ur</item>
<item>-1</item>
</integer-array>
</resources> \ No newline at end of file
diff --git a/res/xml/urdu_phonetic_ur.xml b/res/xml/urdu_phonetic_ur.xml
new file mode 100644
index 0000000..a1fd561
--- /dev/null
+++ b/res/xml/urdu_phonetic_ur.xml
@@ -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>