1
// $Xorg: O2,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
3
// Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
5
// Permission to use, copy, modify, and distribute this
6
// software and its documentation for any purpose and without
7
// fee is hereby granted, provided that the above copyright
8
// notice appear in all copies and that both that copyright
9
// notice and this permission notice appear in supporting
10
// documentation, and that the name of Silicon Graphics not be
11
// used in advertising or publicity pertaining to distribution
12
// of the software without specific prior written permission.
13
// Silicon Graphics makes no representation about the suitability
14
// of this software for any purpose. It is provided "as is"
15
// without any express or implied warranty.
17
// SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
18
// SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
20
// GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
21
// DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
22
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
23
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
24
// THE USE OR PERFORMANCE OF THIS SOFTWARE.
26
default xkb_geometry "pc101" {
28
// This is an approximate layout for a 101-key (US/ASCII) SGI
29
// keyboard. I just took a similar layout (101 key PC keyboard)
30
// and adjusted the sizes of a few keys by eye. I didn't actually
31
// *measure* a real keyboard.
33
description= "101-key keyboard for Silicon Graphics O2";
40
{ [ 15, 0 ], [ 433, 0 ], [ 433, 10 ], [ 448, 10 ],
41
[ 448, 162 ], [ 0, 162 ], [ 0, 10 ], [ 15, 10 ] }
43
shape.cornerRadius= 1;
44
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
45
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
46
shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
47
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
48
shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
49
shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
50
shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
51
shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
52
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
53
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
54
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
55
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
56
shape "LOGO" { { [ 12,12] } };
72
keys { { <ESC>, color="grey20" },
73
{ <FK01>, 19}, <FK02>, <FK03>, <FK04>,
74
{ <FK05>, 11}, <FK06>, <FK07>, <FK08>,
75
{ <FK09>, 11}, <FK10>, <FK11>, <FK12>
78
}; // End of "Function" section
84
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
85
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
86
<AE10>, <AE11>, <AE12>,
87
{ <BKSP>, "BKSP", color="grey20" }
92
keys { { <TAB>, "TABK", color= "grey20" },
93
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
94
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
101
keys { { <CAPS>, "CAPS", color="grey20" },
102
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
103
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
104
<AC11>, { <RTRN>, "RTRN", color="grey20" }
109
keys { { <LFSH>, "LFSH", color="grey20" },
110
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
111
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
112
{ <RTSH>, "RTSH", color="grey20" }
119
keys { <LCTL>, { <LALT>, 20 },
120
{ <SPCE>, "SPCE",color="white" },
121
<RALT>, { <RCTL>, 20 }
124
}; // End of "Alpha" section
132
keys { <PRSC>, <SCLK>, <PAUS> };
136
keys { <INS>, <HOME>, <PGUP> };
140
keys { <DELE>, <END>, <PGDN> };
149
keys { <LEFT>, <DOWN>, <RGHT> };
151
}; // End of "Editing" section
153
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
154
shape "LED" { cornerRadius= 0, { [ 3, 1.5] } };
161
indicator.onColor= "green";
162
indicator.offColor= "green30";
164
indicator.shape= "LED";
165
indicator "Num Lock" { left= 372; };
166
indicator "Caps Lock" { left= 397; };
167
indicator "Scro llLock" { left= 422; };
169
text.font= "helvetica";
172
text.fontWidth= "normal";
176
text "NumLockLabel" { left= 376.5; text="1"; };
177
text "CapsLockLabel" { left= 401.5; text="A"; };
178
text "ScrollLockLabel" { left= 426.5; text="S"; };
180
logo "SGILogoImage" {
186
text.font= "helvetica";
189
text.fontWidth= "narrow";
191
text "SiliconLogoText" {
197
text "GraphicsLogoText" {
210
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
214
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
218
keys { <KP4>, <KP5>, <KP6> };
222
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
226
keys { { <KP0>, "KP0" }, <KPDL> };
228
}; // End of "Keypad" section
229
alias <AC00> = <CAPS>;
230
alias <AA00> = <LCTL>;
233
xkb_geometry "pc102" {
235
// This is an approximate layout for 102-key SGI international
236
// keyboards. I just took a similar layout (101 key PC keyboard)
237
// and adjusted the sizes of a few keys by eye. I didn't actually
238
// *measure* a real keyboard.
240
description= "Silicon Graphics 102-key Keyboard";
244
shape.cornerRadius= 1;
245
shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
246
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
247
shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
248
shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
250
approx = { [ 0, 0], [26,37] },
251
{ [ 0, 0], [26, 0], [26,37],
252
[ 5,37], [ 5,18], [ 0,18] },
253
{ [ 1, 1], [24, 1], [24,36],
254
[ 7,36], [ 7,17], [ 1,17] }
256
shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
257
shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
258
shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
259
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
260
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
261
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
262
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
263
shape "LOGO" { { [ 16,16] } };
279
keys { { <ESC>, color="grey20" },
280
{ <FK01>, 18}, <FK02>, <FK03>, <FK04>,
281
{ <FK05>, 10}, <FK06>, <FK07>, <FK08>,
282
{ <FK09>, 10}, <FK10>, <FK11>, <FK12>
285
}; // End of "Function" section
291
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
292
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
293
<AE10>, <AE11>, <AE12>,
294
{ <BKSP>, "BKSP", color= "grey20" }
299
keys { { <TAB>, "TABK", color= "grey20" },
300
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
301
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
303
{ <RTRN>, "RTRN", color= "grey20" }
308
keys { { <CAPS>, "CAPS", color= "grey20" },
309
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
310
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
316
keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
317
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
318
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
319
{ <RTSH>, "RTSH", color= "grey20" }
328
{ <SPCE>, "SPCE", color="white" },
333
}; // End of "Alpha" section
341
keys { <PRSC>, <SCLK>, <PAUS> };
345
keys { <INS>, <HOME>, <PGUP> };
349
keys { <DELE>, <END>, <PGDN> };
358
keys { <LEFT>, <DOWN>, <RGHT> };
360
}; // End of "Editing" section
362
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
363
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
370
indicator.onColor= "green";
371
indicator.offColor= "green30";
373
indicator.shape= "LED";
374
indicator "Num Lock" { left= 384; };
375
indicator "Caps Lock" { left= 409; };
376
indicator "Scroll Lock" { left= 434; };
379
text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
380
text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
381
text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
383
logo "SGILogoImage" {
393
text= "SiliconGraphics";
407
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
411
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
415
keys { <KP4>, <KP5>, <KP6> };
419
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
423
keys { { <KP0>, "KP0" }, <KPDL> };
425
}; // End of "Keypad" section
426
alias <AC00> = <CAPS>;
427
alias <AA00> = <LCTL>;
430
xkb_geometry "jp106" {
431
description= "Silicon Graphics 106-key Japanese keyboard";
435
shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
436
shape.cornerRadius= 1;
437
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
438
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
439
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
440
shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
442
{ [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
443
{ [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
444
shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
445
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
446
shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
447
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
448
shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
449
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
450
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
451
shape "LOGO" { { [ 16,16] } };
459
logo "SGILogoImage" {
470
text= "SiliconGraphics";
478
shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
479
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
487
indicator.onColor= "green";
488
indicator.offColor= "green30";
490
indicator.shape= "LED";
491
indicator "Num Lock" { left= 366; };
492
indicator "Caps Lock" { left= 391; };
493
indicator "Scroll Lock" { left= 416; };
496
text "NumLockLabel" { left= 366; text="Num\nLock"; };
497
text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
498
text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
508
keys { { <ESC>, color="grey20" },
509
{ <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
510
{ <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
511
{ <FK07>, color="grey20"}, {<FK08>,color="grey20"},
512
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
513
{ <PRSC>, 8 }, <SCLK>, <PAUS>
516
}; // End of "Function" section
522
keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
523
<AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
524
<AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
525
<AE13>, { <BKSP>, "BKSP", color="grey20" }
530
keys { { <TAB>, "TABK", color="grey20" },
531
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
532
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
533
<AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
538
keys { { <CAPS>, "CAPS", color="grey20" },
539
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
540
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
546
keys { { <LFSH>, "LFSH", color="grey20" },
547
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
548
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
549
<AB11>, { <RTSH>, "RTSH", color="grey20" }
556
keys { <LCTL>, { <LALT>, 20 },<NFER>,
557
{ <SPCE>, "SPCE", color="white" },
558
<XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
561
}; // End of "Alpha" section
569
keys { <INS>, <HOME>, <PGUP> };
573
keys { <DELE>, <END>, <PGDN> };
582
keys { <LEFT>, <DOWN>, <RGHT> };
584
}; // End of "Editing" section
592
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
596
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
600
keys { <KP4>, <KP5>, <KP6> };
604
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
608
keys { { <KP0>, "KP0" }, <KPDL> };
610
}; // End of "Keypad" section
612
alias <AC00> = <CAPS>;
613
alias <AA00> = <LCTL>;
615
}; // End of "jp106" geometry