first feed-in of the layouts. The revolution is coming
[xorg/xkeyboard-config] / geometry / nec
1 // $Xorg: nec,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $
2 //
3 //Copyright 1996, 1998  The Open Group
4 //
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
9 //documentation.
10 //
11 //The above copyright notice and this permission notice shall be
12 //included in all copies or substantial portions of the Software.
13 //
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.
21 //
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.
26 //
27 // $XFree86: xc/programs/xkbcomp/geometry/nec,v 3.4 2001/01/17 23:45:49 dawes Exp $
28
29 default xkb_geometry "pc98" {
30
31     description= "Generic PC98";
32     width= 405;
33     height= 172;
34
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] } };
47
48     section.left= 8;
49     row.left= 1;
50     key.shape= "NORM";
51     key.gap=  1;
52     section "Function" {
53         top= 29;
54         row {
55             top= 1;
56             key.shape="FUNC";
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>
61             };
62         };
63     }; // End of "Function" section
64
65     section "Alpha" {
66         top= 54;
67         row {
68             top= 1;
69             keys { { <ESC>, shape="BKSP"}, 
70                    <AE01>, <AE02>, <AE03>, <AE04>,
71                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
72                    <AE10>, <AE11>, <AE12>, <BKSL>,
73                    { <BKSP>, "BKSP" }
74             };
75         };
76         row {
77             top= 20;
78             keys { { <TAB>, "TABK" },
79                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
80                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
81                    <AD11>, <AD12>, { <RTRN>, "RTRN", 6 }
82             };
83         };
84         row {
85             top= 39;
86             keys { <LCTL>, <CAPS>,
87                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
88                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
89                    <AC11>, <AC12>
90             };
91         };
92         row {
93             top= 58;
94             keys { { <LFSH>, "LFSH" },
95                     <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
96                     <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
97                     { <RTSH>, "RTSH" }
98             };
99         };
100         row {
101             top= 77;
102             keys { { <ALGR>, 35 } , <LALT>, { <NFER>, "FUNC" },
103                    { <SPCE>, "SPCE" }, { <XFER>, "FUNC" }
104                    
105             };
106         };
107     }; // End of "Alpha" section
108
109     section "Editing" {
110         top= 54;
111         left= 281;
112         row {
113             top= 1;
114             keys { <INS>, <DELE> };
115         };
116         row {
117             top= 20;
118             keys { <PGDN>, <PGUP> };
119         };
120         row {
121             top= 39;
122             keys { { <UP>, "ARRW" } };
123         };
124         row {
125             top= 58;
126             keys { <LEFT>, <RGHT> };
127         };
128         row {
129             top= 77;
130             keys { { <DOWN>, "ARRW" } };
131         };
132     }; // End of "Editing" section
133
134     section "Keypad" {
135         top= 54;
136         left= 320;
137         row {
138             top= 1;
139             keys { <HOME>, <HELP>, <KPSU>, <KPDV> };
140         };
141         row {
142             top= 20;
143             keys { <KP7>, <KP8>, <KP9>, <KPMU> };
144         };
145         row {
146             top= 39;
147             keys { <KP4>, <KP5>, <KP6>, <KPAD> };
148         };
149         row {
150             top= 58;
151             keys { <KP1>, <KP2>, <KP3>, <KPEQ> };
152         };
153         row {
154             top= 77;
155             keys { <KP0>, <KPSP>, <KPDC>, <KPEN> };
156         };
157     }; // End of "Keypad" section
158
159 }; // End of "pc98" geometry