forked from extern/Unexpected-Keyboard
Add Bengali Provat Layout (#357)
* Add Bengali Provat Layout I added bengali_provat layout and renamed old bengali to actual layout name.
This commit is contained in:
parent
f1a8e7c04c
commit
8160b1ac05
@ -27,7 +27,8 @@
|
||||
<item>neo2</item>
|
||||
<item>bone</item>
|
||||
<item>jcuken_ua</item>
|
||||
<item>bangla</item>
|
||||
<item>bengali_national</item>
|
||||
<item>bengali_provat</item>
|
||||
<item>devanagari_1</item>
|
||||
<item>devanagari_2</item>
|
||||
<item>he_il_1452_1</item>
|
||||
@ -65,7 +66,8 @@
|
||||
<item>Neo 2</item>
|
||||
<item>Bone</item>
|
||||
<item>ЙЦУКЕН (Українська)</item>
|
||||
<item>বাংলা</item>
|
||||
<item>বাংলা (জাতীয়)</item>
|
||||
<item>বাংলা (প্রভাত)</item>
|
||||
<item>देवनागरी (हिंदी)-1</item>
|
||||
<item>देवनागरी (हिंदी)-2</item>
|
||||
<item>Hebrew SI-1452-1</item>
|
||||
|
37
res/xml/bengali_provat.xml
Normal file
37
res/xml/bengali_provat.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<keyboard>
|
||||
<row>
|
||||
<key key0="দ" key1="ধ" key2="১" key3="!" key5="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="ঞ" />
|
||||
<key key0="ি" key1="ই" key2="৮" key3="ৎ" />
|
||||
<key key0="ও" key1="ঔ" key2="৯" key3="(" key4=")" />
|
||||
<key key0="প" key1="ফ" key2="০" key3="zwj" key4="~" />
|
||||
</row>
|
||||
<row>
|
||||
<key shift="0.5" key0="া" key1="অ" key5="tab" />
|
||||
<key key0="স" key1="ষ" />
|
||||
<key key0="ড" key1="ঢ" />
|
||||
<key key0="ত" key1="থ" />
|
||||
<key key0="গ" key1="ঘ" key2="-" key3="_" />
|
||||
<key key0="হ" key1="ঃ" key2="=" key3="+" />
|
||||
<key key0="জ" key1="ঝ" key3="ে" key4="ৈ" />
|
||||
<key key0="ক" key1="খ" key3="ো" key4="ৌ" />
|
||||
<key key0="ল" key1="ং" key2="॥" key3="zwnj" />
|
||||
</row>
|
||||
<row>
|
||||
<key width="1.5" key0="shift" />
|
||||
<key key0="য়" key1="য" />
|
||||
<key key0="শ" key1="ঢ়" />
|
||||
<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 width="1.5" key0="backspace" key2="delete" />
|
||||
</row>
|
||||
</keyboard>
|
@ -343,7 +343,8 @@ final class Config
|
||||
switch (name)
|
||||
{
|
||||
case "azerty": id = R.xml.azerty; break;
|
||||
case "bangla": id = R.xml.bangla; break;
|
||||
case "bengali_national": id = R.xml.bengali_national; break;
|
||||
case "bengali_provat": id = R.xml.bengali_provat; break;
|
||||
case "bgph1": id = R.xml.local_bgph1; break;
|
||||
case "bone": id = R.xml.bone; break;
|
||||
case "colemak": id = R.xml.colemak; break;
|
||||
|
@ -420,6 +420,9 @@ final class KeyValue
|
||||
case "ole_placeholder": return placeholderKey(Placeholder.OLE);
|
||||
case "meteg": return charKey("\u05DE\u05BD", '\u05BD', 0); // or siluq or sof-pasuq
|
||||
case "meteg_placeholder": return placeholderKey(Placeholder.METEG);
|
||||
/* intending/preventing ligature - supported by many scripts*/
|
||||
case "zwj": return charKey("zwj", '\u200D', 0); // zero-width joiner (provides ligature)
|
||||
case "zwnj": return charKey("zwnj", '\u200C', 0); // zero-width non joiner (prevents unintended ligature)
|
||||
|
||||
case "copy": return editingKey("copy", Editing.COPY);
|
||||
case "paste": return editingKey("paste", Editing.PASTE);
|
||||
|
Loading…
Reference in New Issue
Block a user