1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2013, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<merge xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin">
22    <switch>
23        <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked|alphabetShiftLockShifted">
24            <!-- U+0924/U+094D/U+0924: "त्त" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TA
25                 U+091E: "ञ" DEVANAGARI LETTER NYA
26                 U+091C/U+094D/U+091E: "ज्ञ" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
27                 U+0965: "॥" DEVANAGARI DOUBLE DANDA -->
28            <Key
29                latin:keySpec="&#x0924;&#x094D;&#x0924;"
30                latin:moreKeys="&#x091E;,&#x091C;&#x094D;&#x091E;,&#x0965;"
31                latin:keyLabelFlags="followKeyLetterRatio" />
32            <!-- U+0921/U+094D/U+0922: "ड्ढ" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDHA
33                 U+0908: "ई" DEVANAGARI LETTER II -->
34            <Key
35                latin:keySpec="&#x0921;&#x094D;&#x0922;"
36                latin:moreKeys="&#x0908;"
37                latin:keyLabelFlags="followKeyLetterRatio" />
38            <!-- U+0910: "ऐ" DEVANAGARI LETTER AI
39                 U+0918: "घ" DEVANAGARI LETTER GHA -->
40            <Key
41                latin:keySpec="&#x0910;"
42                latin:moreKeys="&#x0918;" />
43            <!-- U+0926/U+094D/U+0935: "द्व" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER VA
44                 U+0926/U+094D/U+0927: "द्ध" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DHA -->
45            <Key
46                latin:keySpec="&#x0926;&#x094D;&#x0935;"
47                latin:moreKeys="&#x0926;&#x094D;&#x0927;"
48                latin:keyLabelFlags="followKeyLetterRatio" />
49            <!-- U+091F/U+094D/U+091F: "ट्ट" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTA
50                 U+091B: "छ" DEVANAGARI LETTER CHA -->
51            <Key
52                latin:keySpec="&#x091F;&#x094D;&#x091F;"
53                latin:moreKeys="&#x091B;"
54                latin:keyLabelFlags="followKeyLetterRatio" />
55            <!-- U+0920/U+094D/U+0920: "ठ्ठ" DEVANAGARI LETTER TTHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA
56                 U+091F: "ट" DEVANAGARI LETTER TTA -->
57            <Key
58                latin:keySpec="&#x0920;&#x094D;&#x0920;"
59                latin:moreKeys="&#x091F;"
60                latin:keyLabelFlags="followKeyLetterRatio" />
61            <!-- U+090A: "ऊ" DEVANAGARI LETTER UU
62                 U+0920: "ठ" DEVANAGARI LETTER TTHA -->
63            <Key
64                latin:keySpec="&#x090A;"
65                latin:moreKeys="&#x0920;" />
66            <!-- U+0915/U+094D/U+0937: "क्ष" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
67                 U+0921: "ड" DEVANAGARI LETTER DDA -->
68            <Key
69                latin:keySpec="&#x0915;&#x094D;&#x0937;"
70                latin:moreKeys="&#x0921;"
71                latin:keyLabelFlags="followKeyLetterRatio" />
72            <!-- U+0907: "इ" DEVANAGARI LETTER I
73                 U+0922: "ढ" DEVANAGARI LETTER DDHA -->
74            <Key
75                latin:keySpec="&#x0907;"
76                latin:moreKeys="&#x0922;" />
77            <!-- U+090F: "ए" DEVANAGARI LETTER E
78                 U+0923: "ण" DEVANAGARI LETTER NNA -->
79            <Key
80                latin:keySpec="&#x090F;"
81                latin:moreKeys="&#x0923;" />
82            <!-- Because the font rendering system prior to API version 16 can't automatically
83                 render dotted circle for incomplete combining letter of some scripts, different
84                 set of Key definitions are needed based on the API version. -->
85            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_vocalic_r" />
86            <Key latin:keyStyle="baseKeyDevanagariVowelSignVocalicR" />
87        </case>
88        <default>
89            <!-- U+091F: "ट" DEVANAGARI LETTER TTA
90                 U+0967: "१" DEVANAGARI DIGIT ONE -->
91            <Key
92                latin:keySpec="&#x091F;"
93                latin:keyHintLabel="1"
94                latin:additionalMoreKeys="&#x0967;,1" />
95            <!-- U+0927: "ध" DEVANAGARI LETTER DHA
96                 U+0968: "२" DEVANAGARI DIGIT TWO -->
97            <Key
98                latin:keySpec="&#x0927;"
99                latin:keyHintLabel="2"
100                latin:additionalMoreKeys="&#x0968;,2" />
101            <!-- U+092D: "भ" DEVANAGARI LETTER BHA
102                 U+0969: "३" DEVANAGARI DIGIT THREE -->
103            <Key
104                latin:keySpec="&#x092D;"
105                latin:keyHintLabel="3"
106                latin:additionalMoreKeys="&#x0969;,3" />
107            <!-- U+091A: "च" DEVANAGARI LETTER CA
108                 U+096A: "४" DEVANAGARI DIGIT FOUR -->
109            <Key
110                latin:keySpec="&#x091A;"
111                latin:keyHintLabel="4"
112                latin:additionalMoreKeys="&#x096A;,4" />
113            <!-- U+0924: "त" DEVANAGARI LETTER TA
114                 U+096B: "५" DEVANAGARI DIGIT FIVE -->
115            <Key
116                latin:keySpec="&#x0924;"
117                latin:keyHintLabel="5"
118                latin:additionalMoreKeys="&#x096B;,5" />
119            <!-- U+0925: "थ" DEVANAGARI LETTER THA
120                 U+096C: "६" DEVANAGARI DIGIT SIX -->
121            <Key
122                latin:keySpec="&#x0925;"
123                latin:keyHintLabel="6"
124                latin:additionalMoreKeys="&#x096C;,6" />
125            <!-- U+0917: "ग" DEVANAGARI LETTER G
126                 U+096D: "७" DEVANAGARI DIGIT SEVEN -->
127            <Key
128                latin:keySpec="&#x0917;"
129                latin:keyHintLabel="7"
130                latin:additionalMoreKeys="&#x096D;,7" />
131            <!-- U+0937: "ष" DEVANAGARI LETTER SSA
132                 U+096E: "८" DEVANAGARI DIGIT EIGHT -->
133            <Key
134                latin:keySpec="&#x0937;"
135                latin:keyHintLabel="8"
136                latin:additionalMoreKeys="&#x096E;,8" />
137            <!-- U+092F: "य" DEVANAGARI LETTER YA
138                 U+096F: "९" DEVANAGARI DIGIT NINE -->
139            <Key
140                latin:keySpec="&#x092F;"
141                latin:keyHintLabel="9"
142                latin:additionalMoreKeys="&#x096F;,9" />
143            <!-- U+0909: "उ" DEVANAGARI LETTER U
144                 U+0966: "०" DEVANAGARI DIGIT ZERO -->
145            <Key
146                latin:keySpec="&#x0909;"
147                latin:keyHintLabel="0"
148                latin:additionalMoreKeys="&#x0966;,0" />
149            <!-- U+0907: "इ" DEVANAGARI LETTER I
150                 U+0914: "औ" DEVANAGARI LETTER AU -->
151            <Key
152                latin:keySpec="&#x0907;"
153                latin:moreKeys="&#x0914;" />
154        </default>
155    </switch>
156</merge>
157