// Keyboard layout for fun.

default partial alphanumeric_keys modifier_keys
xkb_symbols "basic"  {

    key <TLDE>	{[        grave,      asciitilde  ]};
    key <AE01>	{[            1,          exclam  ]};
    key <AE02>	{[            2,              at  ]};
    key <AE03>	{[            3,      numbersign  ]};
    key <AE04>	{[            4,          dollar  ]};
    key <AE05>	{[            5,         percent  ]};
    key <AE06>	{[            6,     asciicircum  ]};
    key <AE07>	{[            7,       ampersand  ]};
    key <AE08>	{[            8,        asterisk  ]};
    key <AE09>	{[            9,       parenleft  ]};
    key <AE10>	{[            0,      parenright  ]};
    key <AE11>	{[        minus,      underscore  ]};
    key <AE12>	{[        equal,            plus  ]};

    key <AD01>	{[        slash,        question  ]};
    key <AD02>	{[            d,               D  ]};
    key <AD03>	{[            h,               H  ]};
    key <AD04>	{[            l,               L  ]};
    key <AD05>	{[            f,               F  ]};
    key <AD06>	{[            q,               Q  ]};
    key <AD07>	{[            y,               Y  ]};
    key <AD08>	{[            g,               G  ]};
    key <AD09>	{[            p,               P  ]};
    key <AD10>	{[    semicolon,           colon  ]};
    key <AD11>	{[  bracketleft,       braceleft  ]};
    key <AD12>	{[ bracketright,      braceright  ]};
    key <BKSL>	{[    backslash,             bar  ]};
    key <BKSP>	{[        U0133,           U0132  ]}; // Swap Backspace with Caps Lock
    key <CAPS>	{[    BackSpace,        NoSymbol  ]}; // Swap Caps Lock with Backspace

    key <AC01>	{[            a,               A  ]};
    key <AC02>	{[            s,               S  ]};
    key <AC03>	{[            r,               R  ]};
    key <AC04>	{[            t,               T  ]};
    key <AC05>	{[            j,               J  ]};
    key <AC06>	{[            m,               M  ]};
    key <AC07>	{[            n,               N  ]};
    key <AC08>	{[            e,               E  ]};
    key <AC09>	{[            i,               I  ]};
    key <AC10>	{[            o,               O  ]};
    key <AC11>	{[   apostrophe,        quotedbl  ]};

    key <AB01>	{[            z,               Z  ]};
    key <AB02>	{[            x,               X  ]};
    key <AB03>	{[            v,               V  ]};
    key <AB04>	{[            c,               C  ]};
    key <AB05>	{[            b,               B  ]};
    key <AB06>	{[            k,               K  ]};
    key <AB07>	{[            u,               U  ]};
    key <AB08>	{[            w,               W  ]};
    key <AB09>	{[        comma,            less  ]};
    key <AB10>	{[       period,         greater  ]};

    key <RALT>  {[ Multi_key ]};

};
