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" {
16 // Ungrab cancels server/keyboard/pointer grabs
19 symbols[Group1]= [ KP_Divide, XF86_Ungrab ]
22 // ClsGrb kills whichever client has a grab in effect
25 symbols[Group1]= [ KP_Multiply, XF86_ClearGrab ]
28 // -VMode switches to the previous video mode
31 symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
34 // +VMode switches to the next video mode
37 symbols[Group1]= [ KP_Add, XF86_Next_VMode]
43 xkb_symbols "fkey2vt" {
47 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
52 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
57 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
62 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
67 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
72 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
77 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
82 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
87 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
92 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
97 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
102 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
107 partial function_keys keypad_keys
108 xkb_symbols "no_srvr_keys" {
110 key.type="TWO_LEVEL";
112 key <FK01> { [ F1, F1 ] };
113 key <FK02> { [ F2, F2 ] };
114 key <FK03> { [ F3, F3 ] };
115 key <FK04> { [ F4, F4 ] };
116 key <FK05> { [ F5, F5 ] };
117 key <FK06> { [ F6, F6 ] };
118 key <FK07> { [ F7, F7 ] };
119 key <FK08> { [ F8, F8 ] };
120 key <FK09> { [ F9, F9 ] };
121 key <FK10> { [ F10, F10 ] };
122 key <FK11> { [ F11, F11 ] };
123 key <FK12> { [ F12, F12 ] };
125 key <KPDV> { [ KP_Divide, KP_Divide ] };
126 key <KPMU> { [ KP_Multiply, KP_Multiply ] };
127 key <KPSU> { [ KP_Subtract, KP_Subtract ] };
128 key <KPAD> { [ KP_Add, KP_Add ] };