1 default partial alphanumeric_keys modifier_keys
4 key <ESC> { [ Escape ] };
6 // the extra key on most European keyboards
7 key <LSGT> { [ less, greater, bar, brokenbar ] };
9 // these keys are common to all layouts
10 key <BKSL> { [ backslash, bar ] };
11 key <SPCE> { [ space ] };
13 include "pc(function)"
17 key <BKSP> { [ BackSpace ] };
19 key <TAB> { [ Tab, ISO_Left_Tab ] };
20 key <RTRN> { [ Return ] };
22 key <CAPS> { [ Caps_Lock ] };
24 key <NMLK> { [ Num_Lock ] };
26 key <LFSH> { [ Shift_L ] };
27 key <LCTL> { [ Control_L ] };
29 key <LWIN> { [ Super_L ] };
31 key <RTSH> { [ Shift_R ] };
32 key <RCTL> { [ Control_R ] };
34 key <RWIN> { [ Super_R ] };
36 key <MENU> { [ Menu ] };
38 // begin modifier mappings
39 modifier_map Shift { Shift_L, Shift_R };
40 modifier_map Lock { Caps_Lock, ISO_Lock };
41 modifier_map Control{ Control_L, Control_R };
42 modifier_map Mod2 { Num_Lock };
43 modifier_map Mod4 { Super_L, Super_R };
45 // Fake keys for virtual<->real modifiers mapping
46 key <LVL3> { [ ISO_Level3_Shift ] };
47 key <MDSW> { [ Mode_switch ] };
48 modifier_map Mod5 { <LVL3>, <MDSW> };
50 key <ALT> { [ NoSymbol, Alt_L ] };
51 include "altwin(meta_alt)"
53 key <META> { [ NoSymbol, Meta_L ] };
54 modifier_map Mod1 { <META> };
56 key <SUPR> { [ NoSymbol, Super_L ] };
57 modifier_map Mod4 { <SUPR> };
59 key <HYPR> { [ NoSymbol, Hyper_L ] };
60 modifier_map Mod4 { <HYPR> };
62 key <OUTP> { [ XF86Display ] };
63 key <KITG> { [ XF86KbdLightOnOff ] };
64 key <KIDN> { [ XF86KbdBrightnessDown ] };
65 key <KIUP> { [ XF86KbdBrightnessUp ] };
68 partial hidden alphanumeric_keys
69 xkb_symbols "function" {
72 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
76 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
80 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
84 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
88 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
92 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
96 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
100 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
104 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
108 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
112 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
116 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
120 partial hidden alphanumeric_keys
121 xkb_symbols "editing" {
123 type= "PC_ALT_LEVEL2",
124 symbols[Group1]= [ Print, Sys_Req ]
126 key <SCLK> { [ Scroll_Lock ] };
128 type= "PC_CONTROL_LEVEL2",
129 symbols[Group1]= [ Pause, Break ]
131 key <INS> { [ Insert ] };
132 key <HOME> { [ Home ] };
133 key <PGUP> { [ Prior ] };
134 key <DELE> { [ Delete ] };
135 key <END> { [ End ] };
136 key <PGDN> { [ Next ] };
139 key <LEFT> { [ Left ] };
140 key <DOWN> { [ Down ] };
141 key <RGHT> { [ Right ] };