3 // $XFree86: xc/programs/xkbcomp/symbols/ctrl,v 3.2 2003/10/24 20:38:20 tsi Exp $
5 // eliminate the caps lock key completely (replace with control)
8 replace key <CAPS> { [ Control_L, Control_L ] };
9 modifier_map Control { <CAPS>, <LCTL> };
12 // swap the caps lock key with the left control key
14 xkb_symbols "swapcaps" {
15 replace key <CAPS> { [ Control_L ] };
16 replace key <LCTL> { [ Caps_Lock ] };
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.
23 xkb_symbols "ctrl_ac" {
24 replace key <AC00> { [ Control_L ] };
25 replace key <AA00> { [ Caps_Lock ] };
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.
32 xkb_symbols "ctrl_aa" {
33 replace key <AA00> { [ Control_L ] };
34 replace key <AC00> { [ Caps_Lock ] };
37 // Right Ctrl works as Right Alt
39 xkb_symbols "ctrl_ra" {
40 key <RCTL> { symbols[Group1]= [ Alt_R ] };