<?xml version="1.0" ?>
<!---
Copyright © 2014, Johannes Almer

This file is part of Onboard.

Onboard is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

Onboard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<keyboard
    id="Whiteboard"
    format="3.2"
    section="contributions"
    summary="Special characters for interactive whiteboards"
    description="Keyboard layout with Greek literals, arrows and more, for math and physics education on an interactive Whiteboard."
    author="Johannes Almer">

  <include file="key_defs.xml"/>

  <key_template button="true" id="layer1" label="⅙⁺₉" tooltip="Sub-, Superscripts; Fractions"/>
  <key_template button="true" id="layer2" label="∃∩"  image="" tooltip="Set and Settings" />
  <key_template button="true" id="layer3" label="⚀♫"  tooltip="Special Characters"/>
  <key_template button="true" id="layer0" label="αβΩ" tooltip="Greek" show_active="false"/>
  <key_template button="true" id="layer4" label="⇄"   tooltip="Arrows"/>
  <key_template button="true" id="layer5" label="..." tooltip="Custom"/>

  <!-- box containing all the keys and buttons -->
  <!-- the rows of keys on the Onboard keyboard are counted bottom to top starting with 1 -->
  <box border="1" spacing="2.0" orientation="vertical">

    <!--- word suggestions -->
    <panel filename="Whiteboard-Alpha.svg">
        <include file='word_suggestions.xml'/>
    </panel>

    <panel>

      <!-- alpha layers -->
       <panel filename="Whiteboard-Alpha.svg" layer="alpha">

            <!-- row 4 -->
          <key char="α" group="alphanumeric" id="AD01" label="α"/>
          <key char="β" group="alphanumeric" id="AD02" label="β"/>
          <key char="γ" group="alphanumeric" id="AD03" label="γ"/>
          <key char="δ" group="alphanumeric" id="AD04" label="δ"/>
          <key char="ε" group="alphanumeric" id="AD05" label="ε"/>
          <key char="η" group="alphanumeric" id="AD06" label="η"/>
          <key char="θ" group="alphanumeric" id="AD07" label="θ"/>
          <key char="κ" group="alphanumeric" id="AD08" label="κ"/>
          <key char="λ" group="alphanumeric" id="AD09" label="λ"/>
          <key char="μ" group="alphanumeric" id="AD10" label="μ"/>
            <!-- row 3 -->
          <key char="ν" group="alphanumeric" id="AC01" label="ν"/>
          <key char="ξ" group="alphanumeric" id="AC02" label="ξ"/>
          <key char="π" group="alphanumeric" id="AC03" label="π"/>
          <key char="ρ" group="alphanumeric" id="AC04" label="ρ"/>
          <key char="σ" group="alphanumeric" id="AC05" label="σ"/>
          <key char="τ" group="alphanumeric" id="AC06" label="τ"/>
          <key char="φ" group="alphanumeric" id="AC07" label="φ"/>
          <key char="ϕ" group="alphanumeric" id="AC08" label="ϕ"/>
          <key char="χ" group="alphanumeric" id="AC09" label="χ"/>
          <key char="ω" group="alphanumeric" id="AC10" label="ω"/>
            <!-- row 2 -->
          <key char="Γ" group="alphanumeric" id="AB01" label="Γ"/>
          <key char="Δ" group="alphanumeric" id="AB02" label="Δ"/>
          <key char="Θ" group="alphanumeric" id="AB03" label="Θ"/>
          <key char="Λ" group="alphanumeric" id="AB04" label="Λ"/>
          <key char="Ξ" group="alphanumeric" id="AB05" label="Ξ"/>
          <key char="Π" group="alphanumeric" id="AB06" label="Π"/>
          <key char="Σ" group="alphanumeric" id="AB07" label="Σ"/>
          <key char="Φ" group="alphanumeric" id="AB08" label="Φ"/>
          <key char="Ψ" group="alphanumeric" id="AB09" label="Ψ"/>
          <key group="bottomrow" id="BKSP"/>
            <!-- row 1 -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key group="alphanumeric" id="AA03" char="Ω" label="Ω"/>
          <key char="𝝅" group="alphanumeric" id="AA04" label="𝝅"/>
          <key char="𝛑" group="alphanumeric" id="AA05" label="𝛑"/>
          <key char="𝜋" group="alphanumeric" id="AA06" label="𝜋"/>
      </panel>

      <panel filename="Whiteboard-Numbers.svg" layer="numbers">
            <!-- row 4 -->
          <key char="⁰" group="alphanumeric" id="BD01" label="⁰"/>
          <key char="¼" group="alphanumeric" id="BD02" label="¼"/>
          <key char="¾" group="alphanumeric" id="BD03" label="¾"/>
          <key char="⅓" group="alphanumeric" id="BD04" label="⅓"/>
          <key char="⅔" group="alphanumeric" id="BD05" label="⅔"/>
          <key char="⅕" group="alphanumeric" id="BD06" label="⅕"/>
          <key char="⅖" group="alphanumeric" id="BD07" label="⅖"/>
          <key char="⅗" group="alphanumeric" id="BD08" label="⅗"/>
          <key char="⅘" group="alphanumeric" id="BD09" label="⅘"/>
          <key char="⅙" group="alphanumeric" id="BD10" label="⅙"/>
            <!-- row 3 -->
          <key char="₀" group="alphanumeric" id="BC01" label="₀"/>
          <key char="₁" group="alphanumeric" id="BC02" label="₁"/>
          <key char="₂" group="alphanumeric" id="BC03" label="₂"/>
          <key char="₃" group="alphanumeric" id="BC04" label="₃"/>
          <key char="₄" group="alphanumeric" id="BC05" label="₄"/>
          <key char="₅" group="alphanumeric" id="BC06" label="₅"/>
          <key char="₆" group="alphanumeric" id="BC07" label="₆"/>
          <key char="₇" group="alphanumeric" id="BC08" label="₇"/>
          <key char="₈" group="alphanumeric" id="BC09" label="₈"/>
          <key char="₉" group="alphanumeric" id="BC10" label="₉"/>
            <!-- row 2 -->
          <key char="ⁱ" group="alphanumeric" id="BB01" label="ⁱ"/>
          <key char="⁴" group="alphanumeric" id="BB02" label="⁴"/>
          <key char="⁵" group="alphanumeric" id="BB03" label="⁵"/>
          <key char="⁶" group="alphanumeric" id="BB04" label="⁶"/>
          <key char="⁷" group="alphanumeric" id="BB05" label="⁷"/>
          <key char="⁸" group="alphanumeric" id="BB06" label="⁸"/>
          <key char="⁹" group="alphanumeric" id="BB07" label="⁹"/>
          <key char="⁺" group="alphanumeric" id="BB08" label="⁺"/>
          <key char="⁻" group="alphanumeric" id="BB09" label="⁻"/>
          <key group="bottomrow" id="BKSP" unlatch_layer="false"/>
            <!-- row 1 -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key group="alphanumeric" id="BA03" char="ₕ" label="ₕ"/>
          <key char="ₛ" group="alphanumeric" id="BA04" label="ₛ"/>
          <key char="ᵣ" group="alphanumeric" id="BA05" label="ᵣ"/>
          <key char="ₙ" group="alphanumeric" id="BA06" label="ₙ"/>
      </panel>

      <panel filename="Whiteboard-Syms.svg" layer="syms">
        <!-- row 4 -->
          <key char="ℝ" group="alphanumeric" id="CD01" label="ℝ"/>
          <key char="ℂ" group="alphanumeric" id="CD02" label="ℂ"/>
          <key char="ℕ" group="alphanumeric" id="CD03" label="ℕ"/>
          <key char="ℙ" group="alphanumeric" id="CD04" label="ℙ"/>
          <key char="ℚ" group="alphanumeric" id="CD05" label="ℚ"/>
          <key char="ℤ" group="alphanumeric" id="CD06" label="ℤ"/>
          <key  group="click" id="move" tooltip="Move keyboard"/>
          <key  group="click" id="hide" tooltip="Hide keyboard"/>
          <key  group="click" id="quit" tooltip="Quit Keyboard"/>
          <key  group="click" id="settings" tooltip="Settings"/>
        <!-- row 3 -->
          <key char="∅" group="alphanumeric" id="CC01" label="∅"/>
          <key char="∃" group="alphanumeric" id="CC02" label="∃"/>
          <key char="∄" group="alphanumeric" id="CC03" label="∄"/>
          <key char="∩" group="alphanumeric" id="CC04" label="∩"/>
          <key char="∪" group="alphanumeric" id="CC05" label="∪"/>
          <key char="∈" group="alphanumeric" id="CC06" label="∈"/>
          <key char="∉" group="alphanumeric" id="CC07" label="∉"/>
          <key char="∀" group="alphanumeric" id="CC08" label="∀"/>
          <key char="∑" group="alphanumeric" id="CC09" label="∑"/>
          <key char="…" group="alphanumeric" id="CC10" label="…"/>
        <!-- row 2 -->
          <key char="∥" group="alphanumeric" id="CB01" label="∥"/>
          <key char="∦" group="alphanumeric" id="CB02" label="∦"/>
          <key char="∡" group="alphanumeric" id="CB03" label="∡"/>
          <key char="⊾" group="alphanumeric" id="CB04" label="⊾"/>
          <key char="∞" group="alphanumeric" id="CB05" label="∞"/>
          <key char="⊂" group="alphanumeric" id="CB06" label="⊂"/>
          <key char="⊃" group="alphanumeric" id="CB07" label="⊃"/>
          <key char="⊄" group="alphanumeric" id="CB08" label="⊄"/>
          <key char="⊅" group="alphanumeric" id="CB09" label="⊅"/>
        <key group="bottomrow" id="BKSP"/>
        <!-- row 1 -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key char="⊈" group="alphanumeric" id="CA03" label="⊈"/>
          <key char="⊉" group="alphanumeric" id="CA04" label="⊉"/>
          <key char="⊆" group="alphanumeric" id="CA05" label="⊆"/>
          <key char="⊇" group="alphanumeric" id="CA06" label="⊇"/>
      </panel>

      <panel filename="Whiteboard-Emoji.svg" layer="emoji">
        <!-- row 4 -->
        <key group="symbol" id="DD01" char="☺" label="☺"/> 
        <key group="symbol" id="DD02" char="😊" label="😊"/>
        <key group="symbol" id="DD03" char="☹" label="☹"/> 
        <key group="symbol" id="DD04" char="😢" label="😢"/> 
        <key group="symbol" id="DD05" char="ℹ" label="ℹ"/> 
        <key group="symbol" id="DD06" char="℮" label="℮"/> 
        <key group="symbol" id="DD07" char="№" label="№"/> 
        <key group="symbol" id="DD08" char="☃" label="☃"/> 
        <key group="symbol" id="DD09" char="♀" label="♀"/> 
        <key group="symbol" id="DD10" char="☼" label="☼"/> 
        <!-- row 3 -->
        <key group="symbol" id="DC01" char="⚡" label="⚡"/>
        <key group="symbol" id="DC02" char="♫" label="♫"/> 
        <key group="symbol" id="DC03" char="✉" label="✉"/> 
        <key group="symbol" id="DC04" char="☕" label="☕"/> 
        <key group="symbol" id="DC05" char="☢" label="☢"/> 
        <key group="symbol" id="DC06" char="☨" label="☨"/> 
        <key group="symbol" id="DC07" char="☆" label="☆"/> 
        <key group="symbol" id="DC08" char="" label=""/> 
        <key group="symbol" id="DC09" char="♂" label="♂"/> 
        <key group="symbol" id="DC10" char="☾" label="☾"/> 
        <!-- row 2 -->
        <key group="symbol" id="DB01" char="⚀" label="⚀"/> 
        <key group="symbol" id="DB02" char="⚁" label="⚁"/> 
        <key group="symbol" id="DB03" char="⚂" label="⚂"/> 
        <key group="symbol" id="DB04" char="⚃" label="⚃"/> 
        <key group="symbol" id="DB05" char="⚄" label="⚄"/> 
        <key group="symbol" id="DB06" char="⚅" label="⚅"/> 
        <key group="symbol" id="DB07" char="⚠" label="⚠"/> 
        <key group="symbol" id="DB08" char="☑" label="☑"/>
        <key group="symbol" id="DB09" char="☐" label="☐"/> 
        <key group="bottomrow" id="BKSP"/>
        <!-- row 1 of the layers -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key char="♦" group="alphanumeric" id="DA03" label="♦"/>
          <key char="♠" group="alphanumeric" id="DA04" label="♠"/>
          <key char="♥" group="alphanumeric" id="DA05" label="♥"/>
          <key char="♣" group="alphanumeric" id="DA06" label="♣"/>
      </panel>



      <panel filename="Whiteboard-Arrows.svg" layer="arows">
        <!-- row 4 -->
        <key group="symbol" id="ED01" char="⬀" label="⬀"/> 
        <key group="symbol" id="ED02" char="⬁" label="⬁"/>
        <key group="symbol" id="ED03" char="⬂" label="⬂"/> 
        <key group="symbol" id="ED04" char="⬃" label="⬃"/> 
        <key group="symbol" id="ED05" char="⬄" label="⬄"/> 
        <key group="symbol" id="ED06" char="⬎" label="⬎"/> 
        <key group="symbol" id="ED07" char="⬏" label="⬏"/> 
        <key group="symbol" id="ED08" char="⬐" label="⬐"/> 
        <key group="symbol" id="ED09" char="⬑" label="⬑"/> 
        <key group="symbol" id="ED10" char="⬰" label="⬰"/> 
        <!-- row 3 -->
        <key group="symbol" id="EC09" char="⟲" label="⟲"/>
        <key group="symbol" id="EC10" char="⟳" label="⟳"/> 
        <key group="symbol" id="EC03" char="⟵" label="⟵"/> 
        <key group="symbol" id="EC04" char="⟶" label="⟶"/> 
        <key group="symbol" id="EC05" char="⟷" label="⟷"/> 
        <key group="symbol" id="EC06" char="⟻" label="⟻"/> 
        <key group="symbol" id="EC07" char="⟼" label="⟼"/> 
        <key group="symbol" id="EC08" char="⟿" label="⟿"/> 
        <key group="symbol" id="EC01" char="←" label="←"/> 
        <key group="symbol" id="EC02" char="→" label="→"/> 
        <!-- row 2 -->
        <key group="symbol" id="EB01" char="↖" label="↖"/> 
        <key group="symbol" id="EB02" char="↗" label="↗"/> 
        <key group="symbol" id="EB03" char="↘" label="↘"/> 
        <key group="symbol" id="EB04" char="↙" label="↙"/> 
        <key group="symbol" id="EB05" char="↤" label="↤"/> 
        <key group="symbol" id="EB06" char="↦" label="↦"/> 
        <key group="symbol" id="EB07" char="↷" label="↷"/> 
        <key group="symbol" id="EB08" char="↳" label="↳"/> 
        <key group="symbol" id="EB09" char="↔" label="↔"/> 
        <key group="bottomrow" id="BKSP"/>
        <!-- row 1 of the layers -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key char="⇐" group="alphanumeric" id="EA03" label="⇐"/>
          <key char="⇒" group="alphanumeric" id="EA04" label="⇒"/>
          <key char="⇐" group="alphanumeric" id="EA05" label="⇐"/>
          <key char="⇏" group="alphanumeric" id="EA06" label="⇏"/>
      </panel>

      <panel filename="Whiteboard-Greek.svg" layer="greek">

            <!-- row 4 -->
          <key char="α" group="alphanumeric" id="FD01" label="α"/>
          <key char="β" group="alphanumeric" id="FD02" label="β"/>
          <key char="γ" group="alphanumeric" id="FD03" label="γ"/>
          <key char="ε" group="alphanumeric" id="FD04" label="ε"/>
          <key char="η" group="alphanumeric" id="FD05" label="η"/>
          <key char="λ" group="alphanumeric" id="FD06" label="λ"/>
          <key char="μ" group="alphanumeric" id="FD07" label="μ"/>
          <key char="π" group="alphanumeric" id="FD08" label="π"/>
          <key char="Δ" group="alphanumeric" id="FD09" label="Δ"/>
          <key char="Ω" group="alphanumeric" id="FD10" label="Ω"/>
            <!-- row 3 -->
          <key char="H₂O" group="alphanumeric" id="FC01" label="H₂O"/>
          <key char="ᵣ" group="alphanumeric" id="FC02" label="ᵣ"/>
          <key char="₀" group="alphanumeric" id="FC03" label="₀"/>
          <key char="₁" group="alphanumeric" id="FC04" label="₁"/>
          <key char="₂" group="alphanumeric" id="FC05" label="₂"/>
          <key char="Eₑₗ" group="alphanumeric" id="FC06" label="Eₑₗ"/>
          <key char="Eₜₕ" group="alphanumeric" id="FC07" label="Eₜₕ"/>
          <key char="Eₖᵢₙ" group="alphanumeric" id="FC08" label="Eₖᵢₙ"/>
          <key char="Eₕ" group="alphanumeric" id="FC09" label="Eₕ"/>
          <key char="⟂" group="alphanumeric" id="FC10" label="⟂"/>
            <!-- row 2 -->
          <key char="→" group="alphanumeric" id="FB01" label="→"/>
          <key char="⟼" group="alphanumeric" id="FB02" label="⟼"/>
          <key char="∫" group="alphanumeric" id="FB03" label="∫"/>
          <key char="∞" group="alphanumeric" id="FB04" label="∞"/>
          <key char="⋅" group="alphanumeric" id="FB05" label="⋅"/>
          <key char="∓" group="alphanumeric" id="FB06" label="∓"/>
          <key char="√" group="alphanumeric" id="FB07" label="√"/>
          <key char="∛" group="alphanumeric" id="FB08" label="∛"/>
          <key char="~" group="alphanumeric" id="FB09" label="~"/>
          <key group="bottomrow" id="BKSP"/>
            <!-- row 1 -->
          <key group="bottomrow" id="layer1.like_rtrn"/>
          <key group="bottomrow" id="layer2.like_rtrn"/>
          <key group="bottomrow" id="layer3.like_rtrn"/>
          <key group="bottomrow" id="layer0.like_rtrn"/>
          <key group="bottomrow" id="layer4.like_rtrn"/>
          <key group="bottomrow" id="layer5.like_rtrn"/>
          <key group="alphanumeric" id="FA03" char="≈" label="≈" />
          <key char="≠" group="alphanumeric" id="FA04" label="≠"/>
          <key char="≥" group="alphanumeric" id="FA05" label="≥"/>
          <key char="≤" group="alphanumeric" id="FA06" label="≤"/>
      </panel>

    </panel>
 </box>

</keyboard>

