Skip to content
Snippets Groups Projects
Commit 254c5c1e authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Update Hindi Compact keyboard layout

Bug: 13779052
Change-Id: I350e5521b41d2a0b1cc17b6d4a48e6a816db916c
parent 5bb0bff0
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,13 @@
<case latin:keyboardLayoutSet="hindi_compact">
<!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
<key-style
latin:styleName="moreKeysDevanagariSignVirama"
latin:styleName="moreKeySpecDevanagariSignVirama"
latin:moreKeys="&#x094D;" />
<!-- U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E
U+090D: "ऍ" DEVANAGARI LETTER CANDRA E -->
<key-style
latin:styleName="moreKeysDevanagariSignVirama"
latin:moreKeys="&#x0945;,&#x090D;" />
</case>
<case latin:keyboardLayoutSet="marathi">
<!-- U+0905: "अ" DEVANAGARI LETTER A -->
......
......@@ -28,8 +28,14 @@
<!-- U+25CC: "◌" DOTTED CIRCLE
U+094D: "्" DEVANAGARI SIGN VIRAMA -->
<key-style
latin:styleName="moreKeysDevanagariSignVirama"
latin:styleName="moreKeySpecDevanagariSignVirama"
latin:moreKeys="&#x25CC;&#x094D;|&#x094D;" />
<!-- U+25CC: "◌" DOTTED CIRCLE
U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E
U+090D: "ऍ" DEVANAGARI LETTER CANDRA E -->
<key-style
latin:styleName="moreKeysDevanagariSignVirama"
latin:moreKeys="&#x25CC;&#x0945;,&#x090D;" />
</case>
<case latin:keyboardLayoutSet="marathi">
<!-- U+0905: "अ" DEVANAGARI LETTER A -->
......
......@@ -42,7 +42,7 @@
<!-- U+0905: "अ" DEVANAGARI LETTER A -->
<Key
latin:keySpec="&#x0905;"
latin:keyStyle="moreKeysDevanagariSignVirama" />
latin:keyStyle="moreKeySpecDevanagariSignVirama" />
<!-- Because the font rendering system prior to API version 16 can't automatically
render dotted circle for incomplete combining letter of some scripts, different
set of Key definitions are needed based on the API version. -->
......
......@@ -30,11 +30,8 @@
<!-- Because the font rendering system prior to API version 16 can't automatically
render dotted circle for incomplete combining letter of some scripts, different
set of Key definitions are needed based on the API version. -->
<include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_candra_e" />
<!-- U+090D: "ऍ" DEVANAGARI LETTER CANDRA E -->
<Key
latin:keySpec="&#x090D;"
latin:keyStyle="moreKeysDevanagariVowelSignCandraE" />
<include latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
<Key latin:keyStyle="baseKeyDevanagariSignVirama" />
<!-- Because the font rendering system prior to API version 16 can't automatically
render dotted circle for incomplete combining letter of some scripts, different
set of Key definitions are needed based on the API version. -->
......
......@@ -163,9 +163,11 @@ public final class HindiCompact extends LayoutBase {
// U+0911: "ऑ" DEVANAGARI LETTER CANDRA O
// U+0949: "ॉ" DEVANAGARI VOWEL SIGN CANDRA O
key("\u0911", moreKey(VOWEL_SIGN_CANDRA_O, "\u0949")),
// U+090D: "" DEVANAGARI LETTER CANDRA E
// U+094D: "" DEVANAGARI SIGN VIRAMA
// U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E
key("\u090D", moreKey(VOWEL_SIGN_CANDRA_E, "\u0945")),
// U+090D: "ऍ" DEVANAGARI LETTER CANDRA E
key(SIGN_VIRAMA, "\u094D", joinMoreKeys(
moreKey(VOWEL_SIGN_CANDRA_E, "\u0945"), "\u090D")),
// U+0902: "ं" DEVANAGARI SIGN ANUSVARA
// U+0903: "ः‍" DEVANAGARI SIGN VISARGA
// U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment