Layout for Compass Keyboard

This is a custom layout file for the Compass Keyboard app from F-Droid. To use it, save it to your device and then open Compass Keyboard's settings, then Layouts, one of the custom layout slots, then choose the saved file. Then to select it, do a long diagonal swipe top left to bottom right and pick L4 (or 5 or whatever custom slot you chose).

dvorak-latin.xml (Source)

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

<CompassKeyboard name="LatinDvorak">

<!-- 
LatinDvorak - Copyright 2020 MJ Ray, released under same terms as Compass Keyboard

Target layout is like default_latin but:

_ap gfy crl
oeu hdi tns
qjk mbx wvz

;^: ,R.
<v>

This is the Dvorak alphabet layout with a moved from left-most to the top row,
then the middle 9-tile reversed (allows easier t-h-VOWEL starts and it, among
other things), then the arrows and symbols moved into the vacated bottom tiles.

 -->

    <Layout name="vertical">
        <!-- global swipes -->
        <Action mod="grave"/>   <Action mod="caret"/>   <Action mod="acute"/>
        <Action mod="diae"/>    <Action/>               <Action mod="misc"/>
        <Action mod="tilde"/>   <Action mod="hacek"/>   <Action mod="spec"/>

        <Row name="top">

            <Key name="math ops" has_left="0">
                <State>
                    <Action code="("/>                      <Action code=")"/>
                    <Action text="↚" key="67"/>         <Action code="-"/>
                    <Action code="*"/>                      <Action code="/"/>
                </State>
                <State name="shift">
                    <Action code="&lt;"/>                   <Action code="&gt;"/>
                    <Action code="{"/>                      <Action code="}"/>
                    <Action code="["/>                      <Action code="]"/>
                </State>
                <State name="spec">
                    <Action text="L0" layout="0"/>          <Action text="L1" layout="1"/>
                    <Action text="L2" layout="2"/>          <Action text="L3" layout="3"/>
                    <Action text="L4" layout="4"/>          <Action text="L5" layout="5"/>
                </State>
            </Key>

            <Key name="a-o">
                <State>
                    <Action code="_"/>                      <Action code="a"/>                      <Action code="p"/>
                    <Action code="o"/>                      <Action code="e"/>                      <Action code="u"/>
                    <Action code="q"/>                      <Action code="j"/>                      <Action code="k"/>
                </State>
                <State name="shift">
                    <Action code="_"/>                      <Action code="A"/>                      <Action code="P"/>
                    <Action code="O"/>                      <Action code="E"/>                      <Action code="U"/>
                    <Action code="Q"/>                      <Action code="J"/>                      <Action code="K"/>
                </State>
                <State name="grave">
                    <Action code="à"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action code="ì"/>
                    <Action/>                               <Action code="ơ"/>                      <Action code="ò"/>
                </State>
                <State name="shift,grave">
                    <Action code="À"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action code="Ì"/>
                    <Action/>                               <Action code="Ơ"/>                      <Action code="Ò"/>
                </State>
                <State name="caret">
                    <Action code="â"/>                      <Action/>                               <Action code="ĉ"/>
                    <Action/>                               <Action/>                               <Action code="î"/>
                    <Action/>                               <Action code="ő"/>                      <Action code="ô"/>
                </State>
                <State name="shift,caret">
                    <Action code="Â"/>                      <Action/>                               <Action code="Ĉ"/>
                    <Action/>                               <Action/>                               <Action code="Î"/>
                    <Action/>                               <Action code="Ő"/>                      <Action code="Ô"/>
                </State>
                <State name="acute">
                    <Action code="á"/>                      <Action/>                               <Action code="ć"/>
                    <Action/>                               <Action/>                               <Action code="í"/>
                    <Action/>                               <Action code="ń"/>                      <Action code="ó"/>
                </State>
                <State name="shift,acute">
                    <Action code="Á"/>                      <Action/>                               <Action code="Ć"/>
                    <Action/>                               <Action/>                               <Action code="Í"/>
                    <Action/>                               <Action code="Ń"/>                      <Action code="Ó"/>
                </State>
                <State name="diae">
                    <Action code="ä"/>                      <Action code="æ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="ï"/>
                    <Action/>                               <Action code="œ"/>                      <Action code="ö"/>
                </State>
                <State name="shift,diae">
                    <Action code="Ä"/>                      <Action code="Æ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="Ï"/>
                    <Action/>                               <Action code="Œ"/>                      <Action code="Ö"/>
                </State>
                <State name="tilde">
                    <Action code="ã"/>                      <Action code="å"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="ĩ"/>
                    <Action/>                               <Action code="ñ"/>                      <Action code="õ"/>
                </State>
                <State name="shift,tilde">
                    <Action code="Ã"/>                      <Action code="Å"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="Ĩ"/>
                    <Action/>                               <Action code="Ñ"/>                      <Action code="Õ"/>
                </State>
                <State name="hacek">
                    <Action code="ǎ"/>                      <Action/>                               <Action code="č"/>
                    <Action code="ğ"/>                      <Action/>                               <Action code="ǐ"/>
                    <Action/>                               <Action code="ň"/>                      <Action code="ǒ"/>
                </State>
                <State name="shift,hacek">
                    <Action code="Ǎ"/>                      <Action/>                               <Action code="Č"/>
                    <Action code="Ğ"/>                      <Action/>                               <Action code="Ǐ"/>
                    <Action/>                               <Action code="Ň"/>                      <Action code="Ǒ"/>
                </State>
                <State name="misc">
                    <Action code="ā"/>                      <Action/>                               <Action code="ċ"/>
                    <Action code="ġ"/>                      <Action code="ħ"/>                      <Action code="ī"/>
                    <Action/>                               <Action code="ø"/>                      <Action code="ō"/>
                </State>
                <State name="shift,misc">
                    <Action code="Ā"/>                      <Action/>                               <Action code="Ċ"/>
                    <Action code="Ġ"/>                      <Action code="Ħ"/>                      <Action code="Ī"/>
                    <Action/>                               <Action code="Ø"/>                      <Action code="Ō"/>
                </State>
                <State name="spec">
                    <Action code="ą"/>                      <Action/>                               <Action code="ç"/>
                    <Action/>                               <Action code="ı"/>                      <Action code="į"/>
                    <Action/>                               <Action code="ņ"/>                      <Action/>
                </State>
                <State name="shift,spec">
                    <Action code="Ą"/>                      <Action/>                               <Action code="Ç"/>
                    <Action/>                               <Action code="I"/>                      <Action code="Į"/>
                    <Action/>                               <Action code="Ņ"/>                      <Action/>
                </State>
            </Key>

            <Key name="d-r">
                <State>
                    <Action code="g"/>                      <Action code="f"/>                      <Action code="y"/>
                    <Action code="h"/>                      <Action code="d"/>                      <Action code="i"/>
                    <Action code="m"/>                      <Action code="b"/>                      <Action code="x"/>
                </State>
                <State name="shift">
                    <Action code="G"/>                      <Action code="F"/>                      <Action code="Y"/>
                    <Action code="H"/>                      <Action code="D"/>                      <Action code="I"/>
                    <Action code="M"/>                      <Action code="B"/>                      <Action code="X"/>
                </State>
                <State name="grave">
                    <Action/>                               <Action code="è"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="ł"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,grave">
                    <Action/>                               <Action code="È"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="Ł"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="caret">
                    <Action/>                               <Action code="ê"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,caret">
                    <Action/>                               <Action code="Ê"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="acute">
                    <Action/>                               <Action code="é"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="ĺ"/>
                    <Action/>                               <Action/>                               <Action code="ŕ"/>
                </State>
                <State name="shift,acute">
                    <Action/>                               <Action code="É"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action code="Ĺ"/>
                    <Action/>                               <Action/>                               <Action code="Ŕ"/>
                </State>
                <State name="diae">
                    <Action/>                               <Action code="ë"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,diae">
                    <Action/>                               <Action code="Ë"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="tilde">
                    <Action/>                               <Action code="ẽ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,tilde">
                    <Action/>                               <Action code="Ẽ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="hacek">
                    <Action code="ď"/>                      <Action code="ě"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,hacek">
                    <Action code="Ď"/>                      <Action code="Ě"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="misc">
                    <Action code="þ"/>                      <Action code="ē"/>                      <Action code="ė"/>
                    <Action/>                               <Action/>                               <Action code="ľ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,misc">
                    <Action code="Þ"/>                      <Action code="Ē"/>                      <Action code="Ė"/>
                    <Action/>                               <Action/>                               <Action code="Ľ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="spec">
                    <Action/>                               <Action code="ę"/>                      <Action/>
                    <Action/>                               <Action code="ķ"/>                      <Action code="ļ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action code="Ę"/>                      <Action/>
                    <Action/>                               <Action code="Ķ"/>                      <Action code="Ļ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
            </Key>

            <Key name="nav">
                <State>
                    <Action code="c"/>                      <Action code="r"/>                      <Action code="l"/>
                    <Action code="t"/>                      <Action code="n"/>                      <Action code="s"/>
                    <Action code="w"/>                      <Action code="v"/>                      <Action code="z"/>
                </State>
                <State name="shift">
                    <Action code="C"/>                      <Action code="R"/>                      <Action code="L"/>
                    <Action code="T"/>                      <Action code="N"/>                      <Action code="S"/>
                    <Action code="W"/>                      <Action code="V"/>                      <Action code="Z"/>
                </State>
                <State name="spec">
                    <Action/>                               <Action text="↟" key="92"/>             <Action/>
                    <Action text="↞" code="%1b[H"/>         <Action text="╳" key="23"/>             <Action text="↠" code="%1b[F"/>
                    <Action/>                               <Action text="↡" key="93"/>             <Action/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action text="↟" code="%1b[5;2~"/>      <Action/>
                    <Action text="↞" code="%1b[1;2H"/>      <Action/>                               <Action text="↠" code="%1b[1;2F"/>
                    <Action/>                               <Action text="↡" code="%1b[6;2~"/>      <Action/>
                </State>
            </Key>

            <Key name="marks" has_right="0">
                <State>
                    <Action code="$"/>                      <Action code="%40"/><!-- @ -->
                    <Action code="'"/>                      <Action code="&quot;"/>
                    <Action code="%3f"/><!-- ? -->          <Action code="!"/>
                </State>
                <State name="shift">
                    <Action code="^"/>                      <Action code="~"/>
                    <Action code="`"/>                      <Action code="%23"/><!-- # -->
                    <Action code="%5C"/><!-- \ -->          <Action code="|"/>
                </State>
                <State name="spec">
                    <Action text="↰" cmd="selectStart"/>    <Action text="↱" cmd="selectEnd"/>
                    <Action/>                               <Action text="▒" cmd="selectAll"/>
                    <Action code="¿"/>                      <Action code="¡"/>
                </State>
            </Key>

        </Row>

        <Row name="bottom" has_bottom="0">

            <Key name="misc" has_left="0">
                <State>
                    <Action code="%25"/><!-- % -->          <Action code="="/>
                    <Action text="⇧" mod="shift"/>          <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="shift">
                    <Action code="&amp;"/>                  <Action text="H" mod="hide"/>
                    <Action text="⇪" lock="shift"/>         <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="spec">
                    <Action text="E" code="%1b"/><!--esc--> <Action/>
                    <Action text="⇧" mod="shift"/>          <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action/>
                    <Action/>                               <Action text="C" key="23" isSpecial="1"/>
                </State>
            </Key>

            <Key name="s-_">
                <State>
                    <Action code=";"/>                      <Action text="↑" key="19"/>             <Action code=":"/>
                    <Action text="←" key="21"/>             <Action text="↓" key="20"/>             <Action text="→" key="22"/>
                </State>
                <State name="shift">
                    <Action/>                               <Action text="↑" code="%1b[1;2A"/>      <Action/>
                    <Action text="←" code="%1b[1;2D"/>      <Action text="↓" code="%1b[1;2B"/>                               <Action text="→" code="%1b[1;2C"/>
                </State>
                <State name="grave">
                    <Action/>                               <Action code="ư"/>                      <Action code="ù"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,grave">
                    <Action/>                               <Action code="Ư"/>                      <Action code="Ù"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="caret">
                    <Action/>                               <Action code="ű"/>                      <Action code="û"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,caret">
                    <Action/>                               <Action code="Ű"/>                      <Action code="Û"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="acute">
                    <Action code="ś"/>                      <Action/>                               <Action code="ú"/>
                    <Action code="ý"/>                      <Action code="ź"/>                      <Action/>
                </State>
                <State name="shift,acute">
                    <Action code="Ś"/>                      <Action/>                               <Action code="Ú"/>
                    <Action code="Ý"/>                      <Action code="Ź"/>                      <Action/>
                </State>
                <State name="diae">
                    <Action/>                               <Action/>                               <Action code="ü"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,diae">
                    <Action/>                               <Action/>                               <Action code="Ü"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="tilde">
                    <Action/>                               <Action code="ů"/>                      <Action code="ũ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,tilde">
                    <Action/>                               <Action code="Ů"/>                      <Action code="Ũ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="hacek">
                    <Action code="š"/>                      <Action code="ť"/>                      <Action code="ǔ"/>
                    <Action/>                               <Action code="ž"/>                      <Action/>
                </State>
                <State name="shift,hacek">
                    <Action code="Š"/>                      <Action code="Ť"/>                      <Action code="Ǔ"/>
                    <Action/>                               <Action code="Ž"/>                      <Action/>
                </State>
                <State name="misc">
                    <Action code="ß"/>                      <Action code="ð"/>                      <Action code="ū"/>
                    <Action/>                               <Action code="ż"/>                      <Action code="ů"/>
                </State>
                <State name="shift,misc">
                    <Action code="ß"/>                      <Action code="Ð"/>                      <Action code="Ū"/>
                    <Action/>                               <Action code="Ż"/>                      <Action code="Ů"/>
                </State>
                <State name="spec">
                    <Action code="ş"/>                      <Action code="ţ"/>                      <Action code="ų"/>
                    <Action code="¥"/>                      <Action code="€"/>                      <Action code="£"/>
                </State>
                <State name="shift,spec">
                    <Action code="Ş"/>                      <Action code="Ţ"/>                      <Action code="Ų"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
            </Key>

            <Key name="v-spaces">
                <State>
                    <Action code=","/>                      <Action text="↲" key="66"/>             <Action code="."/>
                    <Action code="%2b"/> <!-- + -->            <Action text="▆" key="62"/>             <Action text="⇨" key="61"/>
                </State>
                <State name="shift">
                    <Action code=","/>                      <Action text="↲" key="66"/>             <Action code="."/>
                    <Action text="↚" key="67"/>             <Action text="▆" key="62"/>             <Action text="⇨" key="61"/>
                </State>
                <State name="spec">
                    <Action text="X" cmd="cut"/>            <Action/>                               <Action text="P" cmd="paste"/>
                    <Action text="↛" code="%1b[3~"/>        <Action text="C" cmd="copy"/>           <Action text="↱" code="%1b[2~"/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action/>                               <Action/>
                    <Action text="↛" code="%1b[3;2~"/>      <Action/>                               <Action text="↱" code="%1b[2;2~"/>
                </State>
            </Key>

            <Key name="0-7">
                <State>
                    <Action code="0"/>                      <Action code="1"/>                      <Action code="2"/>
                    <Action code="5"/>                      <Action code="6"/>                      <Action code="7"/>
                </State>
                <State name="spec">
                    <Action text="Ⅰ" code="%1b[OP"/>        <Action text="Ⅱ" code="%1b[OQ"/>        <Action text="Ⅲ" code="%1b[OR"/>
                    <Action text="Ⅵ" code="%1b[17~"/>       <Action text="Ⅶ" code="%1b[18~"/>       <Action text="Ⅷ" code="%1b[19~"/>
                </State>
                <State name="shift,spec">
                    <Action text="Ⅰ" code="%1b[1;2P"/>      <Action text="Ⅱ" code="%1b[1;2Q"/>      <Action text="Ⅲ" code="%1b[1;2R"/>
                    <Action text="Ⅵ" code="%1b[17;2~"/>     <Action text="Ⅶ" code="%1b[18;2~"/>     <Action text="Ⅷ" code="%1b[19;2~"/>
                </State>
            </Key>

            <Key name="3-9" has_right="0">
                <State>
                    <Action code="3"/>                      <Action code="4"/>
                    <Action code="8"/>                      <Action code="9"/>
                </State>
                <State name="spec">
                    <Action text="Ⅳ" code="%1b[OS"/>        <Action text="Ⅴ" code="%1b[15~"/>
                    <Action text="Ⅸ" code="%1b[20~"/>       <Action text="Ⅹ" code="%1b[21~"/>
                </State>
                <State name="shift,spec">
                    <Action text="Ⅳ" code="%1b[1;2S"/>      <Action text="Ⅴ" code="%1b[15;2~"/>
                    <Action text="Ⅸ" code="%1b[20;2~"/>     <Action text="Ⅹ" code="%1b[21;2~"/>
                </State>
            </Key>

        </Row>

    </Layout>

    <Layout name="horizontal">
        <!-- global swipes -->
        <Action mod="grave"/>   <Action mod="caret"/>   <Action mod="acute"/>
        <Action mod="diae"/>    <Action/>               <Action mod="misc"/>
        <Action mod="tilde"/>   <Action mod="hacek"/>   <Action mod="spec"/>

        <Row name="top" has_top="0">

            <Key name="a-l">
                <State>
                    <Action code="a"/>                      <Action code="b"/>                      <Action code="c"/>
                    <Action code="j"/>                      <Action code="k"/>                      <Action code="l"/>
                </State>
                <State name="shift">
                    <Action code="A"/>                      <Action code="B"/>                      <Action code="C"/>
                    <Action code="J"/>                      <Action code="K"/>                      <Action code="L"/>
                </State>
                <State name="grave">
                    <Action code="à"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action code="ł"/>
                </State>                                                                        
                <State name="shift,grave">
                    <Action code="À"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action code="Ł"/>
                </State>                                                                        
                <State name="caret">                                                            
                    <Action code="â"/>                      <Action/>                               <Action code="ĉ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,caret">                                                            
                    <Action code="Â"/>                      <Action/>                               <Action code="Ĉ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="acute">                                                            
                    <Action code="á"/>                      <Action/>                               <Action code="ć"/>
                    <Action/>                               <Action/>                               <Action code="ĺ"/>
                </State>                                                                        
                <State name="shift,acute">                                                            
                    <Action code="Á"/>                      <Action/>                               <Action code="Ć"/>
                    <Action/>                               <Action/>                               <Action code="Ĺ"/>
                </State>                                                                        
                <State name="diae">                                                             
                    <Action code="ä"/>                      <Action code="æ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,diae">                                                             
                    <Action code="Ä"/>                      <Action code="Æ"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="tilde">                                                            
                    <Action code="ã"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,tilde">                                                            
                    <Action code="Ã"/>                      <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="hacek">                                                            
                    <Action code="ǎ"/>                      <Action/>                               <Action code="č"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,hacek">                                                            
                    <Action code="Ǎ"/>                      <Action/>                               <Action code="Č"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="misc">                                                             
                    <Action code="ā"/>                      <Action code="å"/>                      <Action code="ċ"/>
                    <Action/>                               <Action/>                               <Action code="ľ"/>
                </State>                                                                        
                <State name="shift,misc">                                                             
                    <Action code="Ā"/>                      <Action code="Å"/>                      <Action code="Ċ"/>
                    <Action/>                               <Action/>                               <Action code="Ľ"/>
                </State>                                                                        
                <State name="spec">                                                             
                    <Action code="ą"/>                      <Action/>                               <Action code="ç"/>
                    <Action/>                               <Action code="ķ"/>                      <Action code="ļ"/>
                </State>
                <State name="shift,spec">                                                             
                    <Action code="Ą"/>                      <Action/>                               <Action code="Ç"/>
                    <Action/>                               <Action code="Ķ"/>                      <Action code="Ļ"/>
                </State>
            </Key>

            <Key name="d-o">
                <State>
                    <Action code="d"/>                      <Action code="e"/>                      <Action code="f"/>
                    <Action code="m"/>                      <Action code="n"/>                      <Action code="o"/>
                </State>
                <State name="shift">
                    <Action code="D"/>                      <Action code="E"/>                      <Action code="F"/>
                    <Action code="M"/>                      <Action code="N"/>                      <Action code="O"/>
                </State>
                <State name="grave">
                    <Action/>                               <Action code="è"/>                      <Action/>
                    <Action/>                               <Action code="ơ"/>                      <Action code="ò"/>
                </State>
                <State name="shift,grave">
                    <Action/>                               <Action code="È"/>                      <Action/>
                    <Action/>                               <Action code="Ơ"/>                      <Action code="Ò"/>
                </State>
                <State name="caret">
                    <Action/>                               <Action code="ê"/>                      <Action/>
                    <Action/>                               <Action code="ő"/>                      <Action code="ô"/>
                </State>
                <State name="shift,caret">
                    <Action/>                               <Action code="Ê"/>                      <Action/>
                    <Action/>                               <Action code="Ő"/>                      <Action code="Ô"/>
                </State>
                <State name="acute">
                    <Action/>                               <Action code="é"/>                      <Action/>
                    <Action/>                               <Action code="ń"/>                      <Action code="ó"/>
                </State>
                <State name="shift,acute">
                    <Action/>                               <Action code="É"/>                      <Action/>
                    <Action/>                               <Action code="Ń"/>                      <Action code="Ó"/>
                </State>
                <State name="diae">
                    <Action/>                               <Action code="ë"/>                      <Action/>
                    <Action/>                               <Action code="œ"/>                      <Action code="ö"/>
                </State>
                <State name="shift,diae">
                    <Action/>                               <Action code="Ë"/>                      <Action/>
                    <Action/>                               <Action code="Œ"/>                      <Action code="Ö"/>
                </State>
                <State name="tilde">
                    <Action/>                               <Action code="ẽ"/>                      <Action/>
                    <Action/>                               <Action code="ñ"/>                      <Action code="õ"/>
                </State>
                <State name="shift,tilde">
                    <Action/>                               <Action code="Ẽ"/>                      <Action/>
                    <Action/>                               <Action code="Ñ"/>                      <Action code="Õ"/>
                </State>
                <State name="hacek">
                    <Action code="ď"/>                      <Action code="ě"/>                      <Action/>
                    <Action/>                               <Action code="ň"/>                      <Action code="ǒ"/>
                </State>
                <State name="shift,hacek">
                    <Action code="Ď"/>                      <Action code="Ě"/>                      <Action/>
                    <Action/>                               <Action code="Ň"/>                      <Action code="Ǒ"/>
                </State>
                <State name="misc">
                    <Action code="þ"/>                      <Action code="ē"/>                      <Action code="ė"/>
                    <Action/>                               <Action code="ø"/>                      <Action code="ō"/>
                </State>
                <State name="shift,misc">
                    <Action code="Þ"/>                      <Action code="Ē"/>                      <Action code="Ė"/>
                    <Action/>                               <Action code="Ø"/>                      <Action code="Ō"/>
                </State>
                <State name="spec">
                    <Action/>                               <Action code="ę"/>                      <Action/>
                    <Action/>                               <Action code="ņ"/>                      <Action/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action code="Ę"/>                      <Action/>
                    <Action/>                               <Action code="Ņ"/>                      <Action/>
                </State>
            </Key>

            <Key name="g-r">
                <State>
                    <Action code="g"/>                      <Action code="h"/>                      <Action code="i"/>
                    <Action code="p"/>                      <Action code="q"/>                      <Action code="r"/>
                </State>
                <State name="shift">
                    <Action code="G"/>                      <Action code="H"/>                      <Action code="I"/>
                    <Action code="P"/>                      <Action code="Q"/>                      <Action code="R"/>
                </State>
                <State name="grave">
                    <Action/>                               <Action/>                               <Action code="ì"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,grave">
                    <Action/>                               <Action/>                               <Action code="Ì"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="caret">                                                            
                    <Action/>                               <Action/>                               <Action code="î"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,caret">                                                            
                    <Action/>                               <Action/>                               <Action code="Î"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="acute">                                                            
                    <Action/>                               <Action/>                               <Action code="í"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,acute">                                                            
                    <Action/>                               <Action/>                               <Action code="Í"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="diae">                                                             
                    <Action/>                               <Action/>                               <Action code="ï"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,diae">                                                             
                    <Action/>                               <Action/>                               <Action code="Ï"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="tilde">                                                            
                    <Action/>                               <Action/>                               <Action code="ĩ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,tilde">                                                            
                    <Action/>                               <Action/>                               <Action code="Ĩ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="hacek">                                                            
                    <Action code="ğ"/>                      <Action/>                               <Action code="ǐ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,hacek">                                                            
                    <Action code="Ğ"/>                      <Action/>                               <Action code="Ǐ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="misc">                                                             
                    <Action code="ġ"/>                      <Action code="ħ"/>                      <Action code="ī"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="shift,misc">                                                             
                    <Action code="Ġ"/>                      <Action code="Ħ"/>                      <Action code="Ī"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                        
                <State name="spec">                                                             
                    <Action/>                               <Action code="ı"/>                      <Action code="į"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,spec">                                                             
                    <Action/>                               <Action code="I"/>                      <Action code="Į"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
            </Key>

            <Key name="nav down">
                <State>
                    <Action code="$"/>                      <Action code="%40"/><!-- @ -->          <Action code="%25"/><!-- % -->
                    <Action code=","/>                      <Action text="↓" key="20"/>             <Action code="."/>
                </State>
                <State name="shift">
                    <Action code="^"/>                      <Action code="~"/>                      <Action code="&amp;"/>
                    <Action/>                               <Action text="↓" code="%1b[1;2B"/>      <Action/>
                </State>
                <State name="spec">
                    <Action/>                               <Action text="▒" cmd="selectAll"/>      <Action/>
                    <Action/>                               <Action text="↡" key="93"/>             <Action/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action text="↡" code="%1b[6;2~"/>      <Action/>
                </State>
            </Key>

            <Key name="math ops">
                <State>
                    <Action code="("/>                      <Action code="%2b"/><!-- + -->          <Action code="*"/>
                    <Action code=")"/>                      <Action code="-"/>                      <Action code="/"/>
                </State>
                <State name="shift">
                    <Action code="&lt;"/><!-- < -->         <Action code="{"/>                      <Action code="["/>
                    <Action code="&gt;"/><!-- > -->         <Action code="}"/>                      <Action code="]"/>
                </State>
                <State name="spec">
                    <Action text="L0" layout="0"/>          <Action text="L1" layout="1"/>          <Action text="L2" layout="2"/>
                    <Action text="L3" layout="3"/>          <Action text="L4" layout="4"/>          <Action text="L5" layout="5"/>
                </State>
            </Key>

            <Key name="marks" has_right="0">
                <State>
                    <Action code="'"/>                      <Action code="&quot;"/><!-- " -->
                    <Action code="%3f"/><!-- ? -->          <Action code="!"/>
                </State>
                <State name="shift">
                    <Action code="`"/>                      <Action code="%23"/><!-- # -->
                    <Action code="%5C"/><!-- \ -->          <Action code="|"/>
                </State>
                <State name="spec">
                    <Action text="↰" cmd="selectStart"/>    <Action text="↱" cmd="selectEnd"/>
                    <Action code="¿"/>                      <Action code="¡"/>
                </State>
            </Key>

        </Row>

        <Row name="bottom" has_bottom="0">

            <Key name="s-u misc">
                <State>
                    <Action code="s"/>                      <Action code="t"/>                      <Action code="u"/>
                    <Action code="="/>                      <Action text="⇧" mod="shift"/>          <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="shift">
                    <Action code="S"/>                      <Action code="T"/>                      <Action code="U"/>
                    <Action text="H" mod="hide"/>           <Action text="⇪" lock="shift"/>         <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="spec">
                    <Action code="ş"/>                      <Action code="ţ"/>                      <Action code="ų"/>
                    <Action text="E" code="%1b"/><!--esc--> <Action text="⇧" mod="shift"/>          <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action/>                               <Action/>
                    <Action/>                               <Action/>                               <Action text="C" key="23" isSpecial="1"/>
                </State>
                <State name="grave">
                    <Action/>                               <Action code="ư"/>                      <Action code="ù"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="shift,grave">
                    <Action/>                               <Action code="Ư"/>                      <Action code="Ù"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="caret">                                                              
                    <Action/>                               <Action code="ű"/>                      <Action code="û"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="shift,caret">                                                              
                    <Action/>                               <Action code="Ű"/>                      <Action code="Û"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="diae">                                                               
                    <Action/>                               <Action/>                               <Action code="ü"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="shift,diae">                                                               
                    <Action/>                               <Action/>                               <Action code="Ü"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="tilde">                                                              
                    <Action/>                               <Action/>                               <Action code="ũ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="shift,tilde">                                                              
                    <Action/>                               <Action/>                               <Action code="Ũ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="hacek">                                                              
                    <Action code="š"/>                      <Action code="ť"/>                      <Action code="ǔ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="shift,hacek">                                                              
                    <Action code="Š"/>                      <Action code="Ť"/>                      <Action code="Ǔ"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>                                                                          
                <State name="misc">                                                               
                    <Action code="ß"/>                      <Action code="ð"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,misc">                                                               
                    <Action code="ß"/>                      <Action code="Ð"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
            </Key>

            <Key name="v-x">
                <State>
                    <Action code="v"/>                      <Action code="w"/>                      <Action code="x"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift">
                    <Action code="V"/>                      <Action code="W"/>                      <Action code="X"/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="spec">
                    <Action/>                               <Action/>                               <Action/>
                    <Action code="¥"/>                      <Action code="€"/>                      <Action code="£"/>
                </State>
            </Key>

            <Key name="y-spaces">
                <State>
                    <Action code="y"/>                      <Action code="z"/>                      <Action code="_"/>
                    <Action text="↚" key="67"/>             <Action text="▆" key="62"/>             <Action text="⇨" key="61"/>
                </State>
                <State name="shift">
                    <Action code="Y"/>                      <Action code="Z"/>                      <Action/>
                    <Action text="↚" key="67"/>             <Action text="▆" key="62"/>             <Action text="⇨" key="61"/>
                </State>
                <State name="spec">
                    <Action text="X" cmd="cut"/>            <Action/>                               <Action text="P" cmd="paste"/>
                    <Action text="↛" code="%1b[3~"/>        <Action text="C" cmd="copy"/>           <Action text="↱" code="%1b[2~"/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action/>                               <Action/>
                    <Action text="↛" code="%1b[3;2~"/>      <Action/>                               <Action text="↱" code="%1b[2;2~"/>
                </State>
                <State name="acute">
                    <Action code="ý"/>                      <Action code="ź"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,acute">
                    <Action code="Ý"/>                      <Action code="Ź"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="hacek">
                    <Action/>                               <Action code="ž"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,hacek">
                    <Action/>                               <Action code="Ž"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="misc">
                    <Action/>                               <Action code="ż"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
                <State name="shift,misc">
                    <Action/>                               <Action code="Ż"/>                      <Action/>
                    <Action/>                               <Action/>                               <Action/>
                </State>
            </Key>

            <Key name="nav">
                <State>
                    <Action code=";"/>                      <Action text="↑" key="19"/>             <Action code=":"/>
                    <Action text="←" key="21"/>             <Action text="↲" key="66"/>             <Action text="→" key="22"/>
                </State>
                <State name="shift">
                    <Action/>                               <Action text="↑" code="%1b[1;2A"/>      <Action/>
                    <Action text="←" code="%1b[1;2D"/>      <Action/>                               <Action text="→" code="%1b[1;2C"/>
                </State>
                <State name="spec">
                    <Action/>                               <Action text="↟" key="92"/>             <Action/>
                    <Action text="↞" code="%1b[H"/>         <Action text="╳" key="23"/>             <Action text="↠" code="%1b[F"/>
                </State>
                <State name="shift,spec">
                    <Action/>                               <Action text="↟" code="%1b[5;2~"/>      <Action/>
                    <Action text="↞" code="%1b[1;2H"/>      <Action/>                               <Action text="↠" code="%1b[1;2F"/>
                </State>
            </Key>

            <Key name="0-7">
                <State>
                    <Action code="0"/>                      <Action code="1"/>                      <Action code="2"/>
                    <Action code="5"/>                      <Action code="6"/>                      <Action code="7"/>
                </State>
                <State name="spec">
                    <Action text="Ⅰ" code="%1b[OP"/>        <Action text="Ⅱ" code="%1b[OQ"/>        <Action text="Ⅲ" code="%1b[OR"/>
                    <Action text="Ⅵ" code="%1b[17~"/>       <Action text="Ⅶ" code="%1b[18~"/>       <Action text="Ⅷ" code="%1b[19~"/>
                </State>
                <State name="shift,spec">
                    <Action text="Ⅰ" code="%1b[1;2P"/>      <Action text="Ⅱ" code="%1b[1;2Q"/>      <Action text="Ⅲ" code="%1b[1;2R"/>
                    <Action text="Ⅵ" code="%1b[17;2~"/>     <Action text="Ⅶ" code="%1b[18;2~"/>     <Action text="Ⅷ" code="%1b[19;2~"/>
                </State>
            </Key>

            <Key name="3-9" has_right="0">
                <State>
                    <Action code="3"/>                      <Action code="4"/>
                    <Action code="8"/>                      <Action code="9"/>
                </State>
                <State name="spec">
                    <Action text="Ⅳ" code="%1b[OS"/>        <Action text="Ⅴ" code="%1b[15~"/>
                    <Action text="Ⅸ" code="%1b[20~"/>       <Action text="Ⅹ" code="%1b[21~"/>
                </State>
                <State name="shift,spec">
                    <Action text="Ⅳ" code="%1b[1;2S"/>      <Action text="Ⅴ" code="%1b[15;2~"/>
                    <Action text="Ⅸ" code="%1b[20;2~"/>     <Action text="Ⅹ" code="%1b[21;2~"/>
                </State>
            </Key>

        </Row>

    </Layout>

</CompassKeyboard>

<!-- unsupported by android charsets:
        Azeri:  ə,Ə     suggested: ä,Ä
        Khakas: ƣ,Ƣ     suggested: ğ,Ğ
        Tatar:  ƶ,Ƶ     suggested: j,J
     
     could be supported but doesn't seem to be worth spoiling the layout:
                Normal  Shift       Ctrl        Ctrl+Shift
        F11 "Ⅺ" %1b[22~ %1b[22;2~   %1b[22;5~   %1b[22;6~
        F12 "Ⅻ" %1b[23~ %1b[23;2~   %1b[23;5~   %1b[23;6~ -->
<!-- vim: set ai sw=4 ts=4 et: -->