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 key <CAPS> { symbols[Group1]= [ 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 key <CAPS> { symbols[Group1]= [ Control_L ] };
16 key <LCTL> { symbols[Group1]= [ 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 key <AC00> { symbols[Group1]= [ Control_L ] };
25 key <AA00> { symbols[Group1]= [ 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 key <AA00> { symbols[Group1]= [ Control_L ] };
34 key <AC00> { symbols[Group1]= [ Caps_Lock ] };
37 // Right Ctrl works as Right Alt
39 xkb_symbols "ctrl_ra" {
40 key <RCTL> { symbols[Group1]= [ Alt_R ] };