ctrl revision 1.1 1 // $XKeyboardConfig: xkeyboard-config/symbols/ctrl,v 1.3 2005/12/30 01:56:21 svu Exp $
2
3 // $XFree86: xc/programs/xkbcomp/symbols/ctrl,v 3.2 2003/10/24 20:38:20 tsi Exp $
4 //
5 // eliminate the caps lock key completely (replace with control)
6 partial modifier_keys
7 xkb_symbols "nocaps" {
8 key <CAPS> { symbols[Group1]= [ Control_L, Control_L ] };
9 modifier_map Control { <CAPS>, <LCTL> };
10 };
11
12 // swap the caps lock key with the left control key
13 partial modifier_keys
14 xkb_symbols "swapcaps" {
15 key <CAPS> { symbols[Group1]= [ Control_L ] };
16 key <LCTL> { symbols[Group1]= [ Caps_Lock ] };
17 };
18
19 // moves the control key to the middle row and the caps lock
20 // to the bottom row. Only works if the geometry or keycodes
21 // file has defined appropriate aliases for the keys in question.
22 partial modifier_keys
23 xkb_symbols "ctrl_ac" {
24 key <AC00> { symbols[Group1]= [ Control_L ] };
25 key <AA00> { symbols[Group1]= [ Caps_Lock ] };
26 };
27
28 // Moves the control key to the bottom row and the caps lock
29 // to the middle row. Only works if the geometry or keycodes
30 // file has defined appropriate aliases for the keys in question.
31 partial modifier_keys
32 xkb_symbols "ctrl_aa" {
33 key <AA00> { symbols[Group1]= [ Control_L ] };
34 key <AC00> { symbols[Group1]= [ Caps_Lock ] };
35 };
36
37 // Right Ctrl works as Right Alt
38 partial modifier_keys
39 xkb_symbols "ctrl_ra" {
40 key <RCTL> { symbols[Group1]= [ Alt_R ] };
41 };
42