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 ] };
35 modifier_map Mod4 { <LWIN> };
37 key <RTSH> { [ Shift_R ] };
38 key <RCTL> { [ Control_R ] };
40 key <RWIN> { [ Super_R ] };
41 modifier_map Mod4 { <RWIN> };
43 key <MENU> { [ Menu ] };
45 // begin modifier mappings
46 modifier_map Shift { Shift_L, Shift_R };
47 modifier_map Lock { Caps_Lock, ISO_Lock };
48 modifier_map Control{ Control_L, Control_R };
49 modifier_map Mod2 { Num_Lock };
51 // Fake keys for virtual<->real modifiers mapping
52 key <LVL3> { [ ISO_Level3_Shift ] };
53 key <MDSW> { [ Mode_switch ] };
54 modifier_map Mod5 { <LVL3>, <MDSW> };
56 key <ALT> { [ NoSymbol, Alt_L ] };
57 include "altwin(meta_alt)"
59 key <META> { [ NoSymbol, Meta_L ] };
60 modifier_map Mod1 { <META> };
62 key <SUPR> { [ NoSymbol, Super_L ] };
63 modifier_map Mod4 { <SUPR> };
65 key <HYPR> { [ NoSymbol, Hyper_L ] };
66 modifier_map Mod4 { <HYPR> };
68 key <OUTP> { [ XF86Display ] };
69 key <KITG> { [ XF86KbdLightOnOff ] };
70 key <KIDN> { [ XF86KbdBrightnessDown ] };
71 key <KIUP> { [ XF86KbdBrightnessUp ] };
74 partial hidden alphanumeric_keys
75 xkb_symbols "function" {
78 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
82 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
86 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
90 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
94 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
98 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
102 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
106 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
110 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
114 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
118 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
122 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
126 partial hidden alphanumeric_keys
127 xkb_symbols "editing" {
129 type= "PC_ALT_LEVEL2",
130 symbols[Group1]= [ Print, Sys_Req ]
132 key <SCLK> { [ Scroll_Lock ] };
134 type= "PC_CONTROL_LEVEL2",
135 symbols[Group1]= [ Pause, Break ]
137 key <INS> { [ Insert ] };
138 key <HOME> { [ Home ] };
139 key <PGUP> { [ Prior ] };
140 key <DELE> { [ Delete ] };
141 key <END> { [ End ] };
142 key <PGDN> { [ Next ] };
145 key <LEFT> { [ Left ] };
146 key <DOWN> { [ Down ] };
147 key <RGHT> { [ Right ] };