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)"
22 key <BKSP> { [ BackSpace ] };
24 key <TAB> { [ Tab, ISO_Left_Tab ] };
25 key <RTRN> { [ Return ] };
27 key <CAPS> { [ Caps_Lock ] };
29 key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
31 key <LFSH> { [ Shift_L ] };
32 key <LCTL> { [ Control_L ] };
34 key <LWIN> { [ Super_L ] };
36 key <RTSH> { [ Shift_R ] };
37 key <RCTL> { [ Control_R ] };
39 key <RWIN> { [ Super_R ] };
41 key <MENU> { [ Menu ] };
43 // begin modifier mappings
44 modifier_map Shift { Shift_L, Shift_R };
45 modifier_map Lock { Caps_Lock, ISO_Lock };
46 modifier_map Control{ Control_L, Control_R };
47 modifier_map Mod2 { Num_Lock };
48 modifier_map Mod4 { Super_L, Super_R };
50 // Fake keys for virtual<->real modifiers mapping
51 key <LVL3> { [ ISO_Level3_Shift ] };
52 key <MDSW> { [ Mode_switch ] };
53 modifier_map Mod5 { <LVL3>, <MDSW> };
55 key <ALT> { [ NoSymbol, Alt_L ] };
56 include "altwin(meta_alt)"
58 key <META> { [ NoSymbol, Meta_L ] };
59 modifier_map Mod1 { <META> };
61 key <SUPR> { [ NoSymbol, Super_L ] };
62 modifier_map Mod4 { <SUPR> };
64 key <HYPR> { [ NoSymbol, Hyper_L ] };
65 modifier_map Mod4 { <HYPR> };
67 key <OUTP> { [ XF86Display ] };
68 key <KITG> { [ XF86KbdLightOnOff ] };
69 key <KIDN> { [ XF86KbdBrightnessDown ] };
70 key <KIUP> { [ XF86KbdBrightnessUp ] };
73 partial hidden alphanumeric_keys
74 xkb_symbols "function" {
77 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
81 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
85 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
89 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
93 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
97 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
101 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
105 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
109 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
113 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
117 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
121 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
125 partial hidden alphanumeric_keys
126 xkb_symbols "editing" {
128 type= "PC_ALT_LEVEL2",
129 symbols[Group1]= [ Print, Sys_Req ]
131 key <SCLK> { [ Scroll_Lock ] };
133 type= "PC_CONTROL_LEVEL2",
134 symbols[Group1]= [ Pause, Break ]
136 key <INS> { [ Insert ] };
137 key <HOME> { [ Home ] };
138 key <PGUP> { [ Prior ] };
139 key <DELE> { [ Delete ] };
140 key <END> { [ End ] };
141 key <PGDN> { [ Next ] };
144 key <LEFT> { [ Left ] };
145 key <DOWN> { [ Down ] };
146 key <RGHT> { [ Right ] };