home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / X11 / xkb / symbols / pc < prev    next >
Text File  |  2006-11-29  |  4KB  |  147 lines

  1. // $XKeyboardConfig: xkbdesc/symbols/pc,v 1.6 2006/09/18 11:45:12 svu Exp $
  2.  
  3. //
  4. // $XFree86: xc/programs/xkbcomp/symbols/pc,v 1.9 2003/06/09 19:59:46 dawes Exp $
  5.  
  6. default partial alphanumeric_keys modifier_keys 
  7. xkb_symbols "pc105" {
  8.  
  9.     key <ESC>  {    [ Escape            ]    };
  10.  
  11.     // the extra key on most European keyboards
  12.     key <LSGT> {    [      less,    greater,          bar,    brokenbar ]    };
  13.  
  14.     // these keys are common to all layouts
  15.     key <BKSL> {    [ backslash,    bar        ]    };
  16.     key <SPCE> {    [      space            ]    };
  17.  
  18.     include "pc(function)"
  19.     include "pc(editing)"
  20.     include "keypad(x11)"
  21.  
  22.     key <BKSP> {
  23.         type="CTRL+ALT",
  24.         symbols[Group1]= [ BackSpace,   Terminate_Server ]
  25.     };
  26.  
  27.     key  <TAB> {    [ Tab,    ISO_Left_Tab    ]    };
  28.     key <RTRN> {    [ Return    ]    };
  29.  
  30.     key <CAPS> {    [ Caps_Lock    ]    };
  31.  
  32.     key <NMLK> {    [ Num_Lock, Pointer_EnableKeys        ]    };
  33.  
  34.     key <LFSH> {    [ Shift_L    ]    };
  35.     key <LCTL> {    [ Control_L    ]    };
  36.     key <LALT> {    [ Alt_L,    Meta_L        ]    };
  37.     key <LWIN> {    [ Super_L            ]    };
  38.  
  39.     key <RTSH> {    [ Shift_R    ]    };
  40.     key <RCTL> {    [ Control_R,    Multi_key    ]    };
  41.     key <RALT> {    [ Alt_R,    Meta_R        ]    };
  42.     key <RWIN> {    [ Super_R,    Multi_key    ]    };
  43.  
  44.     key <MENU> {    [ Menu            ]    };
  45.  
  46.     // begin modifier mappings
  47.     modifier_map Shift  { Shift_L, Shift_R };
  48.     modifier_map Lock   { Caps_Lock, ISO_Lock };
  49.     modifier_map Control{ Control_L, Control_R };
  50.     modifier_map Mod2   { Num_Lock };
  51.     modifier_map Mod4   { Super_L, Super_R };
  52.  
  53.     //  Fake keys for virtual<->real modifiers mapping 
  54.     key <LVL3> {    [ ISO_Level3_Shift    ]    };
  55.     key <MDSW> {    [ Mode_switch         ]    };
  56.     modifier_map Mod5   { <LVL3>, <MDSW> };
  57.  
  58.     key <ALT>  {    [ NoSymbol, Alt_L    ]    };
  59.     modifier_map Mod1   { <ALT>, <LALT> };
  60.  
  61.     key <META> {    [ NoSymbol, Meta_L    ]    };
  62.     modifier_map Mod1   { <META> };
  63.  
  64.     key <SUPR> {    [ NoSymbol, Super_L    ]    };
  65.     modifier_map Mod4   { <SUPR> };
  66.  
  67.     key <HYPR> {    [ NoSymbol, Hyper_L    ]    };
  68.     modifier_map Mod4   { <HYPR> };
  69. };
  70.  
  71. partial hidden alphanumeric_keys
  72. xkb_symbols "function" {
  73.     key <FK01> {
  74.         type="CTRL+ALT",
  75.         symbols[Group1]= [ F1,    XF86_Switch_VT_1 ]
  76.     };
  77.     key <FK02> {
  78.         type="CTRL+ALT",
  79.         symbols[Group1]= [ F2,    XF86_Switch_VT_2 ]
  80.     };
  81.     key <FK03> {
  82.         type="CTRL+ALT",
  83.         symbols[Group1]= [ F3,    XF86_Switch_VT_3 ]
  84.     };
  85.     key <FK04> {
  86.         type="CTRL+ALT",
  87.         symbols[Group1]= [ F4,    XF86_Switch_VT_4 ]
  88.     };
  89.     key <FK05> {
  90.         type="CTRL+ALT",
  91.         symbols[Group1]= [ F5,    XF86_Switch_VT_5 ]
  92.     };
  93.     key <FK06> {
  94.         type="CTRL+ALT",
  95.         symbols[Group1]= [ F6,    XF86_Switch_VT_6 ]
  96.     };
  97.     key <FK07> {
  98.         type="CTRL+ALT",
  99.         symbols[Group1]= [ F7,    XF86_Switch_VT_7 ]
  100.     };
  101.     key <FK08> {
  102.         type="CTRL+ALT",
  103.         symbols[Group1]= [ F8,    XF86_Switch_VT_8 ]
  104.     };
  105.     key <FK09> {
  106.         type="CTRL+ALT",
  107.         symbols[Group1]= [ F9,    XF86_Switch_VT_9 ]
  108.     };
  109.     key <FK10> {
  110.         type="CTRL+ALT",
  111.         symbols[Group1]= [ F10,    XF86_Switch_VT_10 ]
  112.     };
  113.     key <FK11> {
  114.         type="CTRL+ALT",
  115.         symbols[Group1]= [ F11,    XF86_Switch_VT_11 ]
  116.     };
  117.     key <FK12> {
  118.         type="CTRL+ALT",
  119.         symbols[Group1]= [ F12,    XF86_Switch_VT_12 ]
  120.     };
  121. };
  122.  
  123. partial hidden alphanumeric_keys
  124. xkb_symbols "editing" {
  125.     key <PRSC> {
  126.     type= "PC_SYSRQ",
  127.     symbols[Group1]= [ Print, Sys_Req ]
  128.     };
  129.     key <SCLK> {  [  Scroll_Lock    ]    };
  130.     key <PAUS> {
  131.     type= "PC_BREAK",
  132.     symbols[Group1]= [ Pause, Break ]
  133.     };
  134.     key  <INS> {    [  Insert        ]    };
  135.     key <HOME> {    [  Home            ]    };
  136.     key <PGUP> {    [  Prior        ]    };
  137.     key <DELE> {    [  Delete        ]    };
  138.     key  <END> {    [  End            ]    };
  139.     key <PGDN> {    [  Next            ]    };
  140.  
  141.     key   <UP> {    [  Up            ]    };
  142.     key <LEFT> {    [  Left            ]    };
  143.     key <DOWN> {    [  Down            ]    };
  144.     key <RGHT> {    [  Right        ]    };
  145. };
  146.  
  147.