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