keyremap4macbook/private.xml @ e3f758e82529

maor
author Steve Losh <steve@stevelosh.com>
date Wed, 20 May 2015 22:05:20 -0400
parents 89f02592c52e
children (none)
<?xml version="1.0"?>
<root>
    <list>
        <item>
            <name>Space Cadet Mode</name>
            <appendix>This mode emulates a few of the features of the Space Cadet keyboard.</appendix>
            <appendix>It also adds a few other helpful mappings.</appendix>
            <appendix>It requires the Unicode Hex Input keyboard layout for the Greek and Math layers.</appendix>

            <item>
                <name>Force yourself to use the correct shift keys.</name>
                <identifier>space_cadet.force_correct_shifts</identifier>

                <autogen>--KeyToKey-- KeyCode::Q, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::W, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::E, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::R, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::T, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::A, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::S, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::D, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::F, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::G, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::Z, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::X, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::C, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::V, ModifierFlag::SHIFT_L, KeyCode::VK_NONE</autogen>

                <autogen>--KeyToKey-- KeyCode::Y,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::U,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::I,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::O,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::P,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::H,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::J,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::K,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::L,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::SEMICOLON, ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::N,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::M,         ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::COMMA,     ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::DOT,       ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
                <autogen>--KeyToKey-- KeyCode::QUOTE,     ModifierFlag::SHIFT_R, KeyCode::VK_NONE</autogen>
            </item>
            <item>
                <name>Shifts to Parentheses</name>
                <appendix>Shifts, when pressed alone, type parentheses.</appendix>
                <appendix>When used with other keys they're normal shifts.</appendix>

                <identifier>space_cadet.shifts_to_parens</identifier>

                <!-- This is the basic mapping. -->
                <autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_R | ModifierFlag::NONE, KeyCode::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen>
                <autogen>--KeyOverlaidModifier-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_L | ModifierFlag::NONE, KeyCode::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_R</autogen>

                <!--
                    Remap the "rolls" of () and )( because it's too easy to hit one
                    before finishing the other, and there's no other reason to be
                    pressing both shift keys at once anyway
                -->
                <autogen>--KeyToKey-- KeyCode::SHIFT_L, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L</autogen>
                <autogen>--KeyToKey-- KeyCode::SHIFT_R, ModifierFlag::SHIFT_L, KeyCode::KEY_9, ModifierFlag::SHIFT_L, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen>

                <!--
                    Remap Rshift+Space to ') ', because when typing an end paren and
                    then a space I tend to hit space before I let go of rshift.
                -->
                <autogen>--KeyToKey-- KeyCode::SPACE, ModifierFlag::SHIFT_R, KeyCode::KEY_0, ModifierFlag::SHIFT_L, KeyCode::SPACE</autogen>
            </item>
            <item>
                <name>Remap Held Tab to Hyper</name>
                <appendix>OS X doesn't have a Hyper. This maps Held Tab to Control + Shift + Option + Command.</appendix>
                <appendix>You can use this key in your own custom keyboard shortcuts you create in apps.</appendix>

                <identifier>space_cadet.held_tab_to_hyper</identifier>

                <autogen>
                    --KeyOverlaidModifier--
                    KeyCode::TAB,
                    ModifierFlag::NONE,

                    KeyCode::COMMAND_L,
                    ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,

                    KeyCode::TAB
                </autogen>
            </item>
            <item>
                <name>Remap Left Control to Hyper</name>
                <appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix>
                <appendix>You can use this key in your own custom keyboard shortcuts you create in apps.</appendix>

                <identifier>space_cadet.left_control_to_hyper</identifier>

                <autogen>
                    --KeyToKey--
                    KeyCode::F19,

                    KeyCode::COMMAND_L,
                    ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
                </autogen>
            </item>
            <item>
                <name>Restore [Shift-]Opt-(Left/Right)</name>
                <appendix>The Unicode Hex Input keyboard layout disables these keys for some reason.</appendix>

                <identifier>space_cadet.fix_opt_arrows</identifier>

                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, VK_OPTION | VK_SHIFT,

                    KeyCode::B,
                    ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, VK_OPTION,

                    KeyCode::B,
                    ModifierFlag::OPTION_L | ModifierFlag::CONTROL_L
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, VK_OPTION | VK_SHIFT,

                    KeyCode::F,
                    ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, VK_OPTION,

                    KeyCode::F,
                    ModifierFlag::OPTION_L | ModifierFlag::CONTROL_L
                </autogen>
            </item>

            <item>
                <name>Math Layer</name>
                <appendix>Right Control key activates the Math key layer.</appendix>

                <identifier>space_cadet.math_layer</identifier>

                <autogen>
                    --KeyToKey--
                        KeyCode::CONTROL_R,
                        KeyCode::VK_STICKY_EXTRA3
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::A, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::A, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::C, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::C, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::E, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::E, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::F, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::I, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::I, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::N, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::O, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::R, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::R, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::U, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::X, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::Z, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::MINUS, ModifierFlag::EXTRA3,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::EQUAL, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::EQUAL, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::SLASH, ModifierFlag::EXTRA3,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::F, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::COMMA, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::DOT, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::DOT, ModifierFlag::EXTRA3,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::KEY_0, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::KEY_8, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BACKQUOTE, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::F, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_RIGHT, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_LEFT, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_UP, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_UP, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_CONTROL | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_SHIFT,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3 | VK_CONTROL,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::CURSOR_DOWN, ModifierFlag::EXTRA3,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


            </item>
            <item>
                <name>Greek Layer</name>
                <appendix>Right PC Application key activates the Greek key layer.</appendix>

                <identifier>space_cadet.greek_layer</identifier>

                <autogen>
                    --KeyToKey--
                    KeyCode::PC_APPLICATION,
                    KeyCode::VK_STICKY_EXTRA4
                </autogen>



                <autogen>
                    --KeyToKey--
                    KeyCode::A, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::A, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::B, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::B, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::C, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::C, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::D, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::D, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::E, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::E, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::F, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::F, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::G, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::G, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::H, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::H, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_7, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::I, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::I, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::J, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::J, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::K, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::K, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::L, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::L, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::M, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::M, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::N, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::N, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::D, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::O, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::F, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::O, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::F, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::P, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::P, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::Q, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::Q, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::R, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::R, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_1, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::S, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::S, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::T, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::T, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_4, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::U, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::U, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_5, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::V, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::V, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_2, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::W, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::W, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::X, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::X, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::E, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::Y, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::A, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::Y, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::C, ModifierFlag::OPTION_L,
                    KeyCode::KEY_8, ModifierFlag::OPTION_L,
                </autogen>


                <autogen>
                    --KeyToKey--
                    KeyCode::Z, ModifierFlag::EXTRA4 | VK_SHIFT,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::KEY_9, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                </autogen>
                <autogen>
                    --KeyToKey--
                    KeyCode::Z, ModifierFlag::EXTRA4,
                    KeyCode::KEY_0, ModifierFlag::OPTION_L,
                    KeyCode::KEY_3, ModifierFlag::OPTION_L,
                    KeyCode::B, ModifierFlag::OPTION_L,
                    KeyCode::KEY_6, ModifierFlag::OPTION_L,
                </autogen>

            </item>
        </item>
        <item>
            <name>F-Zero</name>
            <appendix>This mode makes the F key (yes, the vanilla F key) enter a separate mode when held.</appendix>
            <appendix>It's useful to add another layer to your keyboard with a super-easy key.</appendix>

            <identifier>f_zero.enable</identifier>

            <autogen>__HoldingKeyToKey__ KeyCode::F, KeyCode::F, KeyCode::VK_NONE, KeyCode::VK_MODIFIER_EXTRA2</autogen>
            <autogen>__KeyToKey__ KeyCode::H, ModifierFlag::EXTRA2, KeyCode::CURSOR_LEFT</autogen>
            <autogen>__KeyToKey__ KeyCode::J, ModifierFlag::EXTRA2, KeyCode::CURSOR_DOWN</autogen>
            <autogen>__KeyToKey__ KeyCode::K, ModifierFlag::EXTRA2, KeyCode::CURSOR_UP</autogen>
            <autogen>__KeyToKey__ KeyCode::L, ModifierFlag::EXTRA2, KeyCode::CURSOR_RIGHT</autogen>

            <!-- <autogen>__KeyToKey__ KeyCode::H, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::H</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::J, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::J</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::K, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::K</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::L, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::L</autogen> -->

            <!-- <autogen>__KeyToKey__ KeyCode::A, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::A</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::B, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::B</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::C, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::C</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::D, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::D</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::E, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::E</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::F, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::F</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::G, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::G</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::I, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::I</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::M, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::M</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::N, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::N</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::O, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::O</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::P, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::P</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::Q, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::Q</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::R, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::R</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::S, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::S</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::T, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::T</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::U, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::U</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::V, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::V</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::W, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::W</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::X, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::X</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::Y, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::Y</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::Z, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::Z</autogen> -->

            <!-- <autogen>__KeyToKey__ KeyCode::SPACE, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::SPACE</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::DELETE, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::DELETE</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::RETURN, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::RETURN</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::TAB, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::TAB</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::BACKSLASH, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::BACKSLASH</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::COMMA, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::COMMA</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::DOT, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::DOT</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::SEMICOLON, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::SEMICOLON</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::BRACKET_LEFT</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::BRACKET_RIGHT, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::BRACKET_RIGHT</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::QUOTE, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::QUOTE</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::SHIFT_R, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::SHIFT_L, ModifierFlag::EXTRA2, KeyCode::F, KeyCode::KEY_9, ModifierFlag::SHIFT_L</autogen> -->

            <!-- <autogen>__KeyOverlaidModifier__ KeyCode::D, ModifierFlag::EXTRA2, KeyCode::VK_MODIFIER_EXTRA1, KeyCode::D</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::H, ModifierFlag::EXTRA1, KeyCode::CURSOR_LEFT, ModifierFlag::OPTION_L</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::J, ModifierFlag::EXTRA1, KeyCode::CURSOR_DOWN, ModifierFlag::OPTION_L</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::K, ModifierFlag::EXTRA1, KeyCode::CURSOR_UP, ModifierFlag::OPTION_L</autogen> -->
            <!-- <autogen>__KeyToKey__ KeyCode::L, ModifierFlag::EXTRA1, KeyCode::CURSOR_RIGHT, ModifierFlag::OPTION_L</autogen> -->

        </item>
    </list>
</root>