<?xml version="1.0" encoding="UTF-8"?>
<!--
@@keys: [SHIFT K_B][K_O][K_N][K_LBRKT][K_U][K_SPACE][K_S][K_A][K_RBRKT][K_RBRKT][K_A]
@@expected: \u0042\u006f\u006e\u0121\u0075\u0020\u0073\u0061\u0127\u0127\u0061

Note:
    "Bonġu saħħa".split('').map(s=>`\\u${s.codePointAt(0).toString(16)}`).join('')
Gets part of the way,

Exact copy of mt.xml from CLDR, but with:
  - an updated DTD path
  - test case
-->
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="mt" conformsTo="45">
    <locales>
        <!-- English is also an official language in Malta.-->
        <locale id="en" />
    </locales>
    <info author="Steven R. Loomis" layout="QWERTY" indicator="MT"  name="Maltese"/>

    <keys>
        <!-- imports -->
        <import base="cldr" path="45/keys-Zyyy-punctuation.xml"/>
        <import base="cldr" path="45/keys-Zyyy-currency.xml"/>

        <!-- accent grave -->
        <key id="a-grave" output="à" />
        <key id="A-grave" output="À" />
        <key id="e-grave" output="è" />
        <key id="E-grave" output="È" />
        <key id="i-grave" output="ì" />
        <key id="I-grave" output="Ì" />
        <key id="o-grave" output="ò" />
        <key id="O-grave" output="Ò" />
        <key id="u-grave" output="ù" />
        <key id="U-grave" output="Ù" />

        <!-- tikka and maqtugha -->
        <key id="c-tikka" output="ċ" /> <!-- tikka is a dot -->
        <key id="C-tikka" output="Ċ" />
        <key id="g-tikka" output="ġ" />
        <key id="G-tikka" output="Ġ" />
        <key id="h-maqtugha" output="ħ" /> <!-- maqtugħa, i.e. cut -->
        <key id="H-maqtugha" output="Ħ" /> <!-- maqtugħa, i.e. cut -->
        <key id="z-tikka" output="ż" />
        <key id="Z-tikka" output="Ż" />

        <!-- Cedilla -->
        <key id="c-cedilla" output="ç" />
    </keys>

     <!-- 48-key -->
    <layers formId="iso">
        <layer modifiers="none">
            <row keys="c-tikka 1 2 3 4 5 6 7 8 9 0 hyphen equal" />
            <row keys="q w e r t y u i o p g-tikka h-maqtugha" />
            <row keys="a s d f g h j k l semi-colon hash" />
            <row keys="z-tikka z x c v b n m comma period slash" />
            <row keys="space" />
        </layer>

        <layer modifiers="shift">
            <row keys="C-tikka bang double-quote euro dollar percent caret amp open-paren close-paren underscore plus" />
            <row keys="Q W E R T Y U I O P G-tikka H-maqtugha" />
            <row keys="A S D F G H J K L colon at tilde" />
            <row keys="Z-tikka Z X C V B N M open-angle close-angle question" />
            <row keys="space" />
        </layer>

        <layer modifiers="altR">
            <row keys="grave gap gap pound gap gap gap gap gap gap gap gap gap" />
            <row keys="gap gap e-grave gap gap gap u-grave i-grave o-grave gap open-square close-square" />
            <row keys="a-grave gap gap gap gap gap gap gap gap gap gap gap" />
            <row keys="backslash gap gap gap gap gap gap gap gap gap gap" />
            <row keys="space" />
        </layer>

        <layer modifiers="altR shift">
            <row keys="not gap gap gap gap gap gap gap gap gap gap gap gap" />
            <row keys="gap gap E-grave gap gap gap U-grave I-grave O-grave gap open-curly close-curly" />
            <row keys="A-grave gap gap gap gap gap gap gap gap gap gap gap" />
            <row keys="pipe gap gap gap gap gap gap gap gap gap gap" />
            <row keys="space" />
        </layer>
    </layers>

</keyboard3>
