2 //Copyright (c) 1996 Digital Equipment Corporation
4 //Permission is hereby granted, free of charge, to any person obtaining
5 //a copy of this software and associated documentation files (the
6 //"Software"), to deal in the Software without restriction, including
7 //without limitation the rights to use, copy, modify, merge, publish,
8 //distribute, sublicense, and sell copies of the Software, and to
9 //permit persons to whom the Software is furnished to do so, subject to
10 //the following conditions:
12 //The above copyright notice and this permission notice shall be included
13 //in all copies or substantial portions of the Software.
15 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
19 //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21 //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 //Except as contained in this notice, the name of the Digital Equipment
24 //Corporation shall not be used in advertising or otherwise to promote
25 //the sale, use or other dealings in this Software without prior written
26 //authorization from Digital Equipment Corporation.
30 // Revision 1.2 1996/06/18 09:10:12 erik
31 // use flags correctly, assorted cleanups and consortium fixes
33 // Revision 1.1.6.4 1995/12/19 19:55:58 William_Walker
35 // [1995/12/17 02:37:07 William_Walker]
37 // Revision 1.1.6.3 1995/10/25 21:01:09 William_Walker
38 // Make sure we use DIN 2137 and VT510 Spec for Group Semantics
39 // [1995/10/23 15:49:03 William_Walker]
41 // Revision 1.1.6.2 1995/08/07 17:40:40 William_Walker
42 // Upgrade XKB to protocol 0.62 (dual submit from decx11)
43 // [1995/08/06 14:06:32 William_Walker]
45 // Revision 1.1.2.7 1995/08/05 15:25:57 William_Walker
46 // Sync up with Erik's pool.
47 // [1995/08/03 20:17:15 William_Walker]
49 // Revision 1.1.2.6 1995/06/27 12:18:25 William_Walker
50 // Add LK201 and LK450 support as well as TW and DP variants.
51 // [1995/06/26 20:29:52 William_Walker]
53 // Revision 1.1.2.5 1995/06/08 17:10:28 William_Walker
54 // Make RALT default to Mode_switch
55 // [1995/06/08 17:08:50 William_Walker]
57 // Revision 1.1.2.4 1995/06/05 19:24:14 William_Walker
58 // New file. I love keymaps.
59 // [1995/06/05 18:17:03 William_Walker]
63 // @(#)RCSfile: pc Revision: /main/4 (DEC) Date: 1996/01/24 12:15:02
66 // **************************************************************
68 // * The symbols common to all Extended PC layouts. *
70 // **************************************************************
75 modifier_map Shift { Shift_L, Shift_R };
76 modifier_map Lock { Caps_Lock };
77 modifier_map Control { Control_L, Control_R };
78 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
79 modifier_map Mod3 { Mode_switch };
80 modifier_map Mod4 { Num_Lock };
81 modifier_map Mod5 { Scroll_Lock };
85 key <BKSP> { [ BackSpace, Delete ] };
86 key <TAB> { [ Tab, ISO_Left_Tab ] };
87 key <CAPS> { [ Caps_Lock ] };
88 key <RTRN> { [ Return ] };
89 key <LFSH> { [ Shift_L ] };
90 key <RTSH> { [ Shift_R ] };
91 key <LCTL> { [ Control_L ] };
92 key <LALT> { [ Alt_L, Meta_L ] };
93 key <SPCE> { [ space ] };
94 key <RALT> { [ Mode_switch ] };
95 key <RCTL> { [ Control_R ] };
99 key <ESC> { [ Escape ] };
100 key <FK01> { [ F1 ] };
101 key <FK02> { [ F2 ] };
102 key <FK03> { [ F3 ] };
103 key <FK04> { [ F4 ] };
104 key <FK05> { [ F5 ] };
105 key <FK06> { [ F6 ] };
106 key <FK07> { [ F7 ] };
107 key <FK08> { [ F8 ] };
108 key <FK09> { [ F9 ] };
109 key <FK10> { [ F10 ] };
110 key <FK11> { [ F11 ] };
111 key <FK12> { [ F12 ] };
113 type= "PC_ALT_LEVEL2",
114 symbols[Group1]= [ Print, Sys_Req ]
116 key <SCLK> { [ Scroll_Lock ] };
118 type= "PC_CONTROL_LEVEL2",
119 symbols[Group1]= [ Pause, Break ]
124 key <INS> { [ Insert ] };
125 key <HOME> { [ Home ] };
126 key <PGUP> { [ Prior ] };
127 key <DELE> { [ Delete ] };
128 key <END> { [ End ] };
129 key <PGDN> { [ Next ] };
132 key <LEFT> { [ Left ] };
133 key <DOWN> { [ Down ] };
134 key <RGHT> { [ Right ] };
140 symbols[Group1]= [ Num_Lock,Pointer_EnableKeys]
142 key <KPDV> { [ KP_Divide ] };
143 key <KPMU> { [ KP_Multiply ] };
144 key <KPSU> { [ KP_Subtract ] };
146 key <KP7> { [ KP_Home, KP_7 ] };
147 key <KP8> { [ KP_Up, KP_8 ] };
148 key <KP9> { [ KP_Prior, KP_9 ] };
149 key <KPAD> { [ KP_Add ] };
151 key <KP4> { [ KP_Left, KP_4 ] };
152 key <KP5> { [ KP_5 ] };
153 key <KP6> { [ KP_Right, KP_6 ] };
155 key <KP1> { [ KP_End, KP_1 ] };
156 key <KP2> { [ KP_Down, KP_2 ] };
157 key <KP3> { [ KP_Next, KP_3 ] };
158 key <KPEN> { [ KP_Enter ] };
160 key <KP0> { [ KP_Insert, KP_0 ] };
161 key <KPDL> { [ KP_Delete, KP_Decimal ] };
163 // Key to support Lock-Down Modifier descriptions for R5
165 key <LDM> { [ NoSymbol ] };
168 xkb_symbols "pc104" {
169 include "digital_vndr/pc(pc)"
171 replace key <LALT> { [ Alt_L ] };
172 key <LWIN> { [ Meta_L ] };
173 key <RWIN> { [ Meta_R ] };
174 key <MENU> { [ Menu ] };