summaryrefslogtreecommitdiff
path: root/colematik/colematik.xkb
blob: dfbad44f15e43ce777f5560c2f1ee1c0aa5111b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
xkb_keymap {
    xkb_keycodes { include "evdev+aliases(qwerty)" };
    xkb_types { include "complete" };
    xkb_compat { include "complete" };
    xkb_symbols {
        include "pc+us(colemak)"
        include "ctrl(swap_lalt_lctl)"

        name[Group1]= "Colematik";

        # Mod-DH
        key <AD05> {[ b, B ]};
        key <AC05> {[ g, G ]};
        key <AB04> {[ d, D ]};
        key <AB05> {[ v, V ]};

        key <AC06> {[ k, K ]};
        key <AB06> {[ m, M ]};
        key <AB07> {[ h, H ]};

        key <RWIN> {[ Multi_key ]};

        # NoSymbol means don't change previous definitions.

        # more intuitive German umlauts
        key <AC01> {[ NoSymbol, NoSymbol, adiaeresis, Adiaeresis ]}; # ä, Ä
        key <AD08> {[ NoSymbol, NoSymbol, udiaeresis, Udiaeresis ]}; # ü, Ü
        key <AC10> {[ NoSymbol, NoSymbol, odiaeresis, Odiaeresis ]}; # ö, Ö

        include "inet(evdev)+terminate(ctrl_alt_bksp)"
    };
    xkb_geometry { include "pc(pc105)" };
};