fixing keyword
[xorg/xkeyboard-config] / symbols / digital_vndr / lk
1 // $Xorg: lk,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: lk,v 
31 // Revision 1.2  1996/06/18  09:10:09  erik
32 // use flags correctly, assorted cleanups and consortium fixes
33 //
34 // Revision 1.1.2.2  1995/03/10  17:16:52  William_Walker
35 //      Rename to avoid name conflicts with XKB stuff
36 //      [1995/03/10  17:10:33  William_Walker]
37 //
38 // Revision 1.1.2.2  1994/10/31  15:22:00  William_Walker
39 //      New experimental version.
40 //      [1994/10/31  14:48:37  William_Walker]
41 // 
42 // EndLog
43 // 
44 // @(#)RCSfile: lk,v  Revision: 1.2  (DEC) Date: 1996/01/24 12:14:58
45 // 
46 // Symbols common to all the LK-style keyboards.
47 //
48 default xkb_symbols "common" {
49
50     // Modifier mappings
51     modifier_map Shift          { Shift_L,      Shift_R   };
52     modifier_map Lock           { Caps_Lock };
53     modifier_map Control        { Control_L, Control_R };
54     modifier_map Mod1           { Alt_L, Alt_R, Meta_L, Meta_R };
55     modifier_map Mod2           { Num_Lock };
56     modifier_map Mod3           { Scroll_Lock };
57
58     // Additional alphanumeric keys
59     key <LSGT>          { [ less,       greater         ] };
60     key <LALT>          { [ Alt_L,      Meta_L          ] };
61
62     // "Function" keys
63     key <FK01>          { [ F1                          ] };
64     key <FK02>          { [ F2                          ] };
65     key <FK03>          { [ F3                          ] };
66     key <FK04>          { [ F4                          ] };
67     key <FK05>          { [ F5                          ] };
68     key <FK06>          { [ F6                          ] };
69     key <FK07>          { [ F7                          ] };
70     key <FK08>          { [ F8                          ] };
71     key <FK09>          { [ F9                          ] };
72     key <FK10>          { [ F10                         ] };
73     key <FK11>          { [ Escape,     F11             ] };
74     key <FK12>          { [ F12                         ] };
75     key <FK13>          { [ F13                         ] };
76     key <FK14>          { [ F14                         ] };
77     key <FK17>          { [ F17                         ] };
78     key <FK18>          { [ F18                         ] };
79     key <FK19>          { [ F19                         ] };
80     key <FK20>          { [ F20                         ] };
81
82     // "Editing" keys
83     key <HELP>          { [ Help                        ] };
84     key <DO>            { [ Menu                        ] };
85     key <FIND>          { [ Find                        ] };
86     key <INS>           { [ Insert                      ] };
87     key <DELE>          { [ Delete                      ] };
88     key <SELE>          { [ Select                      ] };
89     key <PGUP>          { [ Prior                       ] };
90     key <PGDN>          { [ Next                        ] };
91
92     key <UP>            { [ Up                          ] };
93     key <LEFT>          { [ Left                        ] };
94     key <DOWN>          { [ Down                        ] };
95     key <RGHT>          { [ Right                       ] };
96
97     // "Keypad" keys
98     key <KPF1>          {
99                                 type= "SHIFT+ALT",
100                                 symbols[Group1]=[ KP_F1,Pointer_EnableKeys ]
101                         };
102     key <KPF2>          { [ KP_F2                       ] };
103     key <KPF3>          { [ KP_F3                       ] };
104     key <KPF4>          { [ KP_F4                       ] };
105
106     key <KPCO>          { [ KP_Separator                ] };
107     key <KPSU>          { [ KP_Subtract                 ] };
108
109     key <KP7>           { [ KP_7                        ] };
110     key <KP8>           { [ KP_8                        ] };
111     key <KP9>           { [ KP_9                        ] };
112
113     key <KP4>           { [ KP_4                        ] };
114     key <KP5>           { [ KP_5                        ] };
115     key <KP6>           { [ KP_6                        ] };
116
117     key <KP1>           { [ KP_1                        ] };
118     key <KP2>           { [ KP_2                        ] };
119     key <KP3>           { [ KP_3                        ] };
120     key <KPEN>          { [ KP_Enter                    ] };
121
122     key <KP0>           { [ KP_0                        ] };
123     key <KPDL>          { [ KP_Decimal                  ] };
124 };
125
126 xkb_symbols "lk401" {
127     include "symbols/digital_vndr/lk(common)"
128     key <RALT>              { [ Alt_R,      Meta_R          ] };
129     key <LCMP>              { [ Multi_key                   ] };
130     key <RCMP>              { [ Multi_key                   ] };
131 };