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