Debian Codegraph @

geometry/northgate

raw
1 default xkb_geometry "omnikey101" {
2
3 description= "North Gate Omnikey 101";
4 width= 470;
5 height= 175;
6
7 shape.cornerRadius= 1;
8 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
9 shape "BKSP" { { [34,18] }, { [2,1], [32,17] } };
10 shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
11 shape "RTRN" {
12 approx = { [15, 0], [40,37] },
13 { [15, 0], [40, 0], [40,37],
14 [ 0,37], [ 0,19], [15,19] },
15 { [17, 1], [38, 1], [38,36],
16 [ 2,36], [ 2,20], [17,20] }
17 };
18 shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
19 shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
20 shape "RTSH" { { [ 30,18] }, { [2,1], [28,17] } };
21 shape "MODK" { { [ 26,18] }, { [2,1], [24,17] } };
22 shape "SPCE" { { [129,18] }, { [2,1], [127,17] } };
23 shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
24 shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
25
26 shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
27 shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
28 solid "LedPanel" {
29 shape= "LEDS";
30 top= 32;
31 left= 375;
32 color= "grey10";
33 };
34
35 indicator.onColor= "green";
36 indicator.offColor= "green30";
37 indicator.top= 46.5;
38 indicator.shape= "LED";
39 indicator "Num Lock" { left= 384; };
40 indicator "Caps Lock" { left= 409; };
41 indicator "Scroll Lock" { left= 434; };
42 text.top= 34;
43 text.color= "black";
44 text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
45 text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
46 text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
47
48 section.left= 19;
49 row.left= 1;
50 key.shape= "NORM";
51 key.gap= 1;
52 section "Function" {
53 top= 32;
54 row {
55 top= 1;
56 keys { { <ESC>, color="grey20" },
57 { <FK01>, 18}, <FK02>, <FK03>, <FK04>,
58 { <FK05>, 9 }, <FK06>, <FK07>, <FK08>,
59 { <FK09>, 9 }, <FK10>, <FK11>, <FK12>
60 };
61 };
62 }; // End of "Function" section
63
64 section "Alpha" {
65 top= 65;
66 row {
67 top= 1;
68 keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
69 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
70 <AE10>, <AE11>, <AE12>,
71 { <BKSP>, "BKSP", color="grey20" }
72 };
73 };
74 row {
75 top= 20;
76 keys { { <TAB>, "TABK", color="grey20" },
77 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
78 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
79 <AD11>, <AD12>,
80 { <RTRN>, "RTRN", -14, color="grey20" }
81 };
82 };
83 row {
84 top= 39;
85 keys { { <CAPS>, "CAPS", color="grey20" },
86 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
87 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
88 <AC11>
89 };
90 };
91 row {
92 top= 58;
93 keys { { <LFSH>, "LFSH", color="grey20" },
94 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
95 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
96 { <RTSH>, "RTSH", color="grey20" }, <BKSL>
97 };
98 };
99 row {
100 top= 77;
101 key.shape= "MODK";
102 key.color= "grey20";
103 keys { <LALT>,
104 { <LCTL>, 23 },
105 { <SPCE>, "SPCE", color="white" },
106 <RCTL>,
107 { <RALT>, 23 }
108 };
109 };
110 }; // End of "Alpha" section
111
112 section "Editing" {
113 top= 32;
114 left= 308;
115 key.color= "grey20";
116 row {
117 top= 1;
118 keys { <PRSC>, <SCLK>, <PAUS> };
119 };
120 row {
121 top= 33;
122 keys { <INS>, <HOME>, <PGUP> };
123 };
124 row {
125 top= 53;
126 keys { <DELE>, <END>, <PGDN> };
127 };
128 row {
129 top= 91;
130 left= 20;
131 keys { <UP> };
132 };
133 row {
134 top= 110;
135 keys { <LEFT>, <DOWN>, <RGHT> };
136 };
137 }; // End of "Editing" section
138
139 section "Keypad" {
140 top= 65;
141 left= 374;
142 row {
143 top= 1;
144 key.color= "grey20";
145 keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
146 };
147 row {
148 top= 20;
149 keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
150 };
151 row {
152 top= 39;
153 keys { <KP4>, <KP5>, <KP6> };
154 };
155 row {
156 top= 58;
157 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
158 };
159 row {
160 top= 77;
161 keys { { <KP0>, "KP0" }, <KPDL> };
162 };
163 }; // End of "Keypad" section
164
165 alias <AC00> = <CAPS>;
166 alias <AA00> = <LCTL>;
167
168 }; // End of "default" geometry