summaryrefslogtreecommitdiff
path: root/colematik/colematik.xkb
blob: 6926c74d2e84fa3ca79b6dc914cc568d278a2a98 (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
34
35
36
37
38
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 ]}; # ö, Ö

        # Turkish letters
        key <AC05> {[ NoSymbol, NoSymbol, gbreve, Gbreve ]};      # ğ, Ğ
        key <AC04> {[ NoSymbol, NoSymbol, scedilla, Scedilla ]};  # ş, Ş
        key <AC09> {[ NoSymbol, NoSymbol, idotless, Iabovedot ]}; # ı, İ

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