| 1 |
// Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. |
| 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 |
|
| 28 |
xkb_geometry "t6" { |
| 29 |
|
| 30 |
// This is an approximate layout for a (US/ASCII) Sun Type6 |
| 31 |
// keyboard. I just took a similar layout (101 key PC keyboard) |
| 32 |
// and adjusted the sizes. |
| 33 |
|
| 34 |
width= 515; |
| 35 |
height= 170; |
| 36 |
|
| 37 |
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; |
| 38 |
shape.cornerRadius= 1; |
| 39 |
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; |
| 40 |
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 41 |
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 42 |
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 43 |
shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } }; |
| 44 |
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 45 |
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; |
| 46 |
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; |
| 47 |
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 48 |
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 49 |
shape "SPCE" { { [136,18] }, { [2,1], [134,17] } }; |
| 50 |
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 51 |
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; |
| 52 |
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 53 |
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 54 |
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 55 |
shape "LOGO" { { [ 16,16] } }; |
| 56 |
|
| 57 |
outline "Edges" { |
| 58 |
top= 0; |
| 59 |
left= 0; |
| 60 |
shape= "EDGE"; |
| 61 |
}; |
| 62 |
|
| 63 |
section.left= 14; |
| 64 |
row.left= 1; |
| 65 |
key.shape= "NORM"; |
| 66 |
key.gap= 1; |
| 67 |
section "Function" { |
| 68 |
top= 24; |
| 69 |
row { |
| 70 |
top= 1; |
| 71 |
keys { { <HELP>, "HELP" }, { <ESC>, 9 }, |
| 72 |
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>, |
| 73 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 74 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 75 |
{ <PRSC>, 9 }, <SCLK>, <PAUS>, |
| 76 |
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR> |
| 77 |
}; |
| 78 |
}; |
| 79 |
}; // End of "Function" section |
| 80 |
|
| 81 |
section "Alpha" { |
| 82 |
top= 61; |
| 83 |
row { |
| 84 |
top= 1; |
| 85 |
keys { <STOP>, <AGAI>, |
| 86 |
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>, |
| 87 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 88 |
<AE10>, <AE11>, <AE12>, |
| 89 |
{ <BKSP>, "BKSP", color="grey20" } |
| 90 |
}; |
| 91 |
}; |
| 92 |
row { |
| 93 |
top= 20; |
| 94 |
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" }, |
| 95 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 96 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 97 |
<AD11>, <AD12>, |
| 98 |
{ <BKSL>, "BKSL" } |
| 99 |
}; |
| 100 |
}; |
| 101 |
row { |
| 102 |
top= 39; |
| 103 |
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" }, |
| 104 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 105 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 106 |
<AC11>, |
| 107 |
{ <RTRN>, "RTRN" } |
| 108 |
}; |
| 109 |
}; |
| 110 |
row { |
| 111 |
top= 58; |
| 112 |
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, |
| 113 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 114 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 115 |
{ <RTSH>, "RTSH", color="grey20" } |
| 116 |
}; |
| 117 |
}; |
| 118 |
row { |
| 119 |
top= 77; |
| 120 |
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" }, |
| 121 |
<LALT>, { <LMTA>, "LMTA" }, |
| 122 |
{ <SPCE>, "SPCE" }, |
| 123 |
{ <RMTA>, "RMTA" }, <COMP>, <ALGR> |
| 124 |
}; |
| 125 |
}; |
| 126 |
}; // End of "Alpha" section |
| 127 |
|
| 128 |
section "Editing" { |
| 129 |
top= 61; |
| 130 |
left= 352; |
| 131 |
row { |
| 132 |
top= 1; |
| 133 |
keys { <INS>, <HOME>, <PGUP> }; |
| 134 |
}; |
| 135 |
row { |
| 136 |
top= 20; |
| 137 |
keys { <DELE>, <END>, <PGDN> }; |
| 138 |
}; |
| 139 |
row { |
| 140 |
top= 58; |
| 141 |
left= 20; |
| 142 |
keys { <UP> }; |
| 143 |
}; |
| 144 |
row { |
| 145 |
top= 77; |
| 146 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 147 |
}; |
| 148 |
}; // End of "Editing" section |
| 149 |
|
| 150 |
section "Keypad" { |
| 151 |
top= 61; |
| 152 |
left= 420; |
| 153 |
row { |
| 154 |
top= 1; |
| 155 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 156 |
}; |
| 157 |
row { |
| 158 |
top= 20; |
| 159 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } }; |
| 160 |
}; |
| 161 |
row { |
| 162 |
top= 39; |
| 163 |
keys { <KP4>, <KP5>, <KP6> }; |
| 164 |
}; |
| 165 |
row { |
| 166 |
top= 58; |
| 167 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } }; |
| 168 |
}; |
| 169 |
row { |
| 170 |
top= 77; |
| 171 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 172 |
}; |
| 173 |
}; // End of "Keypad" section |
| 174 |
|
| 175 |
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; |
| 176 |
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; |
| 177 |
solid "LedPanel" { |
| 178 |
shape= "LEDS"; |
| 179 |
top= 1; |
| 180 |
left= 218; |
| 181 |
}; |
| 182 |
indicator.onColor= "green"; |
| 183 |
indicator.offColor= "green30"; |
| 184 |
indicator.top= 10; |
| 185 |
indicator.shape= "LED"; |
| 186 |
indicator "CapsLock" { left= 243; }; |
| 187 |
indicator "Compose" { left= 281; }; |
| 188 |
indicator "ScrollLock" { left= 262; }; |
| 189 |
indicator "NumLock" { left= 224; }; |
| 190 |
text.top= 1; |
| 191 |
text.color= "black"; |
| 192 |
text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; |
| 193 |
text "ComposeLabel" { left= 281; text="Compose"; }; |
| 194 |
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; |
| 195 |
text "NumLockLabel" { left= 224; text="Num\nLock"; }; |
| 196 |
|
| 197 |
}; |
| 198 |
|
| 199 |
xkb_geometry "t6tuv" { |
| 200 |
|
| 201 |
// This is an approximate layout for a (US/ASCII) Sun Type6 |
| 202 |
// keyboard. I just took a similar layout (101 key PC keyboard) |
| 203 |
// and adjusted the sizes. |
| 204 |
|
| 205 |
width= 515; |
| 206 |
height= 170; |
| 207 |
|
| 208 |
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; |
| 209 |
shape.cornerRadius= 1; |
| 210 |
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; |
| 211 |
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 212 |
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 213 |
shape "RTRN" { |
| 214 |
approx = { [ 0, 0], [28,37] }, |
| 215 |
{ [ 0, 0], [28, 0], [28,37], |
| 216 |
[ 5,37], [ 5,18], [ 0,18] }, |
| 217 |
{ [ 1, 1], [26, 1], [26,36], |
| 218 |
[ 7,36], [ 7,17], [ 1,17] } |
| 219 |
}; |
| 220 |
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 221 |
shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } }; |
| 222 |
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; |
| 223 |
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 224 |
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 225 |
shape "SPCE" { { [137,18] }, { [2,1], [135,17] } }; |
| 226 |
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 227 |
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; |
| 228 |
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 229 |
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 230 |
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 231 |
shape "LOGO" { { [ 16,16] } }; |
| 232 |
|
| 233 |
outline "Edges" { |
| 234 |
top= 0; |
| 235 |
left= 0; |
| 236 |
shape= "EDGE"; |
| 237 |
}; |
| 238 |
|
| 239 |
section.left= 14; |
| 240 |
row.left= 1; |
| 241 |
key.shape= "NORM"; |
| 242 |
key.gap= 1; |
| 243 |
section "Function" { |
| 244 |
top= 24; |
| 245 |
row { |
| 246 |
top= 1; |
| 247 |
keys { { <HELP>, "HELP" }, { <ESC>, 9 }, |
| 248 |
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>, |
| 249 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 250 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 251 |
{ <PRSC>, 9 }, <SCLK>, <PAUS>, |
| 252 |
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR> |
| 253 |
}; |
| 254 |
}; |
| 255 |
}; // End of "Function" section |
| 256 |
|
| 257 |
section "Alpha" { |
| 258 |
top= 61; |
| 259 |
row { |
| 260 |
top= 1; |
| 261 |
keys { <STOP>, <AGAI>, |
| 262 |
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>, |
| 263 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 264 |
<AE10>, <AE11>, <AE12>, |
| 265 |
{ <BKSP>, "BKSP", color="grey20" } |
| 266 |
}; |
| 267 |
}; |
| 268 |
row { |
| 269 |
top= 20; |
| 270 |
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" }, |
| 271 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 272 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 273 |
<AD11>, <AD12>, |
| 274 |
{ <RTRN>, "RTRN" } |
| 275 |
}; |
| 276 |
}; |
| 277 |
row { |
| 278 |
top= 39; |
| 279 |
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" }, |
| 280 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 281 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 282 |
<AC11>, <BKSL> |
| 283 |
}; |
| 284 |
}; |
| 285 |
row { |
| 286 |
top= 58; |
| 287 |
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>, |
| 288 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 289 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 290 |
{ <RTSH>, "RTSH", color="grey20" } |
| 291 |
}; |
| 292 |
}; |
| 293 |
row { |
| 294 |
top= 77; |
| 295 |
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" }, |
| 296 |
<LALT>, { <LMTA>, "LMTA" }, |
| 297 |
{ <SPCE>, "SPCE" }, |
| 298 |
{ <RMTA>, "RMTA" }, <COMP>, <ALGR> |
| 299 |
}; |
| 300 |
}; |
| 301 |
}; // End of "Alpha" section |
| 302 |
|
| 303 |
section "Editing" { |
| 304 |
top= 61; |
| 305 |
left= 352; |
| 306 |
row { |
| 307 |
top= 1; |
| 308 |
keys { <INS>, <HOME>, <PGUP> }; |
| 309 |
}; |
| 310 |
row { |
| 311 |
top= 20; |
| 312 |
keys { <DELE>, <END>, <PGDN> }; |
| 313 |
}; |
| 314 |
row { |
| 315 |
top= 58; |
| 316 |
left= 20; |
| 317 |
keys { <UP> }; |
| 318 |
}; |
| 319 |
row { |
| 320 |
top= 77; |
| 321 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 322 |
}; |
| 323 |
}; // End of "Editing" section |
| 324 |
|
| 325 |
section "Keypad" { |
| 326 |
top= 61; |
| 327 |
left= 420; |
| 328 |
row { |
| 329 |
top= 1; |
| 330 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 331 |
}; |
| 332 |
row { |
| 333 |
top= 20; |
| 334 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } }; |
| 335 |
}; |
| 336 |
row { |
| 337 |
top= 39; |
| 338 |
keys { <KP4>, <KP5>, <KP6> }; |
| 339 |
}; |
| 340 |
row { |
| 341 |
top= 58; |
| 342 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } }; |
| 343 |
}; |
| 344 |
row { |
| 345 |
top= 77; |
| 346 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 347 |
}; |
| 348 |
}; // End of "Keypad" section |
| 349 |
|
| 350 |
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; |
| 351 |
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; |
| 352 |
solid "LedPanel" { |
| 353 |
shape= "LEDS"; |
| 354 |
top= 1; |
| 355 |
left= 218; |
| 356 |
}; |
| 357 |
indicator.onColor= "green"; |
| 358 |
indicator.offColor= "green30"; |
| 359 |
indicator.top= 10; |
| 360 |
indicator.shape= "LED"; |
| 361 |
indicator "CapsLock" { left= 243; }; |
| 362 |
indicator "Compose" { left= 281; }; |
| 363 |
indicator "ScrollLock" { left= 262; }; |
| 364 |
indicator "NumLock" { left= 224; }; |
| 365 |
text.top= 1; |
| 366 |
text.color= "black"; |
| 367 |
text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; |
| 368 |
text "ComposeLabel" { left= 281; text="Compose"; }; |
| 369 |
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; |
| 370 |
text "NumLockLabel" { left= 224; text="Num\nLock"; }; |
| 371 |
|
| 372 |
}; |
| 373 |
|
| 374 |
xkb_geometry "t6jp" { |
| 375 |
|
| 376 |
// This is an approximate layout for a (US/ASCII) Sun Type6 |
| 377 |
// keyboard. I just took a similar layout (101 key PC keyboard) |
| 378 |
// and adjusted the sizes. |
| 379 |
|
| 380 |
width= 515; |
| 381 |
height= 170; |
| 382 |
|
| 383 |
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; |
| 384 |
shape.cornerRadius= 1; |
| 385 |
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; |
| 386 |
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 387 |
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 388 |
shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 389 |
shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 390 |
shape "RTRN" { |
| 391 |
approx = { [ 0, 0], [28,37] }, |
| 392 |
{ [ 0, 0], [28, 0], [28,37], |
| 393 |
[ 5,37], [ 5,18], [ 0,18] }, |
| 394 |
{ [ 1, 1], [26, 1], [26,36], |
| 395 |
[ 7,36], [ 7,17], [ 1,17] } |
| 396 |
}; |
| 397 |
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 398 |
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; |
| 399 |
shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } }; |
| 400 |
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 401 |
shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } }; |
| 402 |
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 403 |
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; |
| 404 |
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 405 |
shape "LOGO" { { [ 16,16] } }; |
| 406 |
|
| 407 |
outline "Edges" { |
| 408 |
top= 0; |
| 409 |
left= 0; |
| 410 |
shape= "EDGE"; |
| 411 |
}; |
| 412 |
|
| 413 |
section.left= 14; |
| 414 |
row.left= 1; |
| 415 |
key.shape= "NORM"; |
| 416 |
key.gap= 1; |
| 417 |
section "Function" { |
| 418 |
top= 24; |
| 419 |
row { |
| 420 |
top= 1; |
| 421 |
keys { { <HELP>, "HELP" }, { <ESC>, 9 }, |
| 422 |
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>, |
| 423 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 424 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 425 |
{ <PRSC>, 9 }, <SCLK>, <PAUS>, |
| 426 |
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR> |
| 427 |
}; |
| 428 |
}; |
| 429 |
}; // End of "Function" section |
| 430 |
|
| 431 |
section "Alpha" { |
| 432 |
top= 61; |
| 433 |
row { |
| 434 |
top= 1; |
| 435 |
keys { <STOP>, <AGAI>, |
| 436 |
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>, |
| 437 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 438 |
<AE10>, <AE11>, <AE12>, |
| 439 |
{ <BKSP>, "BKSP", color="grey20" } |
| 440 |
}; |
| 441 |
}; |
| 442 |
row { |
| 443 |
top= 20; |
| 444 |
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" }, |
| 445 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 446 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 447 |
<AD11>, <AD12>, |
| 448 |
{ <RTRN>, "RTRN" } |
| 449 |
}; |
| 450 |
}; |
| 451 |
row { |
| 452 |
top= 39; |
| 453 |
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" }, |
| 454 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 455 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 456 |
<AC11>, <BKSL> |
| 457 |
}; |
| 458 |
}; |
| 459 |
row { |
| 460 |
top= 58; |
| 461 |
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, |
| 462 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 463 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>, |
| 464 |
{ <RTSH>, "RTSH", color="grey20" } |
| 465 |
}; |
| 466 |
}; |
| 467 |
row { |
| 468 |
top= 77; |
| 469 |
keys { <FIND>, <CUT>, { <LCTL>, 9 }, |
| 470 |
<LALT>, <LMTA>, { <EXEC>, "EXEC" }, |
| 471 |
{ <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>, |
| 472 |
<RMTA>, <COMP>, <ALGR> |
| 473 |
}; |
| 474 |
}; |
| 475 |
}; // End of "Alpha" section |
| 476 |
|
| 477 |
section "Editing" { |
| 478 |
top= 61; |
| 479 |
left= 352; |
| 480 |
row { |
| 481 |
top= 1; |
| 482 |
keys { <INS>, <HOME>, <PGUP> }; |
| 483 |
}; |
| 484 |
row { |
| 485 |
top= 20; |
| 486 |
keys { <DELE>, <END>, <PGDN> }; |
| 487 |
}; |
| 488 |
row { |
| 489 |
top= 58; |
| 490 |
left= 20; |
| 491 |
keys { <UP> }; |
| 492 |
}; |
| 493 |
row { |
| 494 |
top= 77; |
| 495 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 496 |
}; |
| 497 |
}; // End of "Editing" section |
| 498 |
|
| 499 |
section "Keypad" { |
| 500 |
top= 61; |
| 501 |
left= 420; |
| 502 |
row { |
| 503 |
top= 1; |
| 504 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 505 |
}; |
| 506 |
row { |
| 507 |
top= 20; |
| 508 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } }; |
| 509 |
}; |
| 510 |
row { |
| 511 |
top= 39; |
| 512 |
keys { <KP4>, <KP5>, <KP6> }; |
| 513 |
}; |
| 514 |
row { |
| 515 |
top= 58; |
| 516 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } }; |
| 517 |
}; |
| 518 |
row { |
| 519 |
top= 77; |
| 520 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 521 |
}; |
| 522 |
}; // End of "Keypad" section |
| 523 |
|
| 524 |
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; |
| 525 |
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; |
| 526 |
solid "LedPanel" { |
| 527 |
shape= "LEDS"; |
| 528 |
top= 1; |
| 529 |
left= 218; |
| 530 |
}; |
| 531 |
indicator.onColor= "green"; |
| 532 |
indicator.offColor= "green30"; |
| 533 |
indicator.top= 10; |
| 534 |
indicator.shape= "LED"; |
| 535 |
indicator "CapsLock" { left= 243; }; |
| 536 |
indicator "Compose" { left= 281; }; |
| 537 |
indicator "ScrollLock" { left= 262; }; |
| 538 |
indicator "NumLock" { left= 224; }; |
| 539 |
text.top= 1; |
| 540 |
text.color= "black"; |
| 541 |
text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; |
| 542 |
text "ComposeLabel" { left= 281; text="Compose"; }; |
| 543 |
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; |
| 544 |
text "NumLockLabel" { left= 224; text="Num\nLock"; }; |
| 545 |
|
| 546 |
}; |
| 547 |
|
| 548 |
xkb_geometry "t6unix" { |
| 549 |
|
| 550 |
// This is an approximate layout for a (US/ASCII) Sun Type6 |
| 551 |
// keyboard. I just took a similar layout (101 key PC keyboard) |
| 552 |
// and adjusted the sizes. |
| 553 |
|
| 554 |
width= 515; |
| 555 |
height= 170; |
| 556 |
|
| 557 |
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; |
| 558 |
shape.cornerRadius= 1; |
| 559 |
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; |
| 560 |
shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 561 |
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; |
| 562 |
shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } }; |
| 563 |
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 564 |
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; |
| 565 |
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; |
| 566 |
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; |
| 567 |
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 568 |
shape "SPCE" { { [136,18] }, { [2,1], [134,17] } }; |
| 569 |
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 570 |
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; |
| 571 |
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; |
| 572 |
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 573 |
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; |
| 574 |
shape "LOGO" { { [ 16,16] } }; |
| 575 |
|
| 576 |
outline "Edges" { |
| 577 |
top= 0; |
| 578 |
left= 0; |
| 579 |
shape= "EDGE"; |
| 580 |
}; |
| 581 |
|
| 582 |
section.left= 14; |
| 583 |
row.left= 1; |
| 584 |
key.shape= "NORM"; |
| 585 |
key.gap= 1; |
| 586 |
section "Function" { |
| 587 |
top= 24; |
| 588 |
row { |
| 589 |
top= 1; |
| 590 |
keys { { <HELP>, "HELP" }, { <NONE>, 9 }, |
| 591 |
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>, |
| 592 |
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>, |
| 593 |
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>, |
| 594 |
{ <PRSC>, 9 }, <SCLK>, <PAUS>, |
| 595 |
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR> |
| 596 |
}; |
| 597 |
}; |
| 598 |
}; // End of "Function" section |
| 599 |
|
| 600 |
section "Alpha" { |
| 601 |
top= 61; |
| 602 |
row { |
| 603 |
top= 1; |
| 604 |
keys { <STOP>, <AGAI>, |
| 605 |
{ <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>, |
| 606 |
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>, |
| 607 |
<AE10>, <AE11>, <AE12>, |
| 608 |
<BKSL>, <TLDE> |
| 609 |
}; |
| 610 |
}; |
| 611 |
row { |
| 612 |
top= 20; |
| 613 |
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" }, |
| 614 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 615 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 616 |
<AD11>, <AD12>, |
| 617 |
{ <BKSP>, "BKSP", color="grey20" } |
| 618 |
}; |
| 619 |
}; |
| 620 |
row { |
| 621 |
top= 39; |
| 622 |
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" }, |
| 623 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 624 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 625 |
<AC11>, |
| 626 |
{ <RTRN>, "RTRN" } |
| 627 |
}; |
| 628 |
}; |
| 629 |
row { |
| 630 |
top= 58; |
| 631 |
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, |
| 632 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 633 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, |
| 634 |
{ <RTSH>, "RTSH", color="grey20" } |
| 635 |
}; |
| 636 |
}; |
| 637 |
row { |
| 638 |
top= 77; |
| 639 |
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" }, |
| 640 |
<LALT>, {<LMTA>, "LMTA"}, |
| 641 |
{ <SPCE>, "SPCE" }, |
| 642 |
{<RMTA>, "RMTA"}, <COMP>, <ALGR> |
| 643 |
}; |
| 644 |
}; |
| 645 |
}; // End of "Alpha" section |
| 646 |
|
| 647 |
section "Editing" { |
| 648 |
top= 61; |
| 649 |
left= 352; |
| 650 |
row { |
| 651 |
top= 1; |
| 652 |
keys { <INS>, <HOME>, <PGUP> }; |
| 653 |
}; |
| 654 |
row { |
| 655 |
top= 20; |
| 656 |
keys { <DELE>, <END>, <PGDN> }; |
| 657 |
}; |
| 658 |
row { |
| 659 |
top= 58; |
| 660 |
left= 20; |
| 661 |
keys { <UP> }; |
| 662 |
}; |
| 663 |
row { |
| 664 |
top= 77; |
| 665 |
keys { <LEFT>, <DOWN>, <RGHT> }; |
| 666 |
}; |
| 667 |
}; // End of "Editing" section |
| 668 |
|
| 669 |
section "Keypad" { |
| 670 |
top= 61; |
| 671 |
left= 420; |
| 672 |
row { |
| 673 |
top= 1; |
| 674 |
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; |
| 675 |
}; |
| 676 |
row { |
| 677 |
top= 20; |
| 678 |
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } }; |
| 679 |
}; |
| 680 |
row { |
| 681 |
top= 39; |
| 682 |
keys { <KP4>, <KP5>, <KP6> }; |
| 683 |
}; |
| 684 |
row { |
| 685 |
top= 58; |
| 686 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } }; |
| 687 |
}; |
| 688 |
row { |
| 689 |
top= 77; |
| 690 |
keys { { <KP0>, "KP0" }, <KPDL> }; |
| 691 |
}; |
| 692 |
}; // End of "Keypad" section |
| 693 |
|
| 694 |
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; |
| 695 |
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; |
| 696 |
solid "LedPanel" { |
| 697 |
shape= "LEDS"; |
| 698 |
top= 1; |
| 699 |
left= 218; |
| 700 |
}; |
| 701 |
indicator.onColor= "green"; |
| 702 |
indicator.offColor= "green30"; |
| 703 |
indicator.top= 10; |
| 704 |
indicator.shape= "LED"; |
| 705 |
indicator "CapsLock" { left= 243; }; |
| 706 |
indicator "Compose" { left= 281; }; |
| 707 |
indicator "ScrollLock" { left= 262; }; |
| 708 |
indicator "NumLock" { left= 224; }; |
| 709 |
text.top= 1; |
| 710 |
text.color= "black"; |
| 711 |
text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; |
| 712 |
text "ComposeLabel" { left= 281; text="Compose"; }; |
| 713 |
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; |
| 714 |
text "NumLockLabel" { left= 224; text="Num\nLock"; }; |
| 715 |
}; |
| 716 |
|
| 717 |
|
| 718 |
default xkb_geometry "type6" { |
| 719 |
include "sun(t6)" |
| 720 |
description= "Sun Type6 keyboard (US, Korea, Taiwan)"; |
| 721 |
}; |
| 722 |
|
| 723 |
xkb_geometry "type6jp" { |
| 724 |
include "sun(t6jp)" |
| 725 |
description= "Sun Type6 Japanese keyboard"; |
| 726 |
}; |
| 727 |
|
| 728 |
xkb_geometry "type6tuv" { |
| 729 |
include "sun(t6tuv)" |
| 730 |
description= "Sun Type6 TUV keyboard"; |
| 731 |
}; |
| 732 |
|
| 733 |
xkb_geometry "type6unix" { |
| 734 |
include "sun(t6unix)" |
| 735 |
description= "Sun Type6 Unix keyboard"; |
| 736 |
}; |
| 737 |
|
| 738 |
xkb_geometry "type7" { |
| 739 |
include "sun(t6)" |
| 740 |
description= "Sun Type7 keyboard (US, Korea, Taiwan)"; |
| 741 |
}; |
| 742 |
|
| 743 |
xkb_geometry "type7jp" { |
| 744 |
include "sun(t6jp)" |
| 745 |
description= "Sun Type7 Japanese keyboard"; |
| 746 |
}; |
| 747 |
|
| 748 |
xkb_geometry "type7tuv" { |
| 749 |
include "sun(t6tuv)" |
| 750 |
description= "Sun Type7 TUV keyboard"; |
| 751 |
}; |
| 752 |
|
| 753 |
xkb_geometry "type7unix" { |
| 754 |
include "sun(t6unix)" |
| 755 |
description= "Sun Type7 Unix keyboard"; |
| 756 |
}; |