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

<!--
  Test Keyboard from Spec
  see https://keyman.com/keyboards/sil_boonkit
-->

<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="nod" conformsTo="45">
  <info author="srl295" indicator="🙀" layout="qwerty"  name="nod-Lana Test"/>

  <keys>
    <!-- keys in order for 'roast' -->
    <key id="kha" output="\u{1A21}" />
    <key id="sakot" output="\u{1A60}" />
    <key id="wa" output="\u{1A45}" />
    <key id="o" output="\u{1A6B}" />
    <key id="t2" output="\u{1A76}" />

    <!-- and a shortcut key for this common word -->
    <key id="roast" output="\u{1A21}\u{1A60}\u{1A45}\u{1A6B}\u{1A76}" />
  </keys>

  <layers formId="us">
    <layer modifiers="none" id="base">
      <row keys="roast" />
      <row keys="gap wa gap gap t2 gap gap gap o gap" />
      <row keys="gap sakot gap gap gap gap gap kha gap" />
      <row keys="gap gap gap gap gap gap gap" />
      <row keys="space" />
    </layer>
  </layers>


  <transforms type="simple">
    <transformGroup>
      <!-- from the spec: nod-Lana for ᩅᩫ᩶  -->
      <reorder from="\u{1A60}" order="127" />
      <reorder from="\u{1A6B}" order="42" />
      <reorder from="[\u{1A75}-\u{1A79}]" order="55" />
      <reorder before="\u{1A6B}" from="\u{1A60}\u{1A45}" order="10" />
      <reorder before="\u{1A6B}[\u{1A75}-\u{1A79}]" from="\u{1A60}\u{1A45}" order="10" />
      <reorder before="\u{1A6B}" from="\u{1A60}[\u{1A75}-\u{1A79}]\u{1A45}" order="10 55 10" />
    </transformGroup>
  </transforms>
</keyboard3>
