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 ] };
39 key <RTSH> { [ Shift_R ] };
40 key <RCTL> { [ Control_R ] };
42 key <RWIN> { [ Super_R ] };
44 key <MENU> { [ Menu ] };
46 // begin modifier mappings
47 modifier_map Shift { Shift_L, Shift_R };
48 modifier_map Lock { Caps_Lock, ISO_Lock };
49 modifier_map Control{ Control_L, Control_R };
50 modifier_map Mod2 { Num_Lock };
52 // Fake keys for virtual<->real modifiers mapping
53 key <LVL3> { [ ISO_Level3_Shift ] };
54 key <MDSW> { [ Mode_switch ] };
55 modifier_map Mod5 { <LVL3>, <MDSW> };
57 key <ALT> { [ NoSymbol, Alt_L ] };
58 include "altwin(meta_alt)"
60 key <META> { [ NoSymbol, Meta_L ] };
61 modifier_map Mod1 { <META> };
63 key <SUPR> { [ NoSymbol, Super_L ] };
64 modifier_map Mod4 { <SUPR> };
66 key <HYPR> { [ NoSymbol, Hyper_L ] };
67 modifier_map Mod4 { <HYPR> };
69 key <OUTP> { [ XF86Display ] };
70 key <KITG> { [ XF86KbdLightOnOff ] };
71 key <KIDN> { [ XF86KbdBrightnessDown ] };
72 key <KIUP> { [ XF86KbdBrightnessUp ] };
75 partial hidden alphanumeric_keys
76 xkb_symbols "function" {
79 symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
83 symbols[Group1]= [ F2, XF86_Switch_VT_2 ]
87 symbols[Group1]= [ F3, XF86_Switch_VT_3 ]
91 symbols[Group1]= [ F4, XF86_Switch_VT_4 ]
95 symbols[Group1]= [ F5, XF86_Switch_VT_5 ]
99 symbols[Group1]= [ F6, XF86_Switch_VT_6 ]
103 symbols[Group1]= [ F7, XF86_Switch_VT_7 ]
107 symbols[Group1]= [ F8, XF86_Switch_VT_8 ]
111 symbols[Group1]= [ F9, XF86_Switch_VT_9 ]
115 symbols[Group1]= [ F10, XF86_Switch_VT_10 ]
119 symbols[Group1]= [ F11, XF86_Switch_VT_11 ]
123 symbols[Group1]= [ F12, XF86_Switch_VT_12 ]
127 partial hidden alphanumeric_keys
128 xkb_symbols "editing" {
130 type= "PC_ALT_LEVEL2",
131 symbols[Group1]= [ Print, Sys_Req ]
133 key <SCLK> { [ Scroll_Lock ] };
135 type= "PC_CONTROL_LEVEL2",
136 symbols[Group1]= [ Pause, Break ]
138 key <INS> { [ Insert ] };
139 key <HOME> { [ Home ] };
140 key <PGUP> { [ Prior ] };
141 key <DELE> { [ Delete ] };
142 key <END> { [ End ] };
143 key <PGDN> { [ Next ] };
146 key <LEFT> { [ Left ] };
147 key <DOWN> { [ Down ] };
148 key <RGHT> { [ Right ] };