3 // $XFree86: xc/programs/xkbcomp/symbols/srvr_ctrl,v 1.4 2003/12/18 14:14:38 pascal Exp $
5 // Actions which control the server's behavior
7 partial keypad_keys function_keys
8 xkb_symbols "xfree86" {
9 include "srvr_ctrl(stdkeypad)"
10 include "srvr_ctrl(fkey2vt)"
14 xkb_symbols "stdkeypad" {
18 symbols[Group1]= [ BackSpace, Terminate_Server ]
21 // Ungrab cancels server/keyboard/pointer grabs
24 symbols[Group1]= [ KP_Divide, XF86_Ungrab ]
27 // ClsGrb kills whichever client has a grab in effect
30 symbols[Group1]= [ KP_Multiply, XF86_ClearGrab ]
33 // -VMode switches to the previous video mode
36 symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
39 // +VMode switches to the next video mode
42 symbols[Group1]= [ KP_Add, XF86_Next_VMode]
48 xkb_symbols "fkey2vt" {
52 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
57 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
62 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
67 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
72 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
77 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
82 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
87 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
92 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
97 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
102 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
107 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
112 partial function_keys keypad_keys
113 xkb_symbols "no_srvr_keys" {
115 key.type="TWO_LEVEL";
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 ] };
130 key <BKSP> { [ BackSpace, BackSpace ] };
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 ] };