<?xml version="1.0" encoding="UTF-8"?>

<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="mt" conformsTo="45">
  <info name="hardware-gap-switch"/>

  <keys>
    <key id="a-acute" output="á"/>
    <key id="e-acute" output="é"/>
    <key id="i-acute" output="í"/>
    <key id="amarker" output="á\m{mark}\u{0320}"/> <!-- will become a U+0320 mark U+0301 -->

    <key id="a-umlaut" output="ä"/>
    <key id="e-umlaut" output="ë"/>
    <key id="i-umlaut" output="ï"/>

    <key id="c-cedilla" output="ç"/>
    <key id="e-caret" output="${ecaret}"/>

    <key id="Q" gap="true" />
    <key id="W" layerId="shift" />

    <!-- This key gets a bunch of other status -->
    <key id="q" flickId="flick0" output="q" longPressKeyIds="a-acute e-acute i-acute" longPressDefaultKeyId="e-acute"
        multiTapKeyIds="a-umlaut e-umlaut i-umlaut" width="3.14159" />
    <key id="w" output="${www}" />
  </keys>
  <flicks>
    <flick id="flick0">
      <flickSegment directions="nw se" keyId="c-cedilla" />
      <flickSegment directions="ne sw" keyId="e-caret" />
    </flick>
  </flicks>
  <layers formId="touch" minDeviceWidth="300">
    <layer id="base">
      <row keys="Q q W w" />
    </layer>
  </layers>
  <layers formId="iso">
    <layer id="base">
      <!-- beware: this is mapping ` and 1! -->
      <row keys="Q W" />
    </layer>
    <layer id="shift" modifiers="shift">
      <!-- beware: this is mapping ` and 1! -->
      <row keys="q w amarker" />
    </layer>
  </layers>

  <variables>
    <string id="ecaret" value="ê" />
    <string id="www" value="w" />
  </variables>
</keyboard3>
