summaryrefslogtreecommitdiff
path: root/dist/xkeyboard-config/symbols/capslock
blob: 58599c6e606282540c68b2dfee01b52bb199e2fc (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
39
40
41
42
43
// $XKeyboardConfig$

default partial hidden modifier_keys
xkb_symbols "capslock" {
    replace key <CAPS> {	[	Caps_Lock		]	};
    modifier_map Lock { Caps_Lock };
};

partial hidden modifier_keys
xkb_symbols "shiftlock" {
    replace key <CAPS> {	[	Shift_Lock		]	};
    modifier_map Shift { Shift_Lock };
};

partial hidden modifier_keys
xkb_symbols "grouplock" {
    replace key <CAPS> {	[	ISO_Next_Group,	Caps_Lock	]	};
};

partial hidden modifier_keys
xkb_symbols "swapescape" {
    key <CAPS> {        [       Escape  ]       };
    key <ESC>  {        [     Caps_Lock    ]       };
};

partial hidden modifier_keys
xkb_symbols "groupshift" {
    key <CAPS> {
       type[Group1]="PC_ALT_LEVEL2",
       [       Mode_switch,    Caps_Lock       ]
    };
};

partial hidden modifier_keys
xkb_symbols "escape" {
    key <CAPS> {        [       Escape  ]       };
};

partial hidden modifier_keys
xkb_symbols "backspace" {
    key <CAPS> {        [       BackSpace  ]       };
};