first feed-in of the layouts. The revolution is coming
[xorg/xkeyboard-config] / geometry / dell
1 // $Xorg: dell,v 1.4 2001/02/09 02:05:49 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$
28 //
29 default xkb_geometry "dell101" {
30
31     description= "Dell 101";
32     width= 470;
33     height= 210;
34
35     shape.cornerRadius= 1;
36     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
37     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
38     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
39     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
40     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
41     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
42     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
43     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
44     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
45     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
46     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
47     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
48
49     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
50     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
51     solid "LedPanel" {
52         shape= "LEDS";
53         top=  52;
54         left= 377;
55         color= "grey10";
56     };
57
58     indicator.onColor= "green";
59     indicator.offColor= "green30";
60     indicator.top= 67;
61     indicator.shape= "LED";
62     indicator "Num Lock"     { left= 382; };
63     indicator "Caps Lock"    { left= 407; };
64     indicator "Scroll Lock"  { left= 433; };
65     text.top= 55;
66     text.color= "black";
67     text "NumLockLabel"         { left= 378; text="Num\nLock"; };
68     text "CapsLockLabel"        { left= 403; text="Caps\nLock"; };
69     text "ScrollLockLabel"      { left= 428; text="Scroll\nLock"; };
70
71     section.left= 19;
72     row.left= 1;
73     key.shape= "NORM";
74     key.gap=  1;
75     section "Function" {
76         top= 52;
77         row {
78             top= 1;
79             keys {  { <ESC>, color="grey20" },
80                     { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
81                     { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
82                     { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
83                     { <PRSC>, 8 }, <SCLK>, <PAUS> 
84             };
85         };
86     }; // End of "Function" section
87
88     section "Alpha" {
89         top= 91;
90         row {
91             top= 1;
92             keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
93                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
94                    <AE10>, <AE11>, <AE12>,
95                    { <BKSP>, "BKSP", color="grey20" }
96             };
97         };
98         row {
99             top= 20;
100             keys { { <TAB>, "TABK", color="grey20" },
101                    <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
102                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
103                    <AD11>, <AD12>, { <BKSL>, "BKSL" }
104             };
105         };
106         row {
107             top= 39;
108             keys { { <CAPS>, "CAPS", color="grey20" },
109                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
110                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
111                    <AC11>, { <RTRN>, "RTRN", color="grey20" }
112             };
113         };
114         row {
115             top= 58;
116             keys { { <LFSH>, "LFSH", color="grey20" },
117                     <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
118                     <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
119                     { <RTSH>, "RTSH", color="grey20" }
120             };
121         };
122         row {
123             top= 77;
124             key.shape= "MODK";
125             key.color= "grey20";
126             keys { <LCTL>, { <LALT>, 21 },
127                    { <SPCE>, "SPCE", color="white" },
128                    <RALT>, { <RCTL>, 21 }
129             };
130         };
131     }; // End of "Alpha" section
132
133     section "Editing" {
134         top= 91;
135         left= 312;
136         key.color= "grey20";
137         row {
138             top= 1;
139             keys { <INS>, <HOME>, <PGUP> };
140         };
141         row {
142             top= 20;
143             keys { <DELE>, <END>, <PGDN> };
144         };
145         row {
146             top= 58;
147             left= 20;
148             keys { <UP> };
149         };
150         row {
151             top= 77;
152             keys { <LEFT>, <DOWN>, <RGHT> };
153         };
154     }; // End of "Editing" section
155
156     section "Keypad" {
157         top= 91;
158         left= 376;
159         row {
160             top= 1;
161             key.color= "grey20";
162             keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
163         };
164         row {
165             top= 20;
166             keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
167         };
168         row {
169             top= 39;
170             keys { <KP4>, <KP5>, <KP6> };
171         };
172         row {
173             top= 58;
174             keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
175         };
176         row {
177             top= 77;
178             keys { { <KP0>, "KP0" }, <KPDL> };
179         };
180     }; // End of "Keypad" section
181
182     alias <AC00> = <CAPS>;
183     alias <AA00> = <LCTL>;
184
185 }; // End of "default" geometry