1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2012, 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+0913: "ओ" DEVANAGARI LETTER O
25                 U+0913/U+0902: "ओं" DEVANAGARI LETTER O/DEVANAGARI SIGN ANUSVARA
26                 U+0911: "ऑ" DEVANAGARI LETTER CANDRA O
27                 U+0912: "ऒ" DEVANAGARI LETTER SHORT O -->
28            <Key
29                latin:keySpec="&#x0913;"
30                latin:moreKeys="&#x0913;&#x0902;,&#x0911;,&#x0912;" />
31            <!-- U+090F: "ए" DEVANAGARI LETTER E
32                 U+090F/U+0902: "एं" DEVANAGARI LETTER E/DEVANAGARI SIGN ANUSVARA
33                 U+090F/U+0901: "एँ" DEVANAGARI LETTER E/DEVANAGARI SIGN CANDRABINDU
34                 U+090D: "ऍ" DEVANAGARI LETTER CANDRA E
35                 U+090E: "ऎ" DEVANAGARI LETTER SHORT E -->
36            <Key
37                latin:keySpec="&#x090F;"
38                latin:moreKeys="&#x090F;&#x0902;,&#x090F;&#x0901;,&#x090D;,&#x090E;" />
39            <!-- U+0905: "अ" DEVANAGARI LETTER A
40                 U+0905/U+0902: "अं" DEVANAGARI LETTER A/DEVANAGARI SIGN ANUSVARA
41                 U+0905/U+0901: "अँ" DEVANAGARI LETTER A/DEVANAGARI SIGN CANDRABINDU -->
42            <Key
43                latin:keySpec="&#x0905;"
44                latin:moreKeys="&#x0905;&#x0902;,&#x0905;&#x0901;" />
45            <!-- U+0907: "इ" DEVANAGARI LETTER I
46                 U+0907/U+0902: "इं" DEVANAGARI LETTER I/DEVANAGARI SIGN ANUSVARA
47                 U+0907/U+0901: "इं" DEVANAGARI LETTER I/DEVANAGARI SIGN CANDRABINDU -->
48            <Key
49                latin:keySpec="&#x0907;"
50                latin:moreKeys="&#x0907;&#x0902;,&#x0907;&#x0901;" />
51            <!-- U+0909: "उ" DEVANAGARI LETTER U
52                 U+0909/U+0902: "उं" DEVANAGARI LETTER U/DEVANAGARI SIGN ANUSVARA
53                 U+0909/U+0901: "उँ" DEVANAGARI LETTER U/DEVANAGARI SIGN CANDRABINDU -->
54            <Key
55                latin:keySpec="&#x0909;"
56                latin:moreKeys="&#x0909;&#x0902;,&#x0909;&#x0901;" />
57            <!-- U+092B: "फ" DEVANAGARI LETTER PHA
58                 U+092B/U+093C: "फ़" DEVANAGARI LETTER PHA/DEVANAGARI SIGN NUKTA -->
59            <Key
60                latin:keySpec="&#x092B;"
61                latin:moreKeys="&#x092B;&#x093C;" />
62            <!-- U+0931: "ऱ" DEVANAGARI LETTER RRA
63                 U+094D/U+0930: "्र" DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA
64                 U+0930/U+094D: "र्" DEVANAGARI LETTER RA/DEVANAGARI SIGN VIRAMA -->
65            <Key
66                latin:keySpec="&#x0931;"
67                latin:moreKeys="&#x094D;&#x0930;,&#x0930;&#x094D;" />
68            <!-- U+0916: "ख" DEVANAGARI LETTER KHA
69                 U+0916/U+093C: "ख़" DEVANAGARI LETTER KHA/DEVANAGARI SIGN NUKTA -->
70            <Key
71                latin:keySpec="&#x0916;"
72                latin:moreKeys="&#x0916;&#x093C;" />
73            <!-- U+0925: "थ" DEVANAGARI LETTER THA -->
74            <Key latin:keySpec="&#x0925;" />
75            <!-- U+091B: "छ" DEVANAGARI LETTER CHA -->
76            <Key latin:keySpec="&#x091B;" />
77            <!-- U+0920: "ठ" DEVANAGARI LETTER TTHA -->
78            <Key latin:keySpec="&#x0920;" />
79        </case>
80        <default>
81            <!-- Because the font rendering system prior to API version 16 can't automatically
82                 render dotted circle for incomplete combining letter of some scripts, different
83                 set of Key definitions are needed based on the API version. -->
84            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_o" />
85            <Key latin:keyStyle="baseKeyDevanagariVowelSignO" />
86            <!-- Because the font rendering system prior to API version 16 can't automatically
87                 render dotted circle for incomplete combining letter of some scripts, different
88                 set of Key definitions are needed based on the API version. -->
89            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_e" />
90            <Key latin:keyStyle="baseKeyDevanagariVowelSignE" />
91            <!-- Because the font rendering system prior to API version 16 can't automatically
92                 render dotted circle for incomplete combining letter of some scripts, different
93                 set of Key definitions are needed based on the API version. -->
94            <include latin:keyboardLayout="@xml/keystyle_devanagari_sign_virama" />
95            <Key latin:keyStyle="baseKeyDevanagariSignVirama" />
96            <!-- Because the font rendering system prior to API version 16 can't automatically
97                 render dotted circle for incomplete combining letter of some scripts, different
98                 set of Key definitions are needed based on the API version. -->
99            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_i" />
100            <Key latin:keyStyle="baseKeyDevanagariVowelSignI" />
101            <!-- Because the font rendering system prior to API version 16 can't automatically
102                 render dotted circle for incomplete combining letter of some scripts, different
103                 set of Key definitions are needed based on the API version. -->
104            <include latin:keyboardLayout="@xml/keystyle_devanagari_vowel_sign_u" />
105            <Key latin:keyStyle="baseKeyDevanagariVowelSignU" />
106            <!-- U+092A: "प" DEVANAGARI LETTER PA -->
107            <Key latin:keySpec="&#x092A;" />
108            <!-- U+0930: "र" DEVANAGARI LETTER RA
109                 U+090B: "ऋ" DEVANAGARI LETTER VOCALIC R
110                 U+0930/U+093C: "ऱ" DEVANAGARI LETTER RA/DEVANAGARI SIGN NUKTA
111                 U+0960: "ॠ" DEVANAGARI LETTER VOCALIC RR -->
112            <Key
113                latin:keySpec="&#x0930;"
114                latin:moreKeys="&#x090B;,&#x0930;&#x093C;,&#x0960;" />
115            <!-- U+0915: "क" DEVANAGARI LETTER KA
116                 U+0915/U+093C: "क़" DEVANAGARI LETTER KA/DEVANAGARI SIGN NUKTA -->
117            <Key
118                latin:keySpec="&#x0915;"
119                latin:moreKeys="&#x0915;&#x093C;" />
120            <!-- U+0924: "त" DEVANAGARI LETTER TA
121                 U+0924/U+094D/U+0930: "त्र" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER RA -->
122            <Key
123                latin:keySpec="&#x0924;"
124                latin:moreKeys="&#x0924;&#x094D;&#x0930;" />
125            <!-- U+091A: "च" DEVANAGARI LETTER CA -->
126            <Key latin:keySpec="&#x091A;" />
127            <!-- U+091F: "ट" DEVANAGARI LETTER TTA -->
128            <Key latin:keySpec="&#x091F;" />
129        </default>
130    </switch>
131</merge>
132