1 // Actions which control the server's behavior
3 partial keypad_keys function_keys
4 xkb_symbols "xfree86" {
5 include "srvr_ctrl(stdkeypad)"
6 include "srvr_ctrl(fkey2vt)"
10 xkb_symbols "stdkeypad" {
12 // Ungrab cancels server/keyboard/pointer grabs
15 symbols[Group1]= [ KP_Divide, XF86_Ungrab ]
18 // ClsGrb kills whichever client has a grab in effect
21 symbols[Group1]= [ KP_Multiply, XF86_ClearGrab ]
24 // -VMode switches to the previous video mode
27 symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
30 // +VMode switches to the next video mode
33 symbols[Group1]= [ KP_Add, XF86_Next_VMode]
39 xkb_symbols "fkey2vt" {
43 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
48 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
53 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
58 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
63 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
68 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
73 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
78 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
83 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
88 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
93 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
98 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
103 partial function_keys keypad_keys
104 xkb_symbols "no_srvr_keys" {
106 key.type="TWO_LEVEL";
108 key <FK01> { [ F1, F1 ] };
109 key <FK02> { [ F2, F2 ] };
110 key <FK03> { [ F3, F3 ] };
111 key <FK04> { [ F4, F4 ] };
112 key <FK05> { [ F5, F5 ] };
113 key <FK06> { [ F6, F6 ] };
114 key <FK07> { [ F7, F7 ] };
115 key <FK08> { [ F8, F8 ] };
116 key <FK09> { [ F9, F9 ] };
117 key <FK10> { [ F10, F10 ] };
118 key <FK11> { [ F11, F11 ] };
119 key <FK12> { [ F12, F12 ] };
121 key <KPDV> { [ KP_Divide, KP_Divide ] };
122 key <KPMU> { [ KP_Multiply, KP_Multiply ] };
123 key <KPSU> { [ KP_Subtract, KP_Subtract ] };
124 key <KPAD> { [ KP_Add, KP_Add ] };