1154daed1Smrgdefault xkb_geometry "omnikey101" {
2154daed1Smrg
3154daed1Smrg    description= "North Gate Omnikey 101";
4154daed1Smrg    width= 470;
5154daed1Smrg    height= 175;
6154daed1Smrg
7154daed1Smrg    shape.cornerRadius= 1;
8154daed1Smrg    shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
9154daed1Smrg    shape "BKSP" { { [34,18] }, { [2,1], [32,17] } };
10154daed1Smrg    shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
11154daed1Smrg    shape "RTRN" {
12154daed1Smrg	approx = { [15, 0], [40,37] },
13154daed1Smrg	{ [15, 0], [40, 0], [40,37],
14154daed1Smrg	  [ 0,37], [ 0,19], [15,19] },
15154daed1Smrg	{ [17, 1], [38, 1], [38,36],
16154daed1Smrg	  [ 2,36], [ 2,20], [17,20] }
17154daed1Smrg    };
18154daed1Smrg    shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
19154daed1Smrg    shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
20154daed1Smrg    shape "RTSH" { { [ 30,18] }, { [2,1], [28,17] } };
21154daed1Smrg    shape "MODK" { { [ 26,18] }, { [2,1], [24,17] } };
22154daed1Smrg    shape "SPCE" { { [129,18] }, { [2,1], [127,17] } };
23154daed1Smrg    shape "KP0"  { { [ 37,18] }, { [2,1], [35,17] } };
24154daed1Smrg    shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
25154daed1Smrg
26154daed1Smrg    shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
27154daed1Smrg    shape "LED"  { cornerRadius= 0, { [  1,  3 ] } };
28154daed1Smrg    solid "LedPanel" {
29154daed1Smrg	shape= "LEDS";
30154daed1Smrg	top=  32;
31154daed1Smrg	left= 375;
32154daed1Smrg	color= "grey10";
33154daed1Smrg    };
34154daed1Smrg
35154daed1Smrg    indicator.onColor= "green";
36154daed1Smrg    indicator.offColor= "green30";
37154daed1Smrg    indicator.top= 46.5;
38154daed1Smrg    indicator.shape= "LED";
39154daed1Smrg    indicator "Num Lock"     { left= 384; };
40154daed1Smrg    indicator "Caps Lock"    { left= 409; };
41154daed1Smrg    indicator "Scroll Lock"  { left= 434; };
42154daed1Smrg    text.top= 34;
43154daed1Smrg    text.color= "black";
44154daed1Smrg    text "NumLockLabel"	{ left= 380.5; text="Num\nLock"; };
45154daed1Smrg    text "CapsLockLabel"	{ left= 405; text="Caps\nLock"; };
46154daed1Smrg    text "ScrollLockLabel"	{ left= 430; text="Scroll\nLock"; };
47154daed1Smrg
48154daed1Smrg    section.left= 19;
49154daed1Smrg    row.left= 1;
50154daed1Smrg    key.shape= "NORM";
51154daed1Smrg    key.gap=  1;
52154daed1Smrg    section "Function" {
53154daed1Smrg	top= 32;
54154daed1Smrg	row {
55154daed1Smrg	    top= 1;
56154daed1Smrg	    keys {  { <ESC>, color="grey20" },
57154daed1Smrg		    { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
58154daed1Smrg		    { <FK05>, 9 }, <FK06>, <FK07>, <FK08>,
59154daed1Smrg		    { <FK09>, 9 }, <FK10>, <FK11>, <FK12>
60154daed1Smrg	    };
61154daed1Smrg	};
62154daed1Smrg    }; // End of "Function" section
63154daed1Smrg
64154daed1Smrg    section "Alpha" {
65154daed1Smrg	top= 65;
66154daed1Smrg	row {
67154daed1Smrg	    top= 1;
68154daed1Smrg	    keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
69154daed1Smrg		   <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
70154daed1Smrg		   <AE10>, <AE11>, <AE12>,
71154daed1Smrg		   { <BKSP>, "BKSP", color="grey20" }
72154daed1Smrg	    };
73154daed1Smrg	};
74154daed1Smrg	row {
75154daed1Smrg	    top= 20;
76154daed1Smrg	    keys { { <TAB>, "TABK", color="grey20" },
77154daed1Smrg		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
78154daed1Smrg		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
79154daed1Smrg		   <AD11>, <AD12>,
80154daed1Smrg		   { <RTRN>, "RTRN", -14, color="grey20" }
81154daed1Smrg	    };
82154daed1Smrg	};
83154daed1Smrg	row {
84154daed1Smrg	    top= 39;
85154daed1Smrg	    keys { { <CAPS>, "CAPS", color="grey20" },
86154daed1Smrg		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
87154daed1Smrg		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
88154daed1Smrg		   <AC11>
89154daed1Smrg	    };
90154daed1Smrg	};
91154daed1Smrg	row {
92154daed1Smrg	    top= 58;
93154daed1Smrg	    keys { { <LFSH>, "LFSH", color="grey20" },
94154daed1Smrg		    <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
95154daed1Smrg		    <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
96154daed1Smrg		    { <RTSH>, "RTSH", color="grey20" }, <BKSL>
97154daed1Smrg	    };
98154daed1Smrg	};
99154daed1Smrg	row {
100154daed1Smrg	    top= 77;
101154daed1Smrg	    key.shape= "MODK";
102154daed1Smrg	    key.color= "grey20";
103154daed1Smrg	    keys { <LALT>,
104154daed1Smrg		   { <LCTL>, 23 },
105154daed1Smrg		   { <SPCE>, "SPCE", color="white" },
106154daed1Smrg		   <RCTL>,
107154daed1Smrg		    { <RALT>, 23 }
108154daed1Smrg	    };
109154daed1Smrg	};
110154daed1Smrg    }; // End of "Alpha" section
111154daed1Smrg
112154daed1Smrg    section "Editing" {
113154daed1Smrg	top= 32;
114154daed1Smrg	left= 308;
115154daed1Smrg	key.color= "grey20";
116154daed1Smrg	row {
117154daed1Smrg	    top= 1;
118154daed1Smrg	    keys { <PRSC>, <SCLK>, <PAUS> };
119154daed1Smrg	};
120154daed1Smrg	row {
121154daed1Smrg	    top= 33;
122154daed1Smrg	    keys { <INS>, <HOME>, <PGUP> };
123154daed1Smrg	};
124154daed1Smrg        row {
125154daed1Smrg	    top= 53;
126154daed1Smrg	    keys { <DELE>, <END>, <PGDN> };
127154daed1Smrg	};
128154daed1Smrg	row {
129154daed1Smrg	    top= 91;
130154daed1Smrg	    left= 20;
131154daed1Smrg	    keys { <UP> };
132154daed1Smrg	};
133154daed1Smrg	row {
134154daed1Smrg	    top= 110;
135154daed1Smrg	    keys { <LEFT>, <DOWN>, <RGHT> };
136154daed1Smrg	};
137154daed1Smrg    }; // End of "Editing" section
138154daed1Smrg
139154daed1Smrg    section "Keypad" {
140154daed1Smrg	top= 65;
141154daed1Smrg	left= 374;
142154daed1Smrg	row {
143154daed1Smrg	    top= 1;
144154daed1Smrg	    key.color= "grey20";
145154daed1Smrg	    keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
146154daed1Smrg	};
147154daed1Smrg	row {
148154daed1Smrg	    top= 20;
149154daed1Smrg	    keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
150154daed1Smrg	};
151154daed1Smrg	row {
152154daed1Smrg	    top= 39;
153154daed1Smrg	    keys { <KP4>, <KP5>, <KP6> };
154154daed1Smrg	};
155154daed1Smrg	row {
156154daed1Smrg	    top= 58;
157154daed1Smrg	    keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
158154daed1Smrg	};
159154daed1Smrg	row {
160154daed1Smrg	    top= 77;
161154daed1Smrg	    keys { { <KP0>, "KP0" }, <KPDL> };
162154daed1Smrg	};
163154daed1Smrg    }; // End of "Keypad" section
164154daed1Smrg
165154daed1Smrg    alias <AC00> = <CAPS>;
166154daed1Smrg    alias <AA00> = <LCTL>;
167154daed1Smrg
168154daed1Smrg}; // End of "default" geometry
169