• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Actions which control the server's behavior.
2
3partial keypad_keys function_keys
4xkb_symbols "xfree86" {
5    include "keypad(operators)"
6    include "srvr_ctrl(fkey2vt)"
7};
8
9partial function_keys
10xkb_symbols "fkey2vt" {
11
12    key <FK01> {
13	type="CTRL+ALT",
14	symbols[Group1]= [ F1, F1, F1, F1, XF86_Switch_VT_1 ]
15    };
16
17    key <FK02> {
18	type="CTRL+ALT",
19	symbols[Group1]= [ F2, F2, F2, F2, XF86_Switch_VT_2 ]
20    };
21
22    key <FK03> {
23	type="CTRL+ALT",
24	symbols[Group1]= [ F3, F3, F3, F3, XF86_Switch_VT_3 ]
25    };
26
27    key <FK04> {
28	type="CTRL+ALT",
29	symbols[Group1]= [ F4, F4, F4, F4, XF86_Switch_VT_4 ]
30    };
31
32    key <FK05> {
33	type="CTRL+ALT",
34	symbols[Group1]= [ F5, F5, F5, F5, XF86_Switch_VT_5 ]
35    };
36
37    key <FK06> {
38	type="CTRL+ALT",
39	symbols[Group1]= [ F6, F6, F6, F6, XF86_Switch_VT_6 ]
40    };
41
42    key <FK07> {
43	type="CTRL+ALT",
44	symbols[Group1]= [ F7, F7, F7, F7, XF86_Switch_VT_7 ]
45    };
46
47    key <FK08> {
48	type="CTRL+ALT",
49	symbols[Group1]= [ F8, F8, F8, F8, XF86_Switch_VT_8 ]
50    };
51
52    key <FK09> {
53	type="CTRL+ALT",
54	symbols[Group1]= [ F9, F9, F9, F9, XF86_Switch_VT_9 ]
55    };
56
57    key <FK10> {
58	type="CTRL+ALT",
59	symbols[Group1]= [ F10, F10, F10, F10, XF86_Switch_VT_10 ]
60    };
61
62    key <FK11> {
63	type="CTRL+ALT",
64	symbols[Group1]= [ F11, F11, F11, F11, XF86_Switch_VT_11 ]
65    };
66
67    key <FK12> {
68	type="CTRL+ALT",
69	symbols[Group1]= [ F12, F12, F12, F12, XF86_Switch_VT_12 ]
70    };
71};
72
73partial function_keys keypad_keys
74xkb_symbols "no_srvr_keys" {
75
76    key.type="TWO_LEVEL";
77
78    key <FK01> { [ F1, F1 ]	};
79    key <FK02> { [ F2, F2 ]	};
80    key <FK03> { [ F3, F3 ]	};
81    key <FK04> { [ F4, F4 ]	};
82    key <FK05> { [ F5, F5 ]	};
83    key <FK06> { [ F6, F6 ]	};
84    key <FK07> { [ F7, F7 ]	};
85    key <FK08> { [ F8, F8 ]	};
86    key <FK09> { [ F9, F9 ]	};
87    key <FK10> { [ F10, F10 ]	};
88    key <FK11> { [ F11, F11 ]	};
89    key <FK12> { [ F12, F12 ]	};
90
91    key <KPDV> { [ KP_Divide,	KP_Divide	] };
92    key <KPMU> { [ KP_Multiply,	KP_Multiply	] };
93    key <KPSU> { [ KP_Subtract,	KP_Subtract	] };
94    key <KPAD> { [ KP_Add,	KP_Add		] };
95};
96
97partial function_keys
98xkb_symbols "grab_debug" {
99
100    key <FK11> {
101	type="CTRL+ALT",
102	symbols[Group1]= [ F11, F11, F11, F11, XF86LogGrabInfo ]
103    };
104
105    key <FK12> {
106	type="CTRL+ALT",
107	symbols[Group1]= [ F12, F12, F12, F12, XF86LogWindowTree ]
108    };
109
110};
111