sony revision 154daed1
1// $Xorg: sony,v 1.4 2001/02/09 02:05:51 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//
27default xkb_geometry "nwp5461" {
28
29    description= "Sony NEWS NWS-5000 Keyboard";
30    width= 425;
31    height= 190;
32
33    shape.cornerRadius= 1;
34    shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
35    shape "BKSP" { { [28,18] }, { [2,1], [26,17] } };
36    shape "TABK" { { [28,18] }, { [2,1], [26,17] } };
37    shape "BKSL" { { [28,18] }, { [2,1], [26,17] } };
38    shape "RTRN" {
39        approx = { [15, 0], [33,37] },
40        { [15, 0], [33, 0], [33,37],
41          [ 0,37], [ 0,19], [15,19] },
42        { [17, 1], [31, 1], [31,36],
43          [ 2,36], [ 2,20], [17,20] }
44    };
45    shape "SHFT" { { [42,18] }, { [2,1], [40,17] } };
46    shape "MODK" { { [33,18] }, { [2,1], [31,17] } };
47    shape "SPCE" { { [85,18] }, { [2,1], [83,17] } };
48    shape "KPEN" { { [18,38] }, { [2,1], [16,37] } };
49    shape "STOP" { { [28,18] }, { [2,1], [26,17] } };
50    shape "CUT"  { { [55,18] }, { [2,1], [53,17] } };
51    shape "EXEC" { { [32,18] }, { [2,1], [30,17] } };
52    shape "UNK"  { { [18,18] }, { [2,1], [16,17] } };
53    shape "CAPS" { { [18,18] }, { [2,1], [16,17] } };
54    shape "FKEY" { { [23,18] }, { [2,1], [21,17] } };
55
56    section.left= 13;
57    row.left= 1;
58    key.shape= "NORM";
59    key.gap=  1;
60    section "Function" {
61	top= 55;
62	row {
63	    top= 1;
64	    left= 37;
65	    key.shape="FKEY";
66	    keys {    <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, 
67		    { <FK06>, 5 }, <FK07>, <FK08>, <FK09>, <FK10>, 
68		    { <FK11>, 5 }, <FK12>
69	    };
70	};
71    }; // End of "Function" section
72
73    section "Alpha" {
74	top= 80;
75	row {
76	    top= 1;
77	    keys { { <ESC>, color="grey20" } , 
78		   <AE01>, <AE02>, <AE03>, <AE04>,
79		   <AE05>, <AE06>, <AE07>, <AE08>, 
80		   <AE09>, <AE10>, <AE11>, <AE12>, 
81		   <BKSL>, { <BKSP>, "BKSP", color="grey20" }
82	    };
83	};
84	row {
85	    top= 20;
86	    keys { { <TAB>, "TABK", color="grey20" },
87		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
88		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
89		   <AD11>, <AD12>, { <DELE>, color="grey20" }, 
90		   { <RTRN>, "RTRN", -14, color="grey20" }
91	    };
92	};
93	row {
94	    top= 39;
95	    keys { { <LCTL>, "MODK", color="grey20" },
96		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
97		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
98		   <AC11>, <TLDE>
99	    };
100	};
101	row {
102	    top= 58;
103	    keys { { <LFSH>, "SHFT", color="grey20" },
104		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
105		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
106		    { <RTSH>, "SHFT", color="grey20" }
107	    };
108	};
109	row {
110	    top= 77;
111	    key.shape= "MODK";
112	    key.color= "grey20";
113	    keys { <LALT>, { <CAPS>, "CAPS" },
114		   { <STOP>, "STOP", color="white" },
115		   { <SPCE>, "SPCE", color="white" },
116		   { <CUT>, "CUT", color="white" },
117		   { <UNK0>, "UNK" }, { <UNK1>, "UNK" }, 
118		   { <EXEC>, "EXEC" }
119	    };
120	};
121    }; // End of "Alpha" section
122
123    section "Editing" {
124	top= 80;
125	left= 312;
126	key.color= "grey20";
127	row {
128	    top= 1;
129	    keys { <HELP> };
130	};
131        row {
132	    top= 20;
133	    keys { <INS> };
134	};
135        row {
136	    top= 39;
137	    keys { <CLR> };
138	};
139	row {
140	    top= 58;
141	    keys { <PGUP> };
142	};
143	row {
144	    top= 77;
145	    keys { <PGDN> };
146	};
147    }; // End of "Editing" section
148
149    section "Keypad" {
150	top= 61;
151	left= 334;
152	row {
153	    top= 1;
154	    key.color= "grey20";
155	    keys { { <KPMU>, 19 }, <KPDV>, <KPAD> };
156	};
157	row {
158	    top= 20;
159	    keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color="grey20" } };
160	};
161	row {
162	    top= 39;
163	    keys { <KP4>, <KP5>, <KP6>, { <KPSP>, color="grey20" } };
164	};
165	row {
166	    top= 58;
167	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color="grey20" } };
168	};
169	row {
170	    top= 77;
171	    keys { <KP0>, { <KPDC>, color="grey20" }, <UP> };
172	};
173	row {
174	    top= 96;
175	    key.color= "grey20";
176	    keys { <KPTB>, <LEFT>, <DOWN>, <RGHT> };
177	};
178    }; // End of "Keypad" section
179
180}; // End of "default" geometry
181