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 / srvr_ctrl < prev    next >
Text File  |  2006-11-29  |  3KB  |  138 lines

  1. // $XKeyboardConfig: xkbdesc/symbols/srvr_ctrl,v 1.2 2004/10/09 18:34:15 svu Exp $
  2.  
  3. // $XFree86: xc/programs/xkbcomp/symbols/srvr_ctrl,v 1.4 2003/12/18 14:14:38 pascal Exp $
  4. //
  5. // Actions which control the server's behavior
  6.  
  7. partial keypad_keys function_keys
  8. xkb_symbols "xfree86" {
  9.     include "srvr_ctrl(stdkeypad)"
  10.     include "srvr_ctrl(fkey2vt)"
  11. };
  12.  
  13. partial keypad_keys 
  14. xkb_symbols "stdkeypad" {
  15.  
  16.     key <BKSP> {
  17.     type="CTRL+ALT",
  18.     symbols[Group1]= [ BackSpace,   Terminate_Server ]
  19.     };
  20.  
  21. // Ungrab cancels server/keyboard/pointer grabs
  22.     key <KPDV> {
  23.     type="CTRL+ALT",
  24.     symbols[Group1]= [ KP_Divide,    XF86_Ungrab ]
  25.     };
  26.  
  27. // ClsGrb kills whichever client has a grab in effect
  28.     key <KPMU> {
  29.     type="CTRL+ALT",
  30.     symbols[Group1]= [ KP_Multiply,    XF86_ClearGrab ]
  31.     };
  32.  
  33. // -VMode switches to the previous video mode
  34.     key <KPSU> {
  35.     type="CTRL+ALT",
  36.     symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
  37.     };
  38.  
  39. // +VMode switches to the next video mode
  40.     key <KPAD> {
  41.     type="CTRL+ALT",
  42.     symbols[Group1]= [ KP_Add,    XF86_Next_VMode]
  43.     };
  44.  
  45. };
  46.  
  47. partial function_keys 
  48. xkb_symbols "fkey2vt" {
  49.  
  50.     key <FK01> {
  51.     type="CTRL+ALT",
  52.     symbols[Group1]= [ F1,    XF86_Switch_VT_1 ]
  53.     };
  54.  
  55.     key <FK02> {
  56.     type="CTRL+ALT",
  57.     symbols[Group1]= [ F2,    XF86_Switch_VT_2 ]
  58.     };
  59.  
  60.     key <FK03> {
  61.     type="CTRL+ALT",
  62.     symbols[Group1]= [ F3,    XF86_Switch_VT_3 ]
  63.     };
  64.  
  65.     key <FK04> {
  66.     type="CTRL+ALT",
  67.     symbols[Group1]= [ F4,    XF86_Switch_VT_4 ]
  68.     };
  69.  
  70.     key <FK05> {
  71.     type="CTRL+ALT",
  72.     symbols[Group1]= [ F5,    XF86_Switch_VT_5 ]
  73.     };
  74.  
  75.     key <FK06> {
  76.     type="CTRL+ALT",
  77.     symbols[Group1]= [ F6,    XF86_Switch_VT_6 ]
  78.     };
  79.  
  80.     key <FK07> {
  81.     type="CTRL+ALT",
  82.     symbols[Group1]= [ F7,    XF86_Switch_VT_7 ]
  83.     };
  84.  
  85.     key <FK08> {
  86.     type="CTRL+ALT",
  87.     symbols[Group1]= [ F8,    XF86_Switch_VT_8 ]
  88.     };
  89.  
  90.     key <FK09> {
  91.     type="CTRL+ALT",
  92.     symbols[Group1]= [ F9,    XF86_Switch_VT_9 ]
  93.     };
  94.  
  95.     key <FK10> {
  96.     type="CTRL+ALT",
  97.     symbols[Group1]= [ F10,    XF86_Switch_VT_10 ]
  98.     };
  99.  
  100.     key <FK11> {
  101.     type="CTRL+ALT",
  102.     symbols[Group1]= [ F11,    XF86_Switch_VT_11 ]
  103.     };
  104.  
  105.     key <FK12> {
  106.     type="CTRL+ALT",
  107.     symbols[Group1]= [ F12,    XF86_Switch_VT_12 ]
  108.     };
  109.  
  110. };
  111.  
  112. partial function_keys keypad_keys
  113. xkb_symbols "no_srvr_keys" {
  114.  
  115.     key.type="TWO_LEVEL";
  116.  
  117.     key <FK01> { [ F1, F1 ]    };
  118.     key <FK02> { [ F2, F2 ]    };
  119.     key <FK03> { [ F3, F3 ]    };
  120.     key <FK04> { [ F4, F4 ]    };
  121.     key <FK05> { [ F5, F5 ]    };
  122.     key <FK06> { [ F6, F6 ]    };
  123.     key <FK07> { [ F7, F7 ]    };
  124.     key <FK08> { [ F8, F8 ]    };
  125.     key <FK09> { [ F9, F9 ]    };
  126.     key <FK10> { [ F10, F10 ]    };
  127.     key <FK11> { [ F11, F11 ]    };
  128.     key <FK12> { [ F12, F12 ]    };
  129.  
  130.     key <BKSP> { [ BackSpace,    BackSpace    ] };
  131.  
  132.     key <KPDV> { [ KP_Divide,    KP_Divide    ] };
  133.     key <KPMU> { [ KP_Multiply,    KP_Multiply    ] };
  134.     key <KPSU> { [ KP_Subtract,    KP_Subtract    ] };
  135.     key <KPAD> { [ KP_Add,    KP_Add        ] };
  136. };
  137.  
  138.