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

<!--
Note that the 'expected' lines are cumulative unless there's a reset event.

@@keys:      [K_BKQUOTE][K_1][K_ENTER][K_Z]
@@expected:  z
Comment:     1=gap, enter=not mapped/mappable - reset. (z used as a subtest separator)

@@keys:      [K_Q][K_BKQUOTE][K_Z]
@@expected:  zAz
Comment:     q\m{q}a => A due to transform

@@keys:      [K_Q][K_2][K_BKQUOTE][K_Z]
@@expected:  zAzAz
Comment:     2=not mapped, but NO reset.

@@keys:      [K_Q][K_1][K_BKQUOTE][K_Z]
@@expected:  zAzAzAz
Comment:     1 is a gap (no effect) so no ctx reset

@@keys:      [K_Q][K_ENTER][K_BKQUOTE][K_Z]
@@expected:  az
Comment:     enter=not mappable, causes ctx reset.

-->

<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="en" conformsTo="45">
  <info author="srl295" indicator="🙀" layout="qwerty"  name="TestKbd"/>
  <!-- TODO-LDML: split to separate test with only implied keys - the <keys/> element is omitted. -->
  <keys>
    <key id="q" output="q\m{q}"/>
  </keys>

  <layers formId="us">
    <layer id="base">
      <row keys="a gap" /> <!-- number row -->
      <row keys="q gap" /> <!-- q w ... -->
      <row keys="gap" />
      <row keys="z" /> <!-- z x ... -->
    </layer>
  </layers>

  <transforms type="simple">
    <transformGroup>
      <transform from="q\m{q}a" to="A" />
    </transformGroup>
  </transforms>

</keyboard3>
