indigo revision 1.1 1 1.1 mrg // $Xorg: indigo,v 1.3 2000/08/17 19:54:37 cpqbld Exp $
2 1.1 mrg //
3 1.1 mrg // Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
4 1.1 mrg //
5 1.1 mrg // Permission to use, copy, modify, and distribute this
6 1.1 mrg // software and its documentation for any purpose and without
7 1.1 mrg // fee is hereby granted, provided that the above copyright
8 1.1 mrg // notice appear in all copies and that both that copyright
9 1.1 mrg // notice and this permission notice appear in supporting
10 1.1 mrg // documentation, and that the name of Silicon Graphics not be
11 1.1 mrg // used in advertising or publicity pertaining to distribution
12 1.1 mrg // of the software without specific prior written permission.
13 1.1 mrg // Silicon Graphics makes no representation about the suitability
14 1.1 mrg // of this software for any purpose. It is provided "as is"
15 1.1 mrg // without any express or implied warranty.
16 1.1 mrg //
17 1.1 mrg // SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
18 1.1 mrg // SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19 1.1 mrg // AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20 1.1 mrg // GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
21 1.1 mrg // DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
22 1.1 mrg // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
23 1.1 mrg // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
24 1.1 mrg // THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 1.1 mrg //
26 1.1 mrg default xkb_geometry "pc101" {
27 1.1 mrg
28 1.1 mrg // This is an approximate layout for a 101-key (US/ASCII) SGI
29 1.1 mrg // keyboard. I just took a similar layout (101 key PC keyboard)
30 1.1 mrg // and adjusted the sizes of a few keys by eye. I didn't actually
31 1.1 mrg // *measure* a real keyboard.
32 1.1 mrg
33 1.1 mrg description= "Silicon Graphics 101-key keyboard";
34 1.1 mrg
35 1.1 mrg width= 472;
36 1.1 mrg height= 193;
37 1.1 mrg
38 1.1 mrg shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
39 1.1 mrg shape.cornerRadius= 1;
40 1.1 mrg shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
41 1.1 mrg shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
42 1.1 mrg shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
43 1.1 mrg shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
44 1.1 mrg shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
45 1.1 mrg shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
46 1.1 mrg shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
47 1.1 mrg shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
48 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
49 1.1 mrg shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
50 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
51 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
52 1.1 mrg shape "LOGO" { { [ 16,16] } };
53 1.1 mrg
54 1.1 mrg outline "Edges" {
55 1.1 mrg top= 0;
56 1.1 mrg left= 0;
57 1.1 mrg shape= "EDGE";
58 1.1 mrg };
59 1.1 mrg
60 1.1 mrg section.left= 19;
61 1.1 mrg row.left= 1;
62 1.1 mrg key.shape= "NORM";
63 1.1 mrg key.gap= 1;
64 1.1 mrg section "Function" {
65 1.1 mrg top= 50;
66 1.1 mrg row {
67 1.1 mrg top= 1;
68 1.1 mrg keys { { <ESC>, color="grey20" },
69 1.1 mrg { <FK01>, 19}, <FK02>, <FK03>, <FK04>,
70 1.1 mrg { <FK05>, 11}, <FK06>, <FK07>, <FK08>,
71 1.1 mrg { <FK09>, 11}, <FK10>, <FK11>, <FK12>
72 1.1 mrg };
73 1.1 mrg };
74 1.1 mrg }; // End of "Function" section
75 1.1 mrg
76 1.1 mrg section "Alpha" {
77 1.1 mrg top= 83;
78 1.1 mrg row {
79 1.1 mrg top= 1;
80 1.1 mrg keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
81 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
82 1.1 mrg <AE10>, <AE11>, <AE12>,
83 1.1 mrg { <BKSP>, "BKSP", color="grey20" }
84 1.1 mrg };
85 1.1 mrg };
86 1.1 mrg row {
87 1.1 mrg top= 20;
88 1.1 mrg keys { { <TAB>, "TABK", color= "grey20" },
89 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
90 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
91 1.1 mrg <AD11>, <AD12>,
92 1.1 mrg { <BKSL>, "BKSL" }
93 1.1 mrg };
94 1.1 mrg };
95 1.1 mrg row {
96 1.1 mrg top= 39;
97 1.1 mrg keys { { <CAPS>, "CAPS", color="grey20" },
98 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
99 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
100 1.1 mrg <AC11>, { <RTRN>, "RTRN", color="grey20" }
101 1.1 mrg };
102 1.1 mrg };
103 1.1 mrg row {
104 1.1 mrg top= 58;
105 1.1 mrg keys { { <LFSH>, "LFSH", color="grey20" },
106 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
107 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
108 1.1 mrg { <RTSH>, "RTSH", color="grey20" }
109 1.1 mrg };
110 1.1 mrg };
111 1.1 mrg row {
112 1.1 mrg top= 77;
113 1.1 mrg key.shape= "MODK";
114 1.1 mrg key.color= "grey20";
115 1.1 mrg keys { <LCTL>, { <LALT>, 20 },
116 1.1 mrg { <SPCE>, "SPCE",color="white" },
117 1.1 mrg <RALT>, { <RCTL>, 20 }
118 1.1 mrg };
119 1.1 mrg };
120 1.1 mrg }; // End of "Alpha" section
121 1.1 mrg
122 1.1 mrg section "Editing" {
123 1.1 mrg top= 50;
124 1.1 mrg left= 312;
125 1.1 mrg key.color= "grey20";
126 1.1 mrg row {
127 1.1 mrg top= 1;
128 1.1 mrg keys { <PRSC>, <SCLK>, <PAUS> };
129 1.1 mrg };
130 1.1 mrg row {
131 1.1 mrg top= 33;
132 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
133 1.1 mrg };
134 1.1 mrg row {
135 1.1 mrg top= 53;
136 1.1 mrg keys { <DELE>, <END>, <PGDN> };
137 1.1 mrg };
138 1.1 mrg row {
139 1.1 mrg top= 91;
140 1.1 mrg left= 20;
141 1.1 mrg keys { <UP> };
142 1.1 mrg };
143 1.1 mrg row {
144 1.1 mrg top= 110;
145 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
146 1.1 mrg };
147 1.1 mrg }; // End of "Editing" section
148 1.1 mrg
149 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
150 1.1 mrg shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
151 1.1 mrg solid "LedPanel" {
152 1.1 mrg shape= "LEDS";
153 1.1 mrg top= 50;
154 1.1 mrg left= 377;
155 1.1 mrg color= "grey10";
156 1.1 mrg };
157 1.1 mrg indicator.onColor= "green";
158 1.1 mrg indicator.offColor= "green30";
159 1.1 mrg indicator.top= 64.5;
160 1.1 mrg indicator.shape= "LED";
161 1.1 mrg indicator "Num Lock" { left= 386; };
162 1.1 mrg indicator "Caps Lock" { left= 411; };
163 1.1 mrg indicator "Scroll Lock" { left= 436; };
164 1.1 mrg text.top= 52;
165 1.1 mrg text.color= "black";
166 1.1 mrg text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
167 1.1 mrg text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
168 1.1 mrg text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
169 1.1 mrg
170 1.1 mrg logo "SGILogoImage" {
171 1.1 mrg top= 17;
172 1.1 mrg left= 22;
173 1.1 mrg name= "SGI";
174 1.1 mrg shape= "LOGO";
175 1.1 mrg };
176 1.1 mrg text "SGILogoText" {
177 1.1 mrg top= 21;
178 1.1 mrg left= 40;
179 1.1 mrg width= 50;
180 1.1 mrg text= "SiliconGraphics";
181 1.1 mrg font= "helvetica";
182 1.1 mrg slant= "o";
183 1.1 mrg weight= "bold";
184 1.1 mrg fontWidth= "narrow";
185 1.1 mrg fontSize= 24;
186 1.1 mrg };
187 1.1 mrg
188 1.1 mrg section "Keypad" {
189 1.1 mrg top= 83;
190 1.1 mrg left= 376;
191 1.1 mrg row {
192 1.1 mrg top= 1;
193 1.1 mrg key.color= "grey20";
194 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
195 1.1 mrg };
196 1.1 mrg row {
197 1.1 mrg top= 20;
198 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
199 1.1 mrg };
200 1.1 mrg row {
201 1.1 mrg top= 39;
202 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
203 1.1 mrg };
204 1.1 mrg row {
205 1.1 mrg top= 58;
206 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
207 1.1 mrg };
208 1.1 mrg row {
209 1.1 mrg top= 77;
210 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
211 1.1 mrg };
212 1.1 mrg }; // End of "Keypad" section
213 1.1 mrg alias <AC00> = <CAPS>;
214 1.1 mrg alias <AA00> = <LCTL>;
215 1.1 mrg };
216 1.1 mrg xkb_geometry "pc102" {
217 1.1 mrg
218 1.1 mrg // This is an approximate layout for 102-key SGI international
219 1.1 mrg // keyboards. I just took a similar layout (101 key PC keyboard)
220 1.1 mrg // and adjusted the sizes of a few keys by eye. I didn't actually
221 1.1 mrg // *measure* a real keyboard.
222 1.1 mrg
223 1.1 mrg description= "Silicon Graphics 102-key Keyboard";
224 1.1 mrg width= 470;
225 1.1 mrg height= 193;
226 1.1 mrg
227 1.1 mrg shape.cornerRadius= 1;
228 1.1 mrg shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
229 1.1 mrg shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
230 1.1 mrg shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
231 1.1 mrg shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
232 1.1 mrg shape "RTRN" {
233 1.1 mrg approx = { [ 0, 0], [26,37] },
234 1.1 mrg { [ 0, 0], [26, 0], [26,37],
235 1.1 mrg [ 5,37], [ 5,18], [ 0,18] },
236 1.1 mrg { [ 1, 1], [24, 1], [24,36],
237 1.1 mrg [ 7,36], [ 7,17], [ 1,17] }
238 1.1 mrg };
239 1.1 mrg shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
240 1.1 mrg shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
241 1.1 mrg shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
242 1.1 mrg shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
243 1.1 mrg shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
244 1.1 mrg shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
245 1.1 mrg shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
246 1.1 mrg shape "LOGO" { { [ 16,16] } };
247 1.1 mrg
248 1.1 mrg outline "Edges" {
249 1.1 mrg top= 0;
250 1.1 mrg left= 0;
251 1.1 mrg shape= "EDGE";
252 1.1 mrg };
253 1.1 mrg
254 1.1 mrg section.left= 19;
255 1.1 mrg row.left= 1;
256 1.1 mrg key.shape= "NORM";
257 1.1 mrg key.gap= 1;
258 1.1 mrg section "Function" {
259 1.1 mrg top= 50;
260 1.1 mrg row {
261 1.1 mrg top= 1;
262 1.1 mrg keys { { <ESC>, color="grey20" },
263 1.1 mrg { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
264 1.1 mrg { <FK05>, 10}, <FK06>, <FK07>, <FK08>,
265 1.1 mrg { <FK09>, 10}, <FK10>, <FK11>, <FK12>
266 1.1 mrg };
267 1.1 mrg };
268 1.1 mrg }; // End of "Function" section
269 1.1 mrg
270 1.1 mrg section "Alpha" {
271 1.1 mrg top= 83;
272 1.1 mrg row {
273 1.1 mrg top= 1;
274 1.1 mrg keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
275 1.1 mrg <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
276 1.1 mrg <AE10>, <AE11>, <AE12>,
277 1.1 mrg { <BKSP>, "BKSP", color= "grey20" }
278 1.1 mrg };
279 1.1 mrg };
280 1.1 mrg row {
281 1.1 mrg top= 20;
282 1.1 mrg keys { { <TAB>, "TABK", color= "grey20" },
283 1.1 mrg <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
284 1.1 mrg <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
285 1.1 mrg <AD11>, <AD12>,
286 1.1 mrg { <RTRN>, "RTRN", color= "grey20" }
287 1.1 mrg };
288 1.1 mrg };
289 1.1 mrg row {
290 1.1 mrg top= 39;
291 1.1 mrg keys { { <CAPS>, "CAPS", color= "grey20" },
292 1.1 mrg <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
293 1.1 mrg <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
294 1.1 mrg <AC11>, <BKSL>
295 1.1 mrg };
296 1.1 mrg };
297 1.1 mrg row {
298 1.1 mrg top= 58;
299 1.1 mrg keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
300 1.1 mrg <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
301 1.1 mrg <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
302 1.1 mrg { <RTSH>, "RTSH", color= "grey20" }
303 1.1 mrg };
304 1.1 mrg };
305 1.1 mrg row {
306 1.1 mrg top= 77;
307 1.1 mrg key.shape= "MODK";
308 1.1 mrg key.color= "grey20";
309 1.1 mrg keys { <LCTL>,
310 1.1 mrg { <LALT>, 19 },
311 1.1 mrg { <SPCE>, "SPCE", color="white" },
312 1.1 mrg <RALT>,
313 1.1 mrg { <RCTL>, 19 }
314 1.1 mrg };
315 1.1 mrg };
316 1.1 mrg }; // End of "Alpha" section
317 1.1 mrg
318 1.1 mrg section "Editing" {
319 1.1 mrg top= 50;
320 1.1 mrg left= 308;
321 1.1 mrg key.color= "grey20";
322 1.1 mrg row {
323 1.1 mrg top= 1;
324 1.1 mrg keys { <PRSC>, <SCLK>, <PAUS> };
325 1.1 mrg };
326 1.1 mrg row {
327 1.1 mrg top= 33;
328 1.1 mrg keys { <INS>, <HOME>, <PGUP> };
329 1.1 mrg };
330 1.1 mrg row {
331 1.1 mrg top= 53;
332 1.1 mrg keys { <DELE>, <END>, <PGDN> };
333 1.1 mrg };
334 1.1 mrg row {
335 1.1 mrg top= 91;
336 1.1 mrg left= 20;
337 1.1 mrg keys { <UP> };
338 1.1 mrg };
339 1.1 mrg row {
340 1.1 mrg top= 110;
341 1.1 mrg keys { <LEFT>, <DOWN>, <RGHT> };
342 1.1 mrg };
343 1.1 mrg }; // End of "Editing" section
344 1.1 mrg
345 1.1 mrg shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
346 1.1 mrg shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
347 1.1 mrg solid "LedPanel" {
348 1.1 mrg shape= "LEDS";
349 1.1 mrg top= 50;
350 1.1 mrg left= 375;
351 1.1 mrg color= "grey10";
352 1.1 mrg };
353 1.1 mrg indicator.onColor= "green";
354 1.1 mrg indicator.offColor= "green30";
355 1.1 mrg indicator.top= 64.5;
356 1.1 mrg indicator.shape= "LED";
357 1.1 mrg indicator "Num Lock" { left= 384; };
358 1.1 mrg indicator "Caps Lock" { left= 409; };
359 1.1 mrg indicator "Scroll Lock" { left= 434; };
360 1.1 mrg text.top= 52;
361 1.1 mrg text.color= "black";
362 1.1 mrg text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
363 1.1 mrg text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
364 1.1 mrg text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
365 1.1 mrg
366 1.1 mrg logo "SGILogoImage" {
367 1.1 mrg top= 17;
368 1.1 mrg left= 22;
369 1.1 mrg name= "SGI";
370 1.1 mrg shape= "LOGO";
371 1.1 mrg };
372 1.1 mrg text "SGILogoText" {
373 1.1 mrg top= 21;
374 1.1 mrg left= 40;
375 1.1 mrg width= 50;
376 1.1 mrg text= "SiliconGraphics";
377 1.1 mrg font= "helvetica";
378 1.1 mrg slant= "o";
379 1.1 mrg weight= "bold";
380 1.1 mrg setWidth= "narrow";
381 1.1 mrg fontSize= 24;
382 1.1 mrg };
383 1.1 mrg
384 1.1 mrg section "Keypad" {
385 1.1 mrg top= 83;
386 1.1 mrg left= 374;
387 1.1 mrg row {
388 1.1 mrg top= 1;
389 1.1 mrg key.color= "grey20";
390 1.1 mrg keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
391 1.1 mrg };
392 1.1 mrg row {
393 1.1 mrg top= 20;
394 1.1 mrg keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
395 1.1 mrg };
396 1.1 mrg row {
397 1.1 mrg top= 39;
398 1.1 mrg keys { <KP4>, <KP5>, <KP6> };
399 1.1 mrg };
400 1.1 mrg row {
401 1.1 mrg top= 58;
402 1.1 mrg keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
403 1.1 mrg };
404 1.1 mrg row {
405 1.1 mrg top= 77;
406 1.1 mrg keys { { <KP0>, "KP0" }, <KPDL> };
407 1.1 mrg };
408 1.1 mrg }; // End of "Keypad" section
409 1.1 mrg alias <AC00> = <CAPS>;
410 1.1 mrg alias <AA00> = <LCTL>;
411 1.1 mrg };
412