4 // $XFree86: xc/programs/xkbcomp/symbols/pc,v 1.9 2003/06/09 19:59:46 dawes Exp $
6 default partial alphanumeric_keys modifier_keys
9 key <ESC> { [ Escape ] };
11 // the extra key on most European keyboards
12 key <LSGT> { [ less, greater, bar, brokenbar ] };
14 // these keys are common to all layouts
15 key <BKSL> { [ backslash, bar ] };
16 key <SPCE> { [ space ] };
18 include "pc(function)"
24 symbols[Group1]= [ BackSpace, Terminate_Server ]
27 key <TAB> { [ Tab, ISO_Left_Tab ] };
28 key <RTRN> { [ Return ] };
30 key <CAPS> { [ Caps_Lock ] };
32 key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
34 key <LFSH> { [ Shift_L ] };
35 key <LCTL> { [ Control_L ] };
37 key <LWIN> { [ Super_L ] };
38 modifier_map Mod4 { <LWIN> };
40 key <RTSH> { [ Shift_R ] };
41 key <RCTL> { [ Control_R ] };
43 key <RWIN> { [ Super_R ] };
44 modifier_map Mod4 { <RWIN> };
46 key <MENU> { [ Menu ] };
48 // begin modifier mappings
49 modifier_map Shift { Shift_L, Shift_R };
50 modifier_map Lock { Caps_Lock, ISO_Lock };
51 modifier_map Control{ Control_L, Control_R };
52 modifier_map Mod2 { Num_Lock };
54 // Fake keys for virtual<->real modifiers mapping
55 key <LVL3> { [ ISO_Level3_Shift ] };
56 key <MDSW> { [ Mode_switch ] };
57 modifier_map Mod5 { <LVL3>, <MDSW> };
59 key <ALT> { [ NoSymbol, Alt_L ] };
60 include "altwin(meta_alt)"
62 key <META> { [ NoSymbol, Meta_L ] };
63 modifier_map Mod1 { <META> };
65 key <SUPR> { [ NoSymbol, Super_L ] };
66 modifier_map Mod4 { <SUPR> };
68 key <HYPR> { [ NoSymbol, Hyper_L ] };
69 modifier_map Mod4 { <HYPR> };
71 key <OUTP> { [ XF86Display ] };
72 key <KITG> { [ XF86KbdLightOnOff ] };
73 key <KIDN> { [ XF86KbdBrightnessDown ] };
74 key <KIUP> { [ XF86KbdBrightnessUp ] };
77 partial hidden alphanumeric_keys
78 xkb_symbols "function" {
81 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
85 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
89 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
93 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
97 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
101 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
105 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
109 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
113 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
117 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
121 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
125 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
129 partial hidden alphanumeric_keys
130 xkb_symbols "editing" {
132 type= "PC_ALT_LEVEL2",
133 symbols[Group1]= [ Print, Sys_Req ]
135 key <SCLK> { [ Scroll_Lock ] };
137 type= "PC_CONTROL_LEVEL2",
138 symbols[Group1]= [ Pause, Break ]
140 key <INS> { [ Insert ] };
141 key <HOME> { [ Home ] };
142 key <PGUP> { [ Prior ] };
143 key <DELE> { [ Delete ] };
144 key <END> { [ End ] };
145 key <PGDN> { [ Next ] };
148 key <LEFT> { [ Left ] };
149 key <DOWN> { [ Down ] };
150 key <RGHT> { [ Right ] };