<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2013, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<merge xmlns:latin="http://schemas.android.com/apk/res-auto">
    <switch>
        <case latin:keyboardLayoutSetElement="alphabetManualShifted|alphabetShiftLocked">
            <!-- U+0924/U+094D/U+0924: "त्त" DEVANAGARI LETTER TA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TA
                 U+091E: "ञ" DEVANAGARI LETTER NYA
                 U+091C/U+094D/U+091E: "ज्ञ" DEVANAGARI LETTER JA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER NYA
                 U+0965: "॥" DEVANAGARI DOUBLE DANDA -->
            <Key
                latin:keySpec="&#x0924;&#x094D;&#x0924;"
                latin:moreKeys="&#x091E;,&#x091C;&#x094D;&#x091E;,&#x0965;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+0921/U+094D/U+0922: "ड्ढ" DEVANAGARI LETTER DDA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DDHA
                 U+0908: "ई" DEVANAGARI LETTER II -->
            <Key
                latin:keySpec="&#x0921;&#x094D;&#x0922;"
                latin:moreKeys="&#x0908;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+0910: "ऐ" DEVANAGARI LETTER AI
                 U+0918: "घ" DEVANAGARI LETTER GHA -->
            <Key
                latin:keySpec="&#x0910;"
                latin:moreKeys="&#x0918;" />
            <!-- U+0926/U+094D/U+0935: "द्व" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER VA
                 U+0926/U+094D/U+0927: "द्ध" DEVANAGARI LETTER DA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER DHA -->
            <Key
                latin:keySpec="&#x0926;&#x094D;&#x0935;"
                latin:moreKeys="&#x0926;&#x094D;&#x0927;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+091F/U+094D/U+091F: "ट्ट" DEVANAGARI LETTER TTA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTA
                 U+091B: "छ" DEVANAGARI LETTER CHA -->
            <Key
                latin:keySpec="&#x091F;&#x094D;&#x091F;"
                latin:moreKeys="&#x091B;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+0920/U+094D/U+0920: "ठ्ठ" DEVANAGARI LETTER TTHA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER TTHA
                 U+091F: "ट" DEVANAGARI LETTER TTA -->
            <Key
                latin:keySpec="&#x0920;&#x094D;&#x0920;"
                latin:moreKeys="&#x091F;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+090A: "ऊ" DEVANAGARI LETTER UU
                 U+0920: "ठ" DEVANAGARI LETTER TTHA -->
            <Key
                latin:keySpec="&#x090A;"
                latin:moreKeys="&#x0920;" />
            <!-- U+0915/U+094D/U+0937: "क्ष" DEVANAGARI LETTER KA/DEVANAGARI SIGN VIRAMA/DEVANAGARI LETTER SSA
                 U+0921: "ड" DEVANAGARI LETTER DDA -->
            <Key
                latin:keySpec="&#x0915;&#x094D;&#x0937;"
                latin:moreKeys="&#x0921;"
                latin:keyLabelFlags="followKeyLetterRatio" />
            <!-- U+0907: "इ" DEVANAGARI LETTER I
                 U+0922: "ढ" DEVANAGARI LETTER DDHA -->
            <Key
                latin:keySpec="&#x0907;"
                latin:moreKeys="&#x0922;" />
            <!-- U+090F: "ए" DEVANAGARI LETTER E
                 U+0923: "ण" DEVANAGARI LETTER NNA -->
            <Key
                latin:keySpec="&#x090F;"
                latin:moreKeys="&#x0923;" />
            <!-- 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_vocalic_r" />
            <Key latin:keyStyle="baseKeyDevanagariVowelSignVocalicR" />
        </case>
        <default>
            <switch>
                <case latin:showNumberRow="true">
                    <!-- U+091F: "ट" DEVANAGARI LETTER TTA
                         U+0967: "१" DEVANAGARI DIGIT ONE -->
                    <Key
                        latin:keySpec="&#x091F;"
                        latin:additionalMoreKeys="&#x0967;" />
                    <!-- U+0927: "ध" DEVANAGARI LETTER DHA
                         U+0968: "२" DEVANAGARI DIGIT TWO -->
                    <Key
                        latin:keySpec="&#x0927;"
                        latin:additionalMoreKeys="&#x0968;" />
                    <!-- U+092D: "भ" DEVANAGARI LETTER BHA
                         U+0969: "३" DEVANAGARI DIGIT THREE -->
                    <Key
                        latin:keySpec="&#x092D;"
                        latin:additionalMoreKeys="&#x0969;" />
                    <!-- U+091A: "च" DEVANAGARI LETTER CA
                         U+096A: "४" DEVANAGARI DIGIT FOUR -->
                    <Key
                        latin:keySpec="&#x091A;"
                        latin:additionalMoreKeys="&#x096A;" />
                    <!-- U+0924: "त" DEVANAGARI LETTER TA
                         U+096B: "५" DEVANAGARI DIGIT FIVE -->
                    <Key
                        latin:keySpec="&#x0924;"
                        latin:additionalMoreKeys="&#x096B;" />
                    <!-- U+0925: "थ" DEVANAGARI LETTER THA
                         U+096C: "६" DEVANAGARI DIGIT SIX -->
                    <Key
                        latin:keySpec="&#x0925;"
                        latin:additionalMoreKeys="&#x096C;" />
                    <!-- U+0917: "ग" DEVANAGARI LETTER G
                         U+096D: "७" DEVANAGARI DIGIT SEVEN -->
                    <Key
                        latin:keySpec="&#x0917;"
                        latin:additionalMoreKeys="&#x096D;" />
                    <!-- U+0937: "ष" DEVANAGARI LETTER SSA
                         U+096E: "८" DEVANAGARI DIGIT EIGHT -->
                    <Key
                        latin:keySpec="&#x0937;"
                        latin:additionalMoreKeys="&#x096E;" />
                    <!-- U+092F: "य" DEVANAGARI LETTER YA
                         U+096F: "९" DEVANAGARI DIGIT NINE -->
                    <Key
                        latin:keySpec="&#x092F;"
                        latin:additionalMoreKeys="&#x096F;" />
                    <!-- U+0909: "उ" DEVANAGARI LETTER U
                         U+0966: "०" DEVANAGARI DIGIT ZERO -->
                    <Key
                        latin:keySpec="&#x0909;"
                        latin:additionalMoreKeys="&#x0966;" />
                </case>
                <default>
                    <!-- U+091F: "ट" DEVANAGARI LETTER TTA
                         U+0967: "१" DEVANAGARI DIGIT ONE -->
                    <Key
                        latin:keySpec="&#x091F;"
                        latin:keyHintLabel="1"
                        latin:additionalMoreKeys="&#x0967;,1" />
                    <!-- U+0927: "ध" DEVANAGARI LETTER DHA
                         U+0968: "२" DEVANAGARI DIGIT TWO -->
                    <Key
                        latin:keySpec="&#x0927;"
                        latin:keyHintLabel="2"
                        latin:additionalMoreKeys="&#x0968;,2" />
                    <!-- U+092D: "भ" DEVANAGARI LETTER BHA
                         U+0969: "३" DEVANAGARI DIGIT THREE -->
                    <Key
                        latin:keySpec="&#x092D;"
                        latin:keyHintLabel="3"
                        latin:additionalMoreKeys="&#x0969;,3" />
                    <!-- U+091A: "च" DEVANAGARI LETTER CA
                         U+096A: "४" DEVANAGARI DIGIT FOUR -->
                    <Key
                        latin:keySpec="&#x091A;"
                        latin:keyHintLabel="4"
                        latin:additionalMoreKeys="&#x096A;,4" />
                    <!-- U+0924: "त" DEVANAGARI LETTER TA
                         U+096B: "५" DEVANAGARI DIGIT FIVE -->
                    <Key
                        latin:keySpec="&#x0924;"
                        latin:keyHintLabel="5"
                        latin:additionalMoreKeys="&#x096B;,5" />
                    <!-- U+0925: "थ" DEVANAGARI LETTER THA
                         U+096C: "६" DEVANAGARI DIGIT SIX -->
                    <Key
                        latin:keySpec="&#x0925;"
                        latin:keyHintLabel="6"
                        latin:additionalMoreKeys="&#x096C;,6" />
                    <!-- U+0917: "ग" DEVANAGARI LETTER G
                         U+096D: "७" DEVANAGARI DIGIT SEVEN -->
                    <Key
                        latin:keySpec="&#x0917;"
                        latin:keyHintLabel="7"
                        latin:additionalMoreKeys="&#x096D;,7" />
                    <!-- U+0937: "ष" DEVANAGARI LETTER SSA
                         U+096E: "८" DEVANAGARI DIGIT EIGHT -->
                    <Key
                        latin:keySpec="&#x0937;"
                        latin:keyHintLabel="8"
                        latin:additionalMoreKeys="&#x096E;,8" />
                    <!-- U+092F: "य" DEVANAGARI LETTER YA
                         U+096F: "९" DEVANAGARI DIGIT NINE -->
                    <Key
                        latin:keySpec="&#x092F;"
                        latin:keyHintLabel="9"
                        latin:additionalMoreKeys="&#x096F;,9" />
                    <!-- U+0909: "उ" DEVANAGARI LETTER U
                         U+0966: "०" DEVANAGARI DIGIT ZERO -->
                    <Key
                        latin:keySpec="&#x0909;"
                        latin:keyHintLabel="0"
                        latin:additionalMoreKeys="&#x0966;,0" />
                </default>
            </switch>
            <!-- U+0907: "इ" DEVANAGARI LETTER I
                 U+0914: "औ" DEVANAGARI LETTER AU -->
            <Key
                latin:keySpec="&#x0907;"
                latin:moreKeys="&#x0914;" />
        </default>
    </switch>
</merge>
