1 // $Xorg: nec,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
3 //Copyright 1996, 1998 The Open Group
5 //Permission to use, copy, modify, distribute, and sell this software and its
6 //documentation for any purpose is hereby granted without fee, provided that
7 //the above copyright notice appear in all copies and that both that
8 //copyright notice and this permission notice appear in supporting
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
14 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 //OTHER DEALINGS IN THE SOFTWARE.
22 //Except as contained in this notice, the name of The Open Group shall
23 //not be used in advertising or otherwise to promote the sale, use or
24 //other dealings in this Software without prior written authorization
25 //from The Open Group.
27 // $XFree86: xc/programs/xkbcomp/geometry/nec,v 3.4 2001/01/17 23:45:49 dawes Exp $
29 default xkb_geometry "pc98" {
31 description= "Generic PC98";
35 shape.cornerRadius= 1;
36 shape "NORM" { { [ 17,18] }, { [2,1], [ 15,17] } };
37 shape "RTRN" { { [ 20,37] }, { [2,1], [ 18,35] } };
38 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
39 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } };
40 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
41 shape "SPCE" { { [115,18] }, { [2,1], [113,17] } };
42 shape "FUNC" { { [ 21,18] }, { [2,1], [ 19,17] } };
43 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
44 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
45 shape "TABK" { { [ 30,18] }, { [2,1], [ 28,17] } };
46 shape "ARRW" { { [ 35,18] }, { [2,1], [ 33,17] } };
57 keys { { <BRK>, "NORM" }, { <PRSC>, "NORM", 5 },
58 { <FK01>, 6 }, <FK02>, <FK03>, <FK04>, <FK05>,
59 { <FK06>, 6 }, <FK07>, <FK08>, <FK09>, <FK10>,
60 { <FK11>, 6 }, <FK12>, <FK13>, <FK14>, <FK15>
63 }; // End of "Function" section
69 keys { { <ESC>, shape="BKSP"},
70 <AE01>, <AE02>, <AE03>, <AE04>,
71 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
72 <AE10>, <AE11>, <AE12>, <BKSL>,
78 keys { { <TAB>, "TABK" },
79 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
80 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
81 <AD11>, <AD12>, { <RTRN>, "RTRN", 6 }
86 keys { <LCTL>, <CAPS>,
87 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
88 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
94 keys { { <LFSH>, "LFSH" },
95 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
96 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
102 keys { { <ALGR>, 35 } , <LALT>, { <NFER>, "FUNC" },
103 { <SPCE>, "SPCE" }, { <XFER>, "FUNC" }
107 }; // End of "Alpha" section
114 keys { <INS>, <DELE> };
118 keys { <PGDN>, <PGUP> };
122 keys { { <UP>, "ARRW" } };
126 keys { <LEFT>, <RGHT> };
130 keys { { <DOWN>, "ARRW" } };
132 }; // End of "Editing" section
139 keys { <HOME>, <HELP>, <KPSU>, <KPDV> };
143 keys { <KP7>, <KP8>, <KP9>, <KPMU> };
147 keys { <KP4>, <KP5>, <KP6>, <KPAD> };
151 keys { <KP1>, <KP2>, <KP3>, <KPEQ> };
155 keys { <KP0>, <KPSP>, <KPDC>, <KPEN> };
157 }; // End of "Keypad" section
159 }; // End of "pc98" geometry