Add Kurdish Layout (#353)

Add Kurdish Keyboard Layout Qwerty Based Without Shift.
This commit is contained in:
KuRa KuRd 2023-06-05 00:21:14 +03:00 committed by GitHub
parent 01bfe73fc7
commit 53acdf7df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View File

@ -35,6 +35,7 @@
<item>ar_pc</item>
<item>ar_alt</item>
<item>persian</item>
<item>kurdish</item>
<item>custom</item>
</string-array>
<string-array name="pref_layout_entries">
@ -72,6 +73,7 @@
<item>Arabic PC</item>
<item>Arabic ALT</item>
<item>Persian</item>
<item>کوردی</item>
<item>@string/pref_layout_e_custom</item>
</string-array>
<string-array name="pref_accents_entries">

39
res/xml/kurdish.xml Normal file
View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<keyboard>
<row>
<key key0="ق" key1="ٯ" key2="١" key3="esc"/>
<key key0="و" key1="وو" key2="٢" key3="\@"/>
<key key0="ە" key1="ة" key2="٣" key3="\#" />
<key key0="ر" key1="ڕ" key2="٤" key3="$"/>
<key key0="ت" key1="ط" key2="٥" key3="٪"/>
<key key0="ی" key1="ي" key2="٦" key3="^"/>
<key key0="ێ" key1="ؽ" key2="٧" key3="&amp;"/>
<key key0="ئ" key1="ء" key2="٨" key3="*"/>
<key key0="ۆ" key1="ؤ" key2="٩" key3=")" key4="("/>
<key key0="پ" key1="ث" key2="٠"/>
</row>
<row>
<key key0="ا" key1="أ" key2="tab"/>
<key key0="س" key1="ص"/>
<key key0="ش" key1="ض"/>
<key key0="د" key1="ذ" key2="ۮ"/>
<key key0="ف" key1="ڤ" key2="-" key3="_"/>
<key key0="ه" key2="ھ" key3="ـہ"/>
<key key0="ژ" key1="ـ" key4="}" key3="{"/>
<key key0="ل" key1="ڵ" key3="]" key4="["/>
<key key0="ک" key2="ك" key3="\\"/>
<key key0="گ" key2="غ" key3="/"/>
</row>
<row>
<key key0="ز" key1="ظ"/>
<key key0="خ"/>
<key key0="ج"/>
<key key0="چ"/>
<key key0="ح" key1="&#1567;" key3="!"/>
<key key0="ع" />
<key key0="ب"/>
<key key0="ن" key2="&#1548;" key3="&#1563;"/>
<key key0="م"/>
<key key0="backspace" key2="delete" key3="f11_placeholder" key4="f12_placeholder"/>
</row>
</keyboard>

View File

@ -375,6 +375,7 @@ final class Config
case "ar_pc": id = R.xml.ar_pc; break;
case "ar_alt": id = R.xml.ar_alt; break;
case "persian": id = R.xml.persian; break;
case "kurdish": id = R.xml.kurdish; break;
}
return KeyboardData.load(res, id);
}