🚀 feat(kali): thanks to kalilinux.org

This commit is contained in:
Eshan Roy
2024-12-01 12:52:25 +05:30
parent 59d73ef931
commit 4f4507ec21
5352 changed files with 187554 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
The geometry component of a keyboard mapping specifies primarily the geometry of
the keyboard. It contains the geometry symbolic name and the keyboard geometry
description. The geometry component might also contain aliases for some keys or
symbolic names for some indicators and might affect the set of indicators that
are physically present. Key aliases defined in the geometry component of a
keyboard mapping override those defined in the keycodes component.

View File

@@ -0,0 +1,264 @@
default xkb_geometry "usa1" {
description= "Amiga (usa1)";
width= 490;
height= 175;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "FCTS" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "TLDE" { { [ 28,18] }, { [2,1], [ 21,17] } };
shape "TABK" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "CTRL" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "CAPS" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "RTRN" {
approx = { [ 16, 0], [42,37] },
{ [16, 0], [42, 0], [42,37],
[ 0,37], [ 0,19], [16,19] },
{ [18, 1], [40, 1], [40,36],
[ 2,36], [ 2,20], [18,20] } };
shape "LFSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
shape "MODK" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "SPCE" { { [172,18] }, { [2,1], [170,17] } };
shape "DELE" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
section.left= 22;
row.left= 1;
key.shape= "FCTS";
key.gap= 1;
section "Function" {
top= 28;
row {
top= 1;
keys { { <ESC>, shape="NORM" },
{ <FK01>, 9 }, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 9 }, <FK07>, <FK08>, <FK09>, <FK10>
};
};
}; // End of "Function" section
key.shape= "NORM";
section "Alpha" {
top= 56;
row {
top= 1;
keys { { <TLDE>, shape="TLDE" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<BKSL>, { <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN", -15 }
};
};
row {
top= 39;
keys { { <LCTL>, "CTRL" }, { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
key.shape= "MODK";
keys { { <LALT>, 10 }, <LAMI>,
{ <SPCE>, "SPCE" },
<RAMI>, <RALT>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 56;
left= 326;
row {
top= 1;
key.shape = "DELE";
keys { <DELE>, <HELP> };
};
row {
top= 39;
left = 20;
keys { <UP> };
};
row {
top= 58;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 56;
left= 392;
row {
top= 1;
keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPAD> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDC> };
};
}; // End of "Keypad" section
};
xkb_geometry "de" {
description= "Amiga (de)";
width= 490;
height= 175;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "FCTS" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "TLDE" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "TABK" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "CTRL" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "CAPS" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "RTRN" {
{ [ 0, 0], [28,0], [28,37], [5,37], [5,18], [ 0,18] },
{ [ 2, 1], [26,1], [26,36], [7,36], [7,17], [ 2,17] } };
shape "LFSH" { { [ 32,18] }, { [2,1], [ 29,17] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
shape "MODK" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "SPCE" { { [172,18] }, { [2,1], [170,17] } };
shape "DELE" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
section.left= 22;
row.left= 1;
key.shape= "FCTS";
key.gap= 1;
section "Function" {
top= 28;
row {
top= 1;
keys { { <ESC>, shape="NORM" },
{ <FK01>, 9 }, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 9 }, <FK07>, <FK08>, <FK09>, <FK10>
};
};
}; // End of "Function" section
key.shape= "NORM";
section "Alpha" {
top= 56;
row {
top= 1;
keys { { <TLDE>, shape="TLDE" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<BKSL>, { <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN" }
};
};
row {
top= 39;
keys { { <LCTL>, "CTRL" }, { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
key.shape= "MODK";
keys { { <LALT>, 14 }, <LAMI>,
{ <SPCE>, "SPCE" },
<RAMI>, <RALT>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 56;
left= 326;
row {
top= 1;
key.shape = "DELE";
keys { <DELE>, <HELP> };
};
row {
top= 39;
left = 20;
keys { <UP> };
};
row {
top= 58;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 56;
left= 392;
row {
top= 1;
keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPAD> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDC> };
};
}; // End of "Keypad" section
};

View File

@@ -0,0 +1,251 @@
default xkb_geometry "us" {
description= "Atari TT (us)";
width= 480;
height= 173;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "RTRN" { approx = { [0,19], [32,37] },
{ [ 14, 0], [32, 0], [32,37], [0,37], [0,19], [14,19] },
{ [ 16, 1], [30, 1], [30,36], [2,36], [2,20], [16,20] } };
shape "CTRL" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [172,18] }, { [2,1], [170,17] } };
shape "FCTS" { { [ 28,10] }, { [2,1], [ 26,9] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
section.left= 21;
row.left= 1;
key.shape = "NORM";
key.gap= 1;
section "Function" {
top= 36;
key.shape= "FCTS";
row {
top= 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>,
<FK05>, <FK06>, <FK07>, <FK08>,
<FK09>, <FK10>
};
};
}; // End of "Function" section
section "Alpha" {
top= 63;
row {
top= 1;
keys { <ESC>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, <TLDE>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN", -13 }, <DELE>
};
};
row {
top= 39;
keys { { <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <BKSL>, 34 }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
key.shape= "MODK";
keys { { <ALT>, 24 },
{ <SPCE>, "SPCE" },
<CAPS>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 63;
left= 319;
row {
top= 1;
key.shape = "BKSP";
keys { <HELP>, <UNDO> };
};
row {
top= 20;
keys { <INS>, <UP>, <HOME> };
};
row {
top= 39;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 63;
left= 381;
row {
top= 1;
keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPAD> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDC> };
};
}; // End of "Keypad" section
};
xkb_geometry "de" {
description= "Atari TT (de)";
width= 480;
height= 173;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "RTRN" { approx = { [0,19], [32,37] },
{ [ 14, 0], [32, 0], [32,37], [0,37], [0,19], [14,19] },
{ [ 16, 1], [30, 1], [30,36], [2,36], [2,20], [16,20] } };
shape "CTRL" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "LFSH" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "RTSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [170,18] }, { [2,1], [168,17] } };
shape "FCTS" { { [ 28,11] }, { [2,1], [ 26,10] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
section.left= 21;
row.left= 1;
key.shape = "NORM";
key.gap= 1;
section "Function" {
top= 36;
key.shape= "FCTS";
row {
top= 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>,
<FK05>, <FK06>, <FK07>, <FK08>,
<FK09>, <FK10>
};
};
}; // End of "Function" section
section "Alpha" {
top= 63;
row {
top= 1;
keys { <ESC>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, <TLDE>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN", -13 }, <DELE>
};
};
row {
top= 39;
keys { { <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <BKSL>, 34 }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>,
<AB05>, <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
key.shape= "MODK";
keys { { <ALT>, 24 }, { <SPCE>, "SPCE" }, <CAPS>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 63;
left= 319;
row {
top= 1;
key.shape = "BKSP";
keys { <HELP>, <UNDO> };
};
row {
top= 20;
keys { <INS>, <UP>, <HOME> };
};
row {
top= 39;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 63;
left= 381;
row {
top= 1;
keys { <KPLP>, <KPRP>, <KPDV>, <KPMU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPAD> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDC> };
};
}; // End of "Keypad" section
};

View File

@@ -0,0 +1,189 @@
// -*- indent-tabs-mode: nil -*-
// Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
// Geometry specification for Chicony KB-9820 keyboard.
// 86 keys
default xkb_geometry "us" {
description = "Chicony KB-9820 infra-red keyboard";
width = 350;
height = 180;
//baseColor = "grey60";
labelColor = "white";
shape "EDGE" { cornerRadius = 25,
{ [0, 8], [142.5, 0], [202.5, 0], [347, 8],
[347, 60], [327, 100], [322, 160],
[202.5, 165], [142.5, 165],
[25, 160], [20, 100], [0, 60] } };
shape "KEYS" { cornerRadius = 2, { [271, 109] } };
shape "MOUS" { cornerRadius = 12, { [24, 24] } };
shape "MOUS2" { cornerRadius = 9, { [18, 18] } };
shape "BTNS" { cornerRadius = 5, { [10, 10] } };
solid "Edges" {
top = 0;
left = 0;
shape = "EDGE";
color = "grey60";
};
solid "KeyPanel" {
shape = "KEYS";
left = 38;
top = 22;
color = "black";
};
solid "Mouse" {
shape = "MOUS";
left = 315;
top = 30;
color = "grey30";
};
outline "Mouse2" {
shape = "MOUS2";
left = 318;
top = 33;
color = "black";
};
solid "Button1" {
shape = "BTNS";
left = 10;
top = 32;
color = "grey30";
};
solid "Button2" {
shape = "BTNS";
left = 20;
top = 42;
color = "grey30";
};
outline "Buttons" {
shape = "MOUS";
left = 8;
top = 30;
color = "black";
};
shape.cornerRadius = 1;
shape "ESC" { { [17, 12] }, { [1.5, 0], [15.5, 10] } };
shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
shape "THIN" { { [14, 18] }, { [2, 0], [12, 15] } };
shape "NARR" { { [16, 18] }, { [2, 0], [14, 15] } };
shape "NORM" { { [17, 18] }, { [2, 0], [15, 15] } };
shape "WIDER" { { [18, 18] }, { [2, 0], [16, 15] } };
shape "CAPS" { { [22, 18] }, { [2, 0], [20, 15] } };
shape "RTSH" { { [23, 18] }, { [2, 0], [21, 15] } };
shape "WIDEST" { { [30, 18] }, { [2, 0], [28, 15] } };
shape "SPCE" { { [68, 18] }, { [2, 0], [66, 15] } };
section "Function" {
key.shape = "SMALL";
key.gap = 0.79;
key.color = "grey60";
left = 38;
top = 22;
row {
top = 1;
keys { { <ESC>, shape="ESC", 1 },
{ <FK01>, 1.5 }, <FK02>, <FK03>, <FK04>,
<FK05>, <FK06>, <FK07>, <FK08>,
<FK09>, <FK10>, <FK11>, <FK12>,
<NMLK>, <PRSC>, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Control" {
key.shape = "NORM";
key.gap = 1;
key.color = "grey60";
left = 38;
top = 111;
row {
top = 1;
keys { <EASY>, <LCTL>, <LWIN>, <LALT>,
{ <SPCE>, shape="SPCE" },
<RALT>,
{ <RWIN>, shape="THIN" },
{ <MENU>, shape="THIN" },
{ <INS>, shape="THIN" },
{ <DELE>, shape="THIN" } };
};
}; // End of "Control" section
section "Editing" {
key.shape = "NORM";
key.gap = 1;
key.color = "grey60";
left = 291;
top = 34;
row.vertical = True;
row {
top = 1;
keys { <HOME>, <PGUP>, <PGDN>, <END> };
};
}; // End of "Editing" section
section "Navigation" {
key.gap = 1;
key.shape = "NARR";
key.color = "grey60";
left = 257;
top = 92;
row {
left = 16;
top = 1;
keys { <UP> };
};
row {
top = 20;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Navigation" section
section "Alpha" {
key.gap = 1;
key.shape = "NORM";
key.color = "grey60";
left = 38;
top = 35;
row {
top = 1;
keys { { <TLDE>, shape="NARR" },
<AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, shape="WIDER" }
};
};
row {
top = 20;
keys { <TAB>,
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, <AD13>
};
};
row {
top = 39;
keys { { <CAPS>, shape="CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, shape="WIDEST" }
};
};
row {
top = 58;
keys { { <LFSH>, shape="WIDEST" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, shape="RTSH" }
};
};
}; // End of "Alpha" section
};

View File

@@ -0,0 +1,644 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "dell101" {
description= "Dell 101";
width= 470;
height= 210;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 52;
left= 377;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 67;
indicator.shape= "LED";
indicator "Num Lock" { left= 382; };
indicator "Caps Lock" { left= 407; };
indicator "Scroll Lock" { left= 433; };
text.top= 55;
text.color= "black";
text "NumLockLabel" { left= 378; text="Num\nLock"; };
text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 52;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 8 }, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Alpha" {
top= 91;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 21 },
{ <SPCE>, "SPCE", color="white" },
<RALT>, { <RCTL>, 21 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 91;
left= 312;
key.color= "grey20";
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 91;
left= 376;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "default" geometry
xkb_geometry "dell65" {
};
xkb_geometry "dell65x" {
description= "Dell 101";
width= 470;
height= 210;
color="grey10";
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 52;
left= 377;
color= "grey10";
};
shape "BACKGROUND" { cornerRadius=5, { [ 470, 210 ] } };
solid "Background" {
shape= "BACKGROUND";
top= 0;
left= 0;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 67;
indicator.shape= "LED";
indicator "Num Lock" { left= 382; };
indicator "Caps Lock" { left= 407; };
indicator "Scroll Lock" { left= 433; };
text.top= 55;
text.color= "black";
text "NumLockLabel" { left= 378; text="Num\nLock"; };
text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 52;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 8 }, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Alpha" {
top= 91;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 21 },
{ <SPCE>, "SPCE", color="white" },
<RALT>, { <RCTL>, 21 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 91;
left= 312;
key.color= "grey20";
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 91;
left= 376;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
//
// Dell Precision M65 laptop
//
xkb_geometry "dellm65" {
description= "Dell Precision M65 laptop";
width= 308;
height= 152;
baseColor = "grey20";
labelColor = "white";
shape "BACKGROUND" { cornerRadius = 3, { [ 308, 152 ] } };
shape "BACKGROUND2" { cornerRadius = 2, { [ 7, 22 ],
[ 171, 22 ],
[ 171, 10 ],
[ 301, 10 ],
[ 301, 148 ],
[ 244, 148 ],
[ 244, 132 ],
[ 7, 132] } };
solid "Background" {
shape = "BACKGROUND";
top = 0;
left = 0;
color = "grey20";
};
solid "Background2" {
shape = "BACKGROUND2";
top = 0;
left = 0;
color = "black";
};
shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } };
shape "LED" { cornerRadius = 0, { [ 4, 4 ] } };
solid "LedPanel" {
shape = "LEDS";
top = 8;
left = 69;
color = "grey20";
};
indicator.onColor= "green";
indicator.offColor= "gray20";
indicator.top= 10;
indicator.shape= "LED";
indicator "Num Lock" { left= 72; };
indicator "Caps Lock" { left= 80; };
indicator "Scroll Lock" { left= 88; };
shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } };
shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } };
section "Media" {
top = 5;
left = 102;
width = 60;
height = 14;
key.color="grey30";
key.shape = "MEDIA";
row {
top = 0;
keys {
<I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 }
};
};
};
shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } };
section "Function" {
top = 12;
left = 8;
width = 290;
height = 24;
key.color = "grey80";
key.shape = "FKEY";
key.gap = 0;
row {
top = 0;
keys { { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>,
{ <INS>, 1 }, <HOME>, <PGUP> };
};
row {
top = 12;
keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 1 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 1 }, <FK10>, <FK11>, <FK12>,
{ <DELE>, 1 }, <END>, <PGDN> };
};
};
shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } };
shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } };
shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } };
shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } };
shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } };
section "Alpha" {
top = 36;
left = 8;
width = 290;
height = 21;
key.color = "grey80";
key.shape = "AKEY";
key.gap = 0;
row {
top = 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } };
};
row {
top = 20;
keys { { <TAB>, "TABK" },
{ <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, 1, "BKSL" } };
};
row {
top = 39;
keys { { <CAPS>, "CAPS" },
{ <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, 1, "RTRN" } };
};
row {
top = 58;
keys { { <LFSH>, "LFSH" },
{ <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, 1, "RTSH" } };
};
row {
top = 77;
keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" },
{ <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } };
};
};
shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } };
section "Arrows" {
top = 113;
left = 243;
width = 54;
height = 36;
key.color = "grey80";
key.shape = "SKEY";
row {
top = 0;
left = 20;
keys { <UP> };
};
row {
top = 17;
left = 2;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } };
solid "STIK" {
priority = 255;
color = "blue";
shape = "STIK";
top = 90;
left = 135;
};
};
xkb_geometry "latitude" {
description="Dell Latitude";
width=304.2; height=219.1;
baseColor="grey"; labelColor="white";
alias <AC00> =<CAPS>;
alias <AA00> =<LCTL>;
shape "EXTERNAL" {corner=3,
{[0,0], [302,0], [302,154], [174,154], [174,198], [166,216], [107,216], [100,198], [100,154], [0,154]}};
solid "external" {shape="EXTERNAL"; top=1.1; left=1.1; color="grey10"; priority=10;};
shape "INTERNAL" {corner=3,
{[0,13], [162.2,13], [162.2,0], [286,0], [286,138], [230,138], [230,124], [163,124], [163,138], [96,138], [96,124], [0,124]}};
solid "internal" {shape="INTERNAL"; top=7; left=8.5; color="black"; priority=20;};
shape "TOUCHPAD" {corner=2, {[68,40]}};
solid "touchpad" {shape="TOUCHPAD"; top=153; left=104; color="grey20"; priority=20;};
shape "TOUCHPADBUTTONS" {corner=1,
{[0,0], [33.5,0], [33.5,16], [6,16]},
{[34.5,0], [68,0], [61, 16], [34.5,16]}};
solid "touchleft" {shape="TOUCHPADBUTTONS"; top=198; left=104; color="grey20"; priority=20;};
shape "NIPPLE" {corner=3, {[7.5,7.5]}};
solid "nipple" {shape="NIPPLE"; top=87; left=134; color="blue"; priority=200;};
shape "NIPPLEBUTTONS" {corner=2, {[32.5,13]}, {[33.5,0],[66,13]}};
solid "nipplebuttons" {shape="NIPPLEBUTTONS"; top=131; left=105; color="grey20"; priority=20;};
shape "FILLINGS" {corner=1.5, {[19,15]}, {[38,0],[55,15]}};
solid "fillings" {shape="FILLINGS"; top=112; left=238; color="grey"; priority=200;};
shape "FUNC" {corner=1.5, {[16.3,12]}, {[2,0.5], [14,10]}};
shape "ESC" {corner=1.5, {[18,12]}, {[2,0.5], [16,10]}};
shape "BKSP" {corner=1.5, {[36.5,18]}, {[3,0.5], [33.5,14]}};
section "Function" {key.color="grey"; priority=100; top=9; left=10; width=290; height=28;
row {top=0; left=161.1; keys {{<MENU>,"FUNC",1.1}, {<PRSC>,"FUNC",1.1}, {<NMLK>,"FUNC",1.1},
{<PAUS>,"FUNC",1.1}, {<INS>,"FUNC",2.5}, {<HOME>,"FUNC",1.1}, {<PGUP>,"FUNC",1.1}};};
row {top=12.5; left=0; keys {{<ESC>,"ESC",0},
{<FK01>,"FUNC",2.7}, {<FK02>,"FUNC",1.1}, {<FK03>,"FUNC",1.1}, {<FK04>,"FUNC",1.1},
{<FK05>,"FUNC",2.5}, {<FK06>,"FUNC",1.1}, {<FK07>,"FUNC",1.1}, {<FK08>,"FUNC",1.1},
{<FK09>,"FUNC",2.5}, {<FK10>,"FUNC",1.1}, {<FK11>,"FUNC",1.1}, {<FK12>,"FUNC",1.1},
{<DELE>,"FUNC",2.5}, {<END>, "FUNC",1.1}, {<PGDN>,"FUNC",1.1}};};
}; // End of "Function" section
shape "NORM" {corner=1.5, {[18,18]}, {[3,0.5], [14.8,14]}};
shape "TABK" {corner=1.5, {[28,18]}, {[3,0.5], [25,14]}};
shape "CAPS" {corner=1.5, {[32,18]}, {[3,0.5], [22,14]}};
shape "LFSH" {corner=1.5, {[23,18]}, {[3,0.5], [20,14]}};
shape "RTSH" {corner=1.5, {[50,18]}, {[3,1], [47,14]}};
shape "RTRN" {corner=1.5, {[0,0],[26.5,0],[26.5,37],[4,37],[4,18],[0,18]},
{[3,0.5], [23.5,0.5], [23.5,33], [7,33], [7,14], [3,14]}};
shape "SPCE" {corner=1.5,{[95,18]}, {[3,0.5],[92,14]}};
shape "LCTL" {corner=1.5, {[27,18]}, {[3,0.5],[24,14]}};
shape "LALT" {corner=1.5, {[22,18]}, {[3,0.5],[19,14]}};
shape "WIN" {corner=1.5, {[18,18]}, {[3,0.5],[15,14]}};
section "Alpha" {key.color="grey"; priority=100; top=36; left=10; width=290; height=18;
row {top=0; left=0; keys {{<TLDE>, "NORM", 0}, {<AE01>, "NORM", 1}, {<AE02>, "NORM", 1}, {<AE03>, "NORM", 1},
{<AE04>, "NORM", 1}, {<AE05>, "NORM", 1}, {<AE06>, "NORM", 1}, {<AE07>, "NORM", 1}, {<AE08>, "NORM", 1},
{<AE09>, "NORM", 1}, {<AE10>, "NORM", 1}, {<AE11>, "NORM", 1}, {<AE12>, "NORM", 1}, {<BKSP>, "BKSP", 1}};};
row {top=19; left=0; keys {{<TAB>, "TABK", 0}, {<AD01>, "NORM", 1}, {<AD02>, "NORM", 1}, {<AD03>, "NORM", 1},
{<AD04>, "NORM", 1}, {<AD05>, "NORM", 1}, {<AD06>, "NORM", 1}, {<AD07>, "NORM", 1}, {<AD08>, "NORM", 1},
{<AD09>, "NORM", 1}, {<AD10>, "NORM", 1}, {<AD11>, "NORM", 1}, {<AD12>, "NORM", 1}, {<RTRN>, "RTRN", 1}};};
row {top=38; left=0; keys {{<CAPS>, "CAPS", 0}, {<AC01>, "NORM", 1}, {<AC02>, "NORM", 1}, {<AC03>, "NORM", 1},
{<AC04>, "NORM", 1}, {<AC05>, "NORM", 1}, {<AC06>, "NORM", 1}, {<AC07>, "NORM", 1}, {<AC08>, "NORM", 1},
{<AC09>, "NORM", 1}, {<AC10>, "NORM", 1}, {<AC11>, "NORM", 1}, {<AC12>, "NORM", 1}};};
// TODO There's a weird <> key here, check it out:
row {top=57; left=0; keys {{<LFSH>, "LFSH", 0}, {<AB01>, "NORM", 1}, {<AB02>, "NORM", 1}, {<AB03>, "NORM", 1},
{<AB04>, "NORM", 1}, {<AB05>, "NORM", 1}, {<AB06>, "NORM", 1}, {<AB07>, "NORM", 1}, {<AB08>, "NORM", 1},
{<AB09>, "NORM", 1}, {<AB10>, "NORM", 1}, {<AB11>, "NORM", 1}, {<RTSH>, "RTSH", 1}};};
row {top=76; left=0; keys {{<LCTL>, "LCTL", 0}, {<FN>, "WIN", 1},{<LWIN>, "WIN", 1}, {<LALT>, "LALT", 1},
{<SPCE>, "SPCE", 1}, {<RALT>, "WIN", 1},{<RCTL>, "LALT", 1}};};
}; // End of "Alpha" section
shape "ARROW" {corner=1.5, {[17,15]}, {[2,0.5],[15,13]}};
section "Arrows" {key.color="grey"; priority=110; top=112; left=240; width=43; height=31;
row {top=0; left=18; keys {{<UP>, "ARROW", 0}};};
row {top=16; left=0; keys {{<LEFT>, "ARROW", 0}, {<DOWN>, "ARROW", 1}, {<RGHT>, "ARROW", 1}};};
}; // End of "Arrows" section
shape "LEDS" {corner=3, {[25,7]}};
solid "leds" {shape="LEDS"; top=5.7; left=69; color="grey"; priority=10;};
shape "LED" {corner=0, {[0,1.5], [3,4.5]}, {[0.5,1.5], [1,0] , [2,0], [2.5,1.5]}};
indicator.onColor="green";
indicator.offColor="grey";
indicator.top=7;
indicator.shape="LED";
indicator.priority=200;
indicator "Num Lock" {left=72;};
indicator "Caps Lock" {left=80;};
indicator "Scroll Lock" {left=88;};
text "LATITUDE" {left=10; top=7; text="L A T I T U D E | D620";};
shape "ROUND" {corner=5, {[10,10]}};
shape "POWER" {corner=7, {[15,15]}};
section "Topbuttons" {key.color="grey"; priority=110; top=2; left=100;
row {top=2; left=0; keys {{<VLUP>, "ROUND", 0}, {<VLDN>, "ROUND", 3}, {<MUTE>, "ROUND", 3}};};
row {top=0; left=45; keys {{<POWR>, "POWER", 0}};};
}; // End of "TopButtons" section
};

View File

@@ -0,0 +1,728 @@
//
//Copyright (c) 1996 Digital Equipment Corporation
//
//Permission is hereby granted, free of charge, to any person obtaining
//a copy of this software and associated documentation files (the
//"Software"), to deal in the Software without restriction, including
//without limitation the rights to use, copy, modify, merge, publish,
//distribute, sublicense, and sell copies of the Software, and to
//permit persons to whom the Software is furnished to do so, subject to
//the following conditions:
//
//The above copyright notice and this permission notice shall be included
//in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
//THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of the Digital Equipment
//Corporation shall not be used in advertising or otherwise to promote
//the sale, use or other dealings in this Software without prior written
//authorization from Digital Equipment Corporation.
//
// HISTORY
// Log: lk,v
// Revision 1.2 1996/06/18 09:12:47 erik
// use flags correctly, assorted cleanups and consortium fixes
//
// Revision 1.1.6.2 1995/08/18 21:15:16 William_Walker
// Upgrade XKB to Protocol Rev. 0.64
// [1995/08/18 20:41:46 William_Walker]
//
// Revision 1.1.2.5 1995/08/11 19:35:47 William_Walker
// Sync up with Erik's pool.
// [1995/08/11 18:35:58 William_Walker]
//
// Revision 1.1.2.4 1995/06/27 12:17:28 William_Walker
// Rename <TLDE> to ISO9995 compliant <AE00>.
// [1995/06/26 20:23:07 William_Walker]
//
// Revision 1.1.2.3 1995/06/09 20:54:36 William_Walker
// Add VT105 layout support and ISO group support
// [1995/06/09 20:40:38 William_Walker]
//
// Revision 1.1.2.2 1995/06/05 19:21:16 William_Walker
// New file. I love keymaps.
// [1995/06/05 18:05:43 William_Walker]
//
// EndLog
//
// @(#)RCSfile: lk,v Revision: 1.2 (DEC) Date: 1996/01/24 12:16:00
//
xkb_geometry "lk201" {
width = 530;
height = 170;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[23,19] },
{ [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
{ [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [28,19] }, { [3,2], [25,16] } };
shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
shape "SPCE" { { [171,19] },{ [3,2], [168,16]} };
shape "LEDS" { [ 30,15] };
shape "LED" { [ 5, 2] };
section.left= 27;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Function" { top = 20;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 19 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 19 }, <FK12>, <FK13>, <FK14>,
{ <FK17>, 98 }, <FK18>, <FK19>, <FK20>
};
};
};
section "Editing" { top = 20; left = 350;
row { top = 1;
keys { <HELP>, { <DO>, "LONG" } };
};
row { top = 41;
keys { <FIND>, <INS>, <DELE> };
};
row { top = 61;
keys { <SELE>, <PGUP>, <PGDN> };
};
row { top = 81; left = 20;
keys { <UP> };
};
row { top = 101;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 60; left = 426;
row { top = 1;
keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
};
row { top = 21;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6>, <KPCO> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
};
row { top = 81;
keys { { <KP0>, "LONG" }, <KPDL> };
};
};
section "Alpha" { top = 60;
row { top = 1; left = 15;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "MED" }
};
};
row { top = 21; left = 15;
keys { { <TAB>, "MED" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { <LCTL>,
{ <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { { <LFSH>, "LONG" },
<AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "LONG" }
};
};
row { top = 81; left = 26;
keys { { <LCMP>, "LONG" },
{ <SPCE>, "SPCE" }
};
};
};
section.left = 341;
section.top = 3;
section "Indicators" {
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.top = 10;
indicator.shape= "LED";
indicator "Scroll Lock" { left = 9; };
indicator "Caps Lock" { left = 27; };
indicator "Compose" { left = 45; };
indicator "Wait" { left = 63; };
text.top = 4;
text.color = "black";
text "HoldScreenLabel" {left = 5; text="Hold\n"; };
text "CapsLockLabel" {left = 23; text="Lock\n"; };
text "ComposeLabel" {left = 37; text="Compose\n"; };
text "WaitLabel" {left = 60; text="Wait\n"; };
};
};
xkb_geometry "lk401" {
width = 480;
height = 180;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[23,19] },
{ [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
{ [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [28,19] }, { [3,2], [25,16] } };
shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
shape "LEDS" { [ 36,15] };
shape "LED" { [ 5, 2] };
section.left= 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text "Logo" {left = 20; top = 10; text="digital\n"; };
section "Function" { top = 20;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
{ <FK17>, 75 }, <FK18>, <FK19>, <FK20>
};
};
};
section "Editing" { top = 20; left = 320;
row { top = 1;
keys { <HELP>, { <DO>, "LONG" } };
};
row { top = 41;
keys { <FIND>, <INS>, <DELE> };
};
row { top = 61;
keys { <SELE>, <PGUP>, <PGDN> };
};
row { top = 81; left= 20;
keys { <UP> };
};
row { top = 101;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 60; left = 385;
row { top = 1;
keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
};
row {
top = 21;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6>, <KPCO> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
};
row { top = 81;
keys { { <KP0>, "LONG" }, <KPDL> };
};
};
section "Alpha" { top = 60;
row { top = 1; left = 15;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "MED" }
};
};
row { top = 21; left = 15;
keys { { <TAB>, "MED" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { <LCTL>,
{ <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { { <LFSH>, "LONG" },
<AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "LONG" }
};
};
row { top = 81; left = 29;
keys { { <LCMP>, "MED" },
{ <LALT>, "MED" },
{ <SPCE>, "SPCE" },
{ <RALT>, "MED" },
{ <RCMP>, "MED" }
};
};
};
section.left = 69;
section.top = 3;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
cornerRadius = 1;
shape = "LEDS";
color = "grey";
};
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.shape = "LED";
indicator.top = 1;
indicator "Scroll Lock" { left = 3; };
indicator "Caps Lock" { left = 22; };
};
section "IndicatorLabels" {
text.top = 4;
text.color = "black";
text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
};
};
xkb_geometry "lk450" {
width = 480;
height = 180;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[23,19] },
{ [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
{ [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [28,19] }, { [3,2], [25,16] } };
shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
shape "LEDS" { [ 36,15] };
shape "LED" { [ 5, 2] };
section.left= 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text "Logo" {left = 20; top = 10; text="digital\n"; };
section "Function" { top = 20;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
{ <FK17>, 75 }, <FK18>, <FK19>, <FK20>
};
};
};
section "Editing" { top = 20; left = 320;
row { top = 1;
keys { <HELP>, { <DO>, "LONG" } };
};
row { top = 41;
keys { <FIND>, <INS>, <DELE> };
};
row { top = 61;
keys { <SELE>, <PGUP>, <PGDN> };
};
row { top = 81; left= 20;
keys { <UP> };
};
row { top = 101;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 60; left = 385;
row { top = 1;
keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
};
row {
top = 21;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6>, <KPCO> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
};
row { top = 81;
keys { { <KP0>, "LONG" }, <KPDL> };
};
};
section "Alpha" { top = 60;
row { top = 1; left = 15;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "MED" }
};
};
row { top = 21; left = 15;
keys { { <TAB>, "MED" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { <LCTL>,
{ <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { { <LFSH>, "LONG" },
<AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "LONG" }
};
};
row { top = 81; left = 29;
keys { { <LCMP>, "MED" },
{ <LALT>, "MED" },
{ <SPCE>, "SPCE" },
{ <RALT>, "MED" },
{ <RCMP>, "MED" }
};
};
};
section.left = 69;
section.top = 3;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
cornerRadius = 1;
shape = "LEDS";
color = "grey";
};
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.shape = "LED";
indicator.top = 1;
indicator "Scroll Lock" { left = 3; };
indicator "Caps Lock" { left = 22; };
};
section "IndicatorLabels" {
text.top = 4;
text.color = "black";
text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
};
};
xkb_geometry "lk401bj"
{
width = 480;
height = 180;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[23,19] },
{ [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
{ [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [28,19] }, { [3,2], [25,16] } };
shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
shape "LEDS" { [ 30,15] };
shape "LED" { [ 5, 2] };
section.left= 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text "Logo" {left = 20; top = 10; text="digital\n"; };
section "Function" { top = 20;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
{ <FK17>, 75 }, <FK18>, <FK19>, <FK20>
};
};
};
section "Editing" { top = 20; left = 320;
row { top = 1;
keys { <HELP>, { <DO>, "LONG" } };
};
row { top = 41;
keys { <FIND>, <INS>, <DELE> };
};
row { top = 61;
keys { <SELE>, <PGUP>, <PGDN> };
};
row { top = 81; left = 20;
keys { <UP> };
};
row { top = 101;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 60; left = 385;
row { top = 1;
keys { <PF1>, <PF2>, <PF3>, <PF4> };
};
row { top = 21;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6>, <KPCO> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
};
row { top = 81;
keys { { <KP0>, "LONG" }, <KPDL> };
};
};
section "Alpha" { top = 60;
row { top = 1; left = 15;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "MED" }
};
};
row { top = 21; left = 15;
keys { { <TAB>, "MED" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { <LCTL>,
{ <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { { <LFSH>, "LONG" },
<AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "LONG" }
};
};
row { top = 81; left = 29;
keys { { <LCMP>, "MED" },
{ <LALT>, "MED" },
{ <SPCE>, "SPCE" },
{ <RALT>, "MED" },
{ <RCMP>, "MED" }
};
};
};
section.left = 69;
section.top = 3;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
cornerRadius = 1;
shape = "LEDS";
color = "grey";
};
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.top = 1;
indicator.shape= "LED";
indicator "Scroll Lock" { left = 3; };
indicator "Caps Lock" { left = 22; };
text.top = 4;
text.color = "black";
text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
text "CapsLockLabel" {left = 19; text="Caps\nLock"; };
};
};
xkb_geometry "lk401jj" {
width = 460;
height = 180;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[28,23] },
{ [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
{ [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [28,19] }, { [3,2], [25,16] } };
shape "MED1" { { [23,19] }, { [3,2], [20,16] } };
shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
shape "LEDS" { [ 56,15] };
shape "LED" { [ 5, 2] };
section.left = 5;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text "Logo" {left = 7; top = 10; text="digital\n"; };
section "Function" { top = 40;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 18 }, <FK12>, <FK13>, <FK14>,
{ <FK17>, 73 }, <FK18>, <FK19>, <FK20>
};
};
};
section "Editing" { top = 40; left = 313;
row { top = 1;
keys { <HELP>, { <DO>, "LONG" } };
};
row { top = 31;
keys { <FIND>, <INS>, <DELE> };
};
row { top = 51;
keys { <SELE>, <PGUP>, <PGDN> };
};
row { top = 71; left= 20;
keys { <UP> };
};
row { top = 91;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 70; left = 377;
row { top = 1;
keys { <PF1>, <PF2>, <PF3>, <PF4> };
};
row { top = 21;
keys { <KP7>, <KP8>, <KP9>, <KPSU> };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6>, <KPCO> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
};
row { top = 81;
keys { { <KP0>, "LONG" }, <KPDL> };
};
};
section "Alpha" { top = 70;
row { top = 1; left = 7;
keys { { <AE00>, "MED1" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<AB00>, { <BKSP>, "MED1" }
};
};
row { top = 21; left = 7;
keys { { <TAB>, "LONG1" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { { <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { <CAPS>, { <LFSH>, "LONG1" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "MED" }
};
};
row { top = 81; left = 7;
keys { { <LCMP>, "LONG" },
{ <LALT>, "LONG" },
{ <MUHE>, "LONG" },
{ <SPCE>, "SPCE" },
{ <KANJ>, "LONG" },
{ <HIRA>, "LONG" },
<RALT>, <RCMP>
};
};
};
section.left = 315;
section.top = 20;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
cornerRadius = 1;
shape = "LEDS";
color = "grey";
};
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.top = 11;
indicator.shape= "LED";
indicator "Scroll Lock" { left = 6; };
indicator "Caps Lock" { left = 26; };
text.top = 4;
text.color = "black";
text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
};
};

View File

@@ -0,0 +1,349 @@
//
//Copyright (c) 1996 Digital Equipment Corporation
//
//Permission is hereby granted, free of charge, to any person obtaining
//a copy of this software and associated documentation files (the
//"Software"), to deal in the Software without restriction, including
//without limitation the rights to use, copy, modify, merge, publish,
//distribute, sublicense, and sell copies of the Software, and to
//permit persons to whom the Software is furnished to do so, subject to
//the following conditions:
//
//The above copyright notice and this permission notice shall be included
//in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
//THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of the Digital Equipment
//Corporation shall not be used in advertising or otherwise to promote
//the sale, use or other dealings in this Software without prior written
//authorization from Digital Equipment Corporation.
//
// HISTORY
// Log: pc,v
// Revision 1.2 1996/06/18 09:12:50 erik
// use flags correctly, assorted cleanups and consortium fixes
//
// Revision 1.1.6.2 1995/08/18 21:15:18 William_Walker
// Upgrade XKB to Protocol Rev. 0.64
// [1995/08/18 20:41:49 William_Walker]
//
// Revision 1.1.2.4 1995/08/11 19:35:48 William_Walker
// Sync up with Erik's pool.
// [1995/08/11 18:36:03 William_Walker]
//
// Revision 1.1.2.3 1995/06/27 12:17:29 William_Walker
// Rename <TLDE> to ISO9995 compliant <AE00>.
// [1995/06/26 20:23:10 William_Walker]
//
// Revision 1.1.2.2 1995/06/05 19:21:19 William_Walker
// New file. I love keymaps.
// [1995/06/05 18:05:51 William_Walker]
//
// EndLog
//
// @(#)RCSfile: pc,v Revision: 1.2 (DEC) Date: 1996/02/02 14:40:25
//
partial xkb_geometry "common" {
width = 480;
height = 200;
shape.cornerRadius = 1;
shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
shape "KP0" { primary = { [37,19] }, { [3,2], [34,16] } };
shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
shape "LEDS" { [78,22] };
shape "LED" { [5,2] };
text.color = "black";
section.left = 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Function" { top = 40;
row { top = 1;
keys { <ESC>,
{ <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 10 }, <FK10>, <FK11>, <FK12>
};
};
};
section "Editing" { top = 40; left = 308;
row { top = 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row { top = 41;
keys { <INS>, <HOME>, <PGUP> };
};
row { top = 61;
keys { <DELE>, <END>, <PGDN> };
};
row { top = 101; left = 20;
keys { <UP> };
};
row { top = 121;
keys { <LEFT>, <DOWN>, <RGHT> };
};
};
section "Keypad" { top = 80; left = 374;
row { top = 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row { top = 21;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
};
row { top = 41;
keys { <KP4>, <KP5>, <KP6> };
};
row { top = 61;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
};
row { top = 81;
keys { { <KP0>, "KP0" }, <KPDL> };
};
};
};
partial xkb_geometry "leds_on_keys" {
section.top = 40;
section.left = 17;
section "LedPanel" {
indicator.onColor = "#00ff00";
indicator.offColor = "#001000";
indicator.shape = "LED";
indicator "Scroll Lock" { left = 317; top = 5; };
indicator "Num Lock" { left = 364; top = 45; };
indicator "Caps Lock" { left = 10; top = 85; };
};
section.left = 375;
section.top = 40;
section "LogoPanel" {
solid "logo_panel" { top = 0; left = 0;
shape = "LEDS";
color = "grey";
};
text "Logo" {left = 28; top = 10; text="digital\n"; };
};
};
partial xkb_geometry "leds_alone" {
section.left = 375;
section.top = 40;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
shape = "LEDS";
color = "grey";
};
indicator.top = 16;
indicator.onColor = "#00ff00";
indicator.offColor = "#001000";
indicator.shape = "LED";
indicator "Num Lock" { left = 3; };
indicator "Caps Lock" { left = 26; };
indicator "Scroll Lock" { left = 50; };
text "Logo" {left = 2; top = 3; text="digital\n"; };
};
section "IndicatorLabels" {
text.top = 11;
text "NumLockLabel" {left = 10; text="Num\nLock"; };
text "CapsLockLabel" {left = 33; text="Caps\nLock"; };
text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
};
};
xkb_geometry "pc101" {
include "digital_vndr/pc(common)"
shape.cornerRadius = 1;
shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
section.left = 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Alpha" { top = 80;
row { top = 1;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row { top = 21;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row { top = 41;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
{ <RTRN>, "RTRN" }
};
};
row { top = 61;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
<AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row { top = 81;
key.shape = "MODK";
keys { <LCTL>,
{ <LALT>, 20 },
{ <SPCE>, "SPCE" },
<RALT>,
{ <RCTL>, 21 }
};
};
};
};
xkb_geometry "pc102" {
include "digital_vndr/pc(common)"
shape.cornerRadius = 1;
shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "RTRN" {
approx = { [0,0],[28,19] },
{ [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
{ [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
};
shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
section.left = 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Alpha" { top = 80;
row { top = 1;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row { top = 21;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
};
};
row { top = 61;
keys { { <LFSH>, "LFSH" },
<BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row { top = 81;
key.shape = "MODK";
keys { <LCTL>,
{ <LALT>, 20 },
{ <SPCE>, "SPCE" },
<RALT>,
{ <RCTL>, 21 }
};
};
};
};
xkb_geometry "pcxaj" {
include "digital_vndr/pc(common)"
shape.cornerRadius = 1;
shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
section.left = 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Alpha" { top = 80;
row { top = 1;
keys { <AE00>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row { top = 21;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row { top = 41;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 61;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
<AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
{ <RTSH>, "RTSH" }
};
};
row { top = 81;
key.shape = "MODK";
keys { <LCTL>, <LALT>,
{ <MUHE>, "NORM" },
{ <SPCE>, "SPCE" },
{ <KANJ>, "NORM" },
{ <HIRA>, "NORM" },
<RALT>, <RCTL>
};
};
};
};

View File

@@ -0,0 +1,227 @@
//
//Copyright (c) 1996 Digital Equipment Corporation
//
//Permission is hereby granted, free of charge, to any person obtaining
//a copy of this software and associated documentation files (the
//"Software"), to deal in the Software without restriction, including
//without limitation the rights to use, copy, modify, merge, publish,
//distribute, sublicense, and sell copies of the Software, and to
//permit persons to whom the Software is furnished to do so, subject to
//the following conditions:
//
//The above copyright notice and this permission notice shall be included
//in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
//THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of the Digital Equipment
//Corporation shall not be used in advertising or otherwise to promote
//the sale, use or other dealings in this Software without prior written
//authorization from Digital Equipment Corporation.
//
// HISTORY
// Log: unix,v
// Revision 1.2 1996/06/18 09:12:53 erik
// use flags correctly, assorted cleanups and consortium fixes
//
// Revision 1.1.2.3 1995/06/27 12:17:30 William_Walker
// Rename <TLDE> to ISO9995 compliant <AE00>.
// [1995/06/26 20:23:12 William_Walker]
//
// Revision 1.1.2.2 1995/06/05 19:21:23 William_Walker
// New file. I love keymaps.
// [1995/06/05 18:05:56 William_Walker]
//
// EndLog
//
// @(#)RCSfile: unix,v Revision: 1.2 (DEC) Date: 1996/01/24 12:16:
//
xkb_geometry "unix" {
width = 340;
height = 160;
shape.cornerRadius = 1;
shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
shape "AE00" { primary = { [28,19] }, { [3,2], [25,16] } };
shape "BKSP" { primary = { [46,19] }, { [3,2], [43,16] } };
shape "TABK" { primary = { [37,19] }, { [3,2], [34,16] } };
shape "CTRL" { primary = { [46,19] }, { [3,2], [43,16] } };
shape "RTRN" { primary = { [46,19] }, { [3,2], [43,16] } };
shape "SHFT" { primary = { [56,19] }, { [3,2], [53,16] } };
shape "MODK" { primary = { [37,19] }, { [3,2], [34,16] } };
shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
section.left= 17;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text.color = "black";
text "Logo" {left = 20; top = 10; text="digital\n"; };
section "Function" { top = 30;
row { top = 1;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 20 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <LEFT>, 20 }, <DOWN>, <UP>, <RGHT>
};
};
};
section "Alpha" { top = 50;
row { top = 1;
keys { { <AE00>, "AE00" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row { top = 21;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
<BKSL>, <AB00>
};
};
row { top = 41; left = -4;
keys { { <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
{ <RTRN>, "RTRN" }
};
};
row { top = 61; left = -4;
keys { { <LFSH>, "SHFT" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
<AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "SHFT" }
};
};
solid "ExtendKey" { top = 81; left= 1;
shape= "NORM";
color= "grey20";
};
text.top = 89;
text.color = "black";
text "ExtendLabel" {left = 6; text="Ext\nend"; };
row { top = 81; left = 19;
key.shape = "MODK";
keys { { <LCMP>, "NORM" }, <LALT>,
{ <SPCE>, "SPCE" },
<RALT>, <RCMP>
};
};
};
};
xkb_geometry "lk421jj" {
width = 315;
height = 170;
shape.cornerRadius = 1;
shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
shape "RTRN" {
approx = { [0,0],[28,23] },
{ [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
{ [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
};
shape "LONG" { { [37,19] }, { [3,2], [34,16] } };
shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
shape "MED" { { [23,19] }, { [3,2], [20,16] } };
shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
shape "LEDS" { [ 56,15] };
shape "LED" { [ 5, 2] };
section.left = 5;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
text "Logo" {left = 7; top = 10; text="digital\n"; };
section "Function" { top = 45;
row { top = 1; left = 7;
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>
};
};
};
section "Editing" { top = 45; left= 230;
row { top = 1;
keys { <LEFT>, <DOWN>, <UP>, <RGHT> };
};
};
section "Alpha" { top = 65;
row { top = 1; left = 7;
keys { { <AE00>, "MED" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<AB00>, { <BKSP>, "MED" }
};
};
row { top = 21; left = 7;
keys { { <TAB>, "LONG1" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row { top = 41;
keys { { <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
};
};
row { top = 61;
keys { <CAPS>, { <LFSH>, "LONG1" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "LONG1" }
};
};
row { top = 81; left = 7;
keys { <AA00>, <LCMP>,
{ <LALT>, "LONG" },
{ <MUHE>, "LONG" },
{ <SPCE>, "SPCE" },
{ <KANJ>, "LONG" },
{ <HIRA>, "LONG" },
<RALT>, <RCMP>
};
};
};
section.left = 233;
section.top = 20;
section "Indicators" {
solid "led_panel" { top = 0; left = 0;
cornerRadius = 1;
shape = "LEDS";
color = "grey";
};
indicator.onColor = "#00ff00";
indicator.offColor= "#001000";
indicator.top = 11;
indicator.shape= "LED";
indicator "Scroll Lock" { left = 6; };
indicator "Caps Lock" { left = 26; };
text.top = 3;
text.color = "black";
text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
};
};

View File

@@ -0,0 +1,170 @@
default xkb_geometry "STEPnote" {
description= "Everex STEPnote";
width= 281;
height= 150;
shape.cornerRadius= 1;
shape "NORM" {
{ [17,17] },
{ [ 2, 1], [ 15, 15 ] }
};
shape "NARR" {
{ [ 15, 17 ] },
{ [ 2, 1 ], [ 13, 15 ] }
};
shape "FKEY" {
{ [ 15.1, 15.5 ] },
{ [ 1, 1 ], [ 14.1, 14.5 ] }
};
shape "ESC" {
{ [ 16.4, 15.5 ] },
{ [ 1, 1 ], [ 14.1, 14.5 ] }
};
shape "WIDE" { // backspace, tab and Fn
{ [ 25, 17 ] },
{ [ 2, 1 ], [ 23, 15 ] }
};
shape "RTRN" {
{ [ 27.5, 17 ] },
{ [ 2, 1 ], [ 25.5, 15 ] }
};
shape "CAPS" {
{ [ 30, 17 ] },
{ [ 2, 1 ], [ 28, 15 ] }
};
shape "LFSH" {
{ [ 38.5, 17 ] },
{ [ 2, 1 ], [ 36.5, 15 ] }
};
shape "RTSH" {
{ [ 21, 17 ] },
{ [ 2, 1 ], [ 19, 15 ] }
};
shape "SPCE" {
{ [ 88.8, 17 ] },
{ [ 2, 1 ], [ 86.8, 15 ] }
};
shape "WELL" {
{ [ 269, 105 ] }
};
shape "LED" {
cornerRadius= 1.5,
{ [ 3, 10 ] }
};
section.left= 6;
row.left= 1;
key.shape= "NORM";
key.gap= 0.5;
key.color= "grey20";
labelColor= "white";
baseColor= "grey20";
indicator.top= 20;
indicator.shape= "LED";
indicator.onColor= "green";
indicator.offColor= "green30";
indicator "Power" { left= 40; };
indicator "Battery" { left=101; };
indicator "Suspend" { left=112; };
indicator "HardDrive" { left=123; };
indicator "Floppy" { left=134; };
indicator "KeyPad" { left=145; };
indicator "Num Lock" { left=156; };
indicator "Caps Lock" { left=167; };
indicator "Scroll Lock" { left=178; };
solid "KeyWell" {
top= 35;
left= 6;
shape= "WELL";
color= "grey10";
};
section "Whole" {
top= 35;
row {
top= 0.5;
key.color= "grey30";
key.shape= "FKEY";
keys {
{ <ESC>, "ESC" },
<FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
<FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>,
<NMLK>, <PRSC>, <SCLK>, <PAUS>
};
};
row {
top= 16.5;
keys {
{ <TLDE>, "NARR" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, shape="WIDE", color="grey30" },
{ <HOME>, shape="NARR", color="grey30" }
};
};
row {
top= 34;
keys {
{ <TAB>, shape="WIDE", color="grey30" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "NARR" },
{ <PGUP>, shape="NARR", color="grey30" }
};
};
row {
top= 51.5;
keys {
{ <CAPS>, shape="CAPS", color="grey30" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>,
{ <RTRN>, shape="RTRN", color="grey30" },
{ <PGDN>, shape="NARR", color="grey30" }
};
};
row {
top= 69;
keys {
{ <LFSH>, shape="LFSH", color="grey30" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, shape="RTSH", color="grey30" },
{ <UP>, shape="NARR", color="grey30" },
{ <END>, shape="NARR", color="grey30" }
};
};
row {
top= 86.5;
key.color= "grey30";
keys {
{ <FUNC>, "WIDE" },
<LCTL>, <LALT>,
{ <SPCE>, shape="SPCE", 18, color="grey20" },
<RALT>, <INS>, <DELE>,
{ <LEFT>, "NARR" }, { <DOWN>, "NARR" },
{ <RGHT>, "NARR" }
};
};
solid "FakeKey" {
top= 86.5;
left= 62.1;
shape= "NORM";
color= "grey20";
};
overlay "KPAD" {
<AE07>=<KP7>, <AE08>=<KP8>, <AE09>=<KP9>, <AE10>=<KPMU>,
<AD07>=<KP4>, <AD08>=<KP5>, <AD09>=<KP6>, <AD10>=<KPSU>,
<AC07>=<KP1>, <AC08>=<KP2>, <AC09>=<KP3>, <AC10>=<KPAD>,
<AB07>=<KP0>, <AB09>=<KPDL>, <AB10>=<KPSL>
};
}; // End of "Whole" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};

View File

@@ -0,0 +1,314 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "138" {
// This is an approximate layout for a (US/ASCII) Fujitsu keyboard.
description= "Fujitsu English keyboard";
width= 480;
height= 215;
shape "EDGE" { cornerRadius= 2, { [ 480, 215 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [28,37] },
{ [ 0, 0], [28, 0], [28,37],
[ 5,37], [ 5,19], [ 0,19] },
{ [ 1, 1], [26, 1], [26,36],
[ 7,36], [ 7,18], [ 1,18] }
};
shape "LFSH" { { [ 41,18] }, { [2,1], [ 39,17] } };
shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,17] } };
shape "LCTL" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "SPCE" { { [151,18] }, { [2,1], [149,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
shape "EXEC" { { [ 57,18] }, { [2,1], [ 55,17] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 15;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Alpha" {
top= 28;
row {
top= 1;
keys {
<BREA>, { <PRSC>, 6 },
{ <FK13>, 30 }, <FK14>, <FK15>, <FK16>,
{ <FK17>, 6 }, <FK18>, <FK19>, <FK20>,
{ <FK21>, 6 }, <FK22>, <FK23>, <FK24>,
{ <FK29>, 68 }, <FK30>, <FK31>, <FK32>
};
};
row {
top= 20;
keys {
<KNJI>, { <PAUS>, 6 },
{ <FK01>, 30 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>,
{ <UNK0>, 6 }, <UNK1>, <UNK2>,
{ <FK25>, 6 }, <FK26>, <FK27>, <FK28>
};
};
row {
top= 39;
left= 316;
keys {
<PGUP>, <HOME>, <PGDN>
};
};
row {
top= 54;
keys {
<UNDO>, { <ESC>, 6 },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
<AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
<AE11>, <AE12>, <TLDE>, <BKSP>,
{ <KPMU>, 68 }, <KPDV>, <KPAD>, <KPSU>
};
};
row {
top= 58;
left= 316;
keys {
<UNK3>, <DEL>, <INS>
};
};
row {
top= 73;
keys { <COPY>,
{ <TAB>, 6, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN" },
{ <KP7>, 68 }, <KP8>, <KP9>, <KPEQ>
};
};
row {
top= 92;
keys { <PAST>,
{ <LCTL>, 6, "LCTL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>,
{ <UP>, 49 },
{ <KP4>, 25 }, <KP5>, <KP6>, <KPDC>
};
};
row {
top= 102;
left= 316;
keys { <LEFT>, { <RGHT>, 19 }
};
};
row {
top= 111;
keys { <CUT>,
{ <LFSH>, 6 , "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "RTSH" },
{ <DOWN>, 25 },
{ <KP1>, 25 }, <KP2>, <KP3>, { <KPEN>, "KPEN" }
};
};
row {
top= 130;
keys { <HELP>, { <CAPS>, 6 },
<LALT>, <LMTA>,
{ <SPCE>, "SPCE" },
<RMTA>, <RALT>, <COMP>, <LNFD>,
{ <KP0>, 68, "KP0" }, <KP00>
};
};
row {
top= 149;
left= 316;
keys {
{ <EXEC>, "EXEC" }
};
};
}; // End of "Alpha" section
};
xkb_geometry "140" {
// This is an approximate layout for a Fujitsu Japanese keyboard.
description= "Fujitsu Japanese keyboard";
width= 480;
height= 215;
shape "EDGE" { cornerRadius= 2, { [ 480, 215 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [28,37] },
{ [ 0, 0], [28, 0], [28,37],
[ 5,37], [ 5,19], [ 0,19] },
{ [ 1, 1], [26, 1], [26,36],
[ 7,36], [ 7,18], [ 1,18] }
};
shape "LFSH" { { [ 41,18] }, { [2,1], [ 39,17] } };
shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,17] } };
shape "LCTL" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "SPCE" { { [113,18] }, { [2,1], [111,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
shape "HNKN" { { [ 23,18] }, { [2,1], [ 21,17] } };
shape "EXEC" { { [ 57,18] }, { [2,1], [ 55,17] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 15;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Alpha" {
top= 28;
row {
top= 1;
keys {
<BREA>, { <PRSC>, 6 },
{ <FK13>, 30 }, <FK14>, <FK15>, <FK16>,
{ <FK17>, 6 }, <FK18>, <FK19>, <FK20>,
{ <FK21>, 6 }, <FK22>, <FK23>, <FK24>,
{ <FK29>, 68 }, <FK30>, <FK31>, <FK32>
};
};
row {
top= 20;
keys {
<KNJI>, { <PAUS>, 6 },
{ <FK01>, 30 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>,
{ <UNK0>, 6 }, <UNK1>, <UNK2>,
{ <FK25>, 6 }, <FK26>, <FK27>, <FK28>
};
};
row {
top= 39;
left= 316;
keys {
<PGUP>, <HOME>, <PGDN>
};
};
row {
top= 54;
keys {
<UNDO>, { <ESC>, 6 },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
<AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
<AE11>, <AE12>, <BKSL>, <BKSP>,
{ <KPMU>, 68 }, <KPDV>, <KPAD>, <KPSU>
};
};
row {
top= 58;
left= 316;
keys {
<UNK3>, <DEL>, <INS>
};
};
row {
top= 73;
keys { <COPY>,
{ <TAB>, 6, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN" },
{ <KP7>, 68 }, <KP8>, <KP9>, <KPEQ>
};
};
row {
top= 92;
keys { <PAST>,
{ <LCTL>, 6, "LCTL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <TLDE>,
{ <UP>, 49 },
{ <KP4>, 25 }, <KP5>, <KP6>, <KPDC>
};
};
row {
top= 102;
left= 316;
keys { <LEFT>, { <RGHT>, 19 }
};
};
row {
top= 111;
keys { <CUT>,
{ <LFSH>, 6 , "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "RTSH" },
{ <DOWN>, 25 },
{ <KP1>, 25 }, <KP2>, <KP3>, { <KPEN>, "KPEN" }
};
};
row {
top= 130;
keys { <HELP>, { <CAPS>, 6 },
<LALT>, <LMTA>, <UNK4>,
{ <SPCE>, "SPCE" },
<UNK5>, <RMTA>, <COMP>, <LNFD>, <UNK6>,
{ <KP0>, 68, "KP0" }, <KP00>
};
};
row {
top= 149;
left= 134;
keys {
{ <UNK7>, "HNKN" }, { <UNK8>, "HNKN" },
{ <EXEC>, 132, "EXEC" }
};
};
}; // End of "Alpha" section
};

View File

@@ -0,0 +1,266 @@
//
// XKB geometry for the Happy Hacking (Lite).
// Different variants correspond to different switch
// settings on the HHK.
//
// Copyright (c) Doug Palmer <doug@charvolant.org>, 2002
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//
//The above copyright notice and this permission notice shall be included in
//all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//THE SOFTWARE.
// SW = 100 Default layout with windows keys
default xkb_geometry "win1" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<LALT>,
{ <LWIN>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RWIN>, "DIAM" },
<RALT>
};
};
};
};
// SW = 101 Layout with windows and alt keys swapped
xkb_geometry "win2" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<LWIN>,
{ <LALT>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RALT>, "DIAM" },
<RWIN>
};
};
};
};
// SW = 110 Default layout with windows keys, and left diamond = Fn key
xkb_geometry "win3" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<LALT>,
{ <FN>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RWIN>, "DIAM" },
<RALT>
};
};
};
};
// SW = 101 Layout with windows and alt keys swapped and left-Alt = Fn key
xkb_geometry "win4" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<FN>,
{ <LALT>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RALT>, "DIAM" },
<RWIN>
};
};
};
};
// SW = 000 Layout with Muhenkan and Henkan keys
xkb_geometry "jp1" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<LALT>,
{ <NFER>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <XFER>, "DIAM" },
<RALT>
};
};
};
};
// SW = 001 Layout with Muhenkan and Henkan keys swapped with Alt
xkb_geometry "jp2" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<NFER>,
{ <LALT>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RALT>, "DIAM" },
<XFER>
};
};
};
};
// SW = 010 Layout with Henkan key and left-diamond as Fn
xkb_geometry "jp3" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<LALT>,
{ <FN>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <XFER>, "DIAM" },
<RALT>
};
};
};
};
// SW = 001 Layout with Henkan key swapped with Alt and left-Alt as Fn
xkb_geometry "jp4" {
include "hhk(basic)"
key.gap = 1;
section "Space" {
top = 86;
left = 30;
row {
top = 1;
keys {
<FN>,
{ <LALT>, "DIAM" },
{ <SPCE>, "SPCE" },
{ <RALT>, "DIAM" },
<XFER>
};
};
};
};
// Basic layout for non-switchable keys
partial hidden xkb_geometry "basic" {
description = "Happy Hacking";
width = 290;
height = 106;
shape.cornerRadius = 1;
shape "NORM" { { [18, 18] }, { [2, 1], [14, 14] } };
shape "BKSP" { { [28, 18] }, { [2, 1], [24, 14] } };
shape "TABK" { { [28, 18] }, { [2, 1], [24, 14] } };
shape "CTRL" { { [32, 18] }, { [2, 1], [28, 14] } };
shape "RTRN" { { [42, 18] }, { [2, 1], [38, 14] } };
shape "LFSH" { { [42, 18] }, { [2, 1], [38, 14] } };
shape "RTSH" { { [32, 18] }, { [2, 1], [28, 14] } };
shape "DIAM" { { [28, 18] }, { [2, 1], [24, 14] } };
shape "SPCE" { { [114, 18] }, { [2, 1], [110, 14] } };
text.color = "black";
text "PFULabel" { left = 16; top = 2; fontsize = 20; text = "PFU"; };
text "HHKLabel" { left = 254; top = 90; text = "Happy Hacking\nKeyboard"; };
section.left = 1;
row.left = 1;
key.shape = "NORM";
key.gap = 1;
section "Alphanumeric" {
top = 10;
row {
top = 1;
keys {
<ESC>,
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
<AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
<AE11>, <AE12>,
<BKSL>, <TLDE>
};
};
row {
top = 20;
keys {
{ <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSP>, "BKSP" }
};
};
row {
top = 39;
keys {
{ <LCTL>, "CTRL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>,
{ <RTRN>, "RTRN" }
};
};
row {
top = 58;
keys {
{ <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" },
{ <FN>, color = "grey20" }
};
};
};
alias <AC00> = <LCTL>;
};

View File

@@ -0,0 +1,696 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "pc101" {
description= "HP PC101";
width= 470;
height= 210;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [132,18] }, { [2,1], [130,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 52;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 8 }, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Alpha" {
top= 91;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },
{ <SPCE>, "SPCE", color="white" },
<RALT>, { <RCTL>, 20 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 91;
left= 310;
key.color= "grey20";
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 91;
left= 375;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "default" geometry
xkb_geometry "hil" {
description= "HP hil";
width= 455;
height= 170;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "TABK" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "BKSL" { { [ 24,18] }, { [2,1], [ 22,17] } };
shape "RTRN" { { [ 38,18] }, { [2,1], [ 36,17] } };
shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "RTSH" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [151,18] }, { [2,1], [150,17] } };
shape "KP0" { { [ 38,18] }, { [2,1], [ 36,17] } };
shape "KPTB" { { [ 18,38] }, { [2,1], [ 16,37] } };
shape "TLDE" { { [ 24,18] }, { [2,1], [ 22,17] } };
shape "FKT1" { { [ 17,14] }, { [2,1], [ 15,13] } };
shape "FKT2" { { [ 23,14] }, { [2,1], [ 21,13] } };
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 14;
row {
top= 1;
keys { { <BRK>, "FKT1" }, { <STOP>, "FKT1" } ,
{ <FK01>, "FKT2", 10 }, { <FK02>, "FKT2" },
{ <FK03>, "FKT2" }, { <FK04>, "FKT2" },
{ <MENU>, "FKT1" }, { <SYST>, "FKT1" },
{ <FK05>, "FKT2" }, { <FK06>, "FKT2" },
{ <FK07>, "FKT2" }, { <FK08>, "FKT2" },
{ <CLRL>, "FKT1", 10 }, { <CLR>, "FKT1" },
{ <FK09>, "FKT1", 19 }, { <FK10>, "FKT1" },
{ <FK11>, "FKT1" }, { <FK12>, "FKT1" }
};
};
}; // End of "Function" section
section "Alpha" {
top= 52;
row {
top= 1;
keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }, <INSL>, <DELL>
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" },
<INSC>, <DELC>
};
};
row {
top= 39;
keys { <CAPS>, <LCTL>,
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN" },
<HOME>, <PGUP>
};
};
row {
top= 58;
keys { <ESC>, { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }, <SELE>,
<UP>, <PGDN>
};
};
row {
top= 77;
keys { <PRSC>, { <LALT>, 30 },
{ <SPCE>, "SPCE" },
<RALT>, { <LEFT>, 30 }, <DOWN>, <RGHT>
};
};
}; // End of "Alpha" section
section "Keypad" {
top= 52;
left= 360;
row {
top= 1;
keys { <KPMU>, <KPDV>, <KPAD>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPEN> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPSP> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPTB>, "KPTB" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
};
// Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
// Geometry specification for HP Omnibook keyboards.
// Compatible Models: 6100, 6000.
xkb_geometry "omnibook" {
width = 282;
height = 128;
baseColor = "grey80";
labelColor = "white";
shape "FN0" { cornerRadius = 1, { [15.5, 12] }, { [1, 0], [14.5, 11] } };
shape "NORM" { cornerRadius = 1, { [18, 16] }, { [2, 0], [16, 14] } };
shape "BKSP" { cornerRadius = 1, { [31, 16] }, { [2, 0], [29, 14] } };
shape "TABK" { cornerRadius = 1, { [27, 16] }, { [2, 0], [25, 14] } };
shape "CAPS" { cornerRadius = 1, { [32, 16] }, { [2, 0], [30, 14] } };
shape "RTSH" { cornerRadius = 1, { [45, 16] }, { [2, 0], [43, 14] } };
shape "MODK" { cornerRadius = 1, { [28, 16] }, { [2, 0], [26, 14] } };
shape "SPCE" { cornerRadius = 1, { [90, 16] }, { [2, 0], [88, 14] } };
shape "ARRS" { cornerRadius = 1, { [17, 12] }, { [2, 0], [15, 11] } };
shape "LED" { cornerRadius = 1, { [2, 4] } };
shape "KEYS" { cornerRadius = 1,
{ [0, 13],
[197, 13], [197, 0],
[280, 0], [280, 125],
[224, 125], [224, 112],
[0, 112] }
};
solid "KeyPanel" {
shape = "KEYS";
left = 1;
top = 1;
color = "black";
};
shape "NULL1" { cornerRadius = 1, { [54, 16] } };
solid "NullPanel1" {
shape = "NULL1";
left = 226;
top = 96;
color = "grey80";
};
shape "NULL2" { cornerRadius = 1, { [19, 14] } };
solid "NullPanel2" {
shape = "NULL2";
left = 243;
top = 97;
color = "black";
};
indicator.onColor = "green";
indicator.offColor = "grey10";
indicator.top = 4;
indicator.shape = "LED";
indicator "Caps Lock" { left = 45; };
indicator "Num Lock" { left = 60; };
indicator "Scroll Lock" { left = 75; };
indicator "HDDActivity" { onColor = "red"; left = 90; };
key.color = "grey60";
section "Function" {
key.gap = 0.99;
left = 1;
top = 1;
key.shape = "FN0";
row {
left = 197;
top = 1;
keys { <PRSC>, <PAUS>, <INS>, <HOME>, <PGUP> };
};
row {
top = 14;
keys { <ESC>,
<FK01>, <FK02>, <FK03>, <FK04>,
<FK05>, <FK06>, <FK07>, <FK08>,
<FK09>, <FK10>, <FK11>, <FK12>,
<SCLK>, <DELE>, <END>, <PGDN>
};
};
}; // End of "Function" section
section "Control" {
left = 1;
top = 34;
key.gap = 1;
row {
top = 62;
key.shape = "NORM";
keys { <LCTL>, <FN>, <LWIN>, <LALT>,
{ <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
};
};
}; // End of "Control" section
section "Navigation" {
key.shape = "ARRS";
left = 225;
top = 97;
key.gap = 1.4;
row {
left= 18;
top = 1;
keys { <UP> };
};
row {
top = 16;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Navigation" section
shape "STIK" { cornerRadius = 4, { [7, 7] } };
solid "STIK" {
priority = 255;
color = "red";
shape = "STIK";
top = 73;
left = 126;
};
};
// 86 keys
xkb_geometry "omnibook_intl" {
include "hp(omnibook)"
description = "HP Omnibook 6000/6100, Intl";
shape "RTRN" { cornerRadius = 1,
{ [22, 0], [22, 33], [5, 33], [5, 16], [0, 16], [0, 0] },
{ [20, 0], [20, 31], [7, 31], [7, 14], [2, 14], [2, 0] } };
shape "LFSH" { cornerRadius = 1, { [23, 16] }, { [2, 0], [21, 14] } };
section "Alpha" {
key.gap = 1;
key.color = "grey60";
key.shape = "NORM";
left = 1;
top = 27;
row {
top = 1;
keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
};
};
row {
top = 18;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN" }
};
};
row {
top = 35;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top = 52;
keys { { <LFSH>, "LFSH" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
}; // End of "Alpha" section
};
xkb_geometry "mini110" {
description= "HP Mini 110";
width= 262;
height= 106;
shape.cornerRadius = 0;
shape "FN0" { { [ 14, 10 ] } , { [ 14, 10 ] } };
shape "NORM" { { [ 16.7, 16 ] } , { [ 16.7, 16 ] } };
shape "TLDE" { { [ 12, 16 ] } , { [ 12, 16 ] } };
shape "ONE" { { [ 14, 16 ] } , { [ 14, 16 ] } };
shape "BKSP" { { [ 31.3, 16 ] } , { [ 31.3, 16 ] } };
shape "BKSL" { { [ 23.9, 16 ] } , { [ 23.9, 16 ] } };
shape "CAPS" { { [ 22, 16 ] } , { [ 22, 16 ] } };
shape "RTRN" { { [ 36.3, 16 ] } , { [ 36.3, 16 ] } };
shape "LFSH" { { [ 31, 16 ] } , { [ 31, 16 ] } };
shape "RTSH" { { [ 45, 16 ] } , { [ 45, 16 ] } };
shape "CTLS" { { [ 16.5, 19 ] } , { [ 16.5, 19 ] } };
shape "SPCE" { { [ 78.4, 19 ] } , { [ 78.4, 19 ] } };
shape "ARRW" { { [ 16.7, 9 ] } , { [ 16.7, 9 ] } };
key.gap=1;
section "Function" {
top=4;
left=3;
key.shape="FN0";
row {
keys {
<ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
<FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>,
<FK12>, <PAUS>, <SCLK>, <INS>, <DELE>
};
};
};
section "Alphanum" {
top=15;
left=3;
key.shape="NORM";
row {
top= 0;
keys { { <TLDE>, "TLDE" } , { <AE01>, "ONE" }, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 17;
keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top= 34;
keys { { <CAPS>, "CAPS" } ,
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN" }
};
};
row {
top= 51;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
};
section "Control" {
top=83;
left=3;
key.shape="CTLS";
row {
keys {
<LCTL>, <FN>, <LWIN>, <LALT>, { <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
};
};
};
section "Arrows" {
top=83;
left=204.9;
key.shape="ARRW";
row {
left= 17.7;
keys {
<UP>
};
};
row {
top = 10;
keys {
<LEFT>, <DOWN>, <RGHT>
};
};
};
};
xkb_geometry "dv5" {
height=118.4;
width=310.6;
description = "HP Pavilion dv5";
shape.cornerRadius = 1;
shape "ESC" { { [20.0, 12.5] }, { [2.2, 1], [17.8, 10.5] } };
shape "FN0" { { [15.9, 12.5] }, { [2.2, 1], [13.7, 10.5] } };
shape "DELE" { { [19.4, 12.5] }, { [2.2, 1], [17.2, 10.5] } };
shape "NORM" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
shape "BKSP" { { [36.1, 18.3] }, { [2.4, 1], [33.7, 16.3] } };
shape "TABK" { { [26.8, 18.3] }, { [2.4, 1], [24.4, 16.3] } };
shape "BKSL" { { [27.1, 18.3] }, { [2.4, 1], [24.7, 16.3] } };
shape "CAPS" { { [31.6, 18.3] }, { [2.4, 1], [29.2, 16.3] } };
shape "RTRN" { { [41.2, 18.3] }, { [2.4, 1], [39.3, 16.3] } };
shape "LFSH" { { [41.5, 18.3] }, { [2.4, 1], [38.8, 16.3] } };
shape "RTSH" { { [31.5, 18.3] }, { [2.4, 1], [29.1, 16.3] } };
shape "LCTL" { { [22.4, 18.3] }, { [2.2, 1], [20.2, 16.3] } };
shape "RCTL" { { [22.6, 18.3] }, { [2.2, 1], [20.4, 16.3] } };
shape "CTLS" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
shape "SPCE" { { [94.3, 18.3] }, { [2.5, 1], [91.8, 16.3] } };
shape "ARRW" { { [17.9, 18.3] }, { [2.2, 1], [15.7, 16.3] } };
shape "EDIT" { { [16.6, 18.3] }, { [2.2, 1], [14.4, 16.3] } };
key.gap = 1.2;
section "Function" {
top=4.2;
left=3;
row {
key.shape = "FN0";
keys {
{<ESC>, "ESC"},
{2.9, <FK01>}, <FK02>, <FK03>, <FK04>,
{2.9, <FK05>}, <FK06>, <FK07>, <FK08>,
{2.9, <FK09>}, <FK10>, <FK11>, <FK12>,
{2.9, <NMLK>}, <PAUS>, <INS>, {<DELE>, "DELE"}
};
};
};
section "Alpha" {
top = 17.9;
key.shape = "NORM";
left = 3;
row {
top = 0;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
};
};
row {
top = 19.5;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top = 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN" }
};
};
row {
top = 58.5;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
}; // End of "Alpha" section
section "Controls" {
top = 95.9;
key.shape = "CTLS";
left = 3;
row {
top = 0;
keys { {<LCTL>, "LCTL"}, <FN>, <LWIN>, <LALT>, {<SPCE>, "SPCE"},
<RALT>, <MENU>, {<RCTL>, "RCTL"}
};
};
};
section "Editing" {
top = 16.5;
left = 289.9;
key.shape = "EDIT";
key.gap = 1.4;
row {
top = 0;
vertical = true;
keys {
<HOME>, <PGUP>, <PGDN>, <END>
};
};
};
section "Arrows" {
top = 76.4;
key.shape = "ARRW";
left = 249.3;
row {
top = 0;
left = 19.1;
keys {
<UP>
};
};
row {
top = 19.5;
left = 0;
keys {
<LEFT>, <DOWN>, <RGHT>
};
};
};
};

View File

@@ -0,0 +1,252 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "FlexPro" {
// This is an approximate layout for a Key Tronic FlexPro
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Key Tronic FlexPro keyboard";
width= 515;
height= 200;
shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } };
shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } };
shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } };
shape "RTRN" {
approx = { [16, 0], [38,37] },
{ [16, 0], [38, 0], [38,37],
[ 0,37], [ 0,19], [16,19] },
{ [18, 1], [36, 1], [36,36],
[ 2,36], [ 2,20], [18,20] } };
shape "CAPS" { { [36,18] }, { [2,1], [34,17] } };
shape "SHFT" { { [46,18] }, { [2,1], [44,17] } };
shape "LCTL" { { [32,18] }, { [2,1], [30,17] } };
shape "RCTL" { { [38,18] }, { [2,1], [36,17] } };
shape "LALT" { { [28,18] }, { [2,1], [26,17] } };
shape "RALT" { { [33,18] }, { [2,1], [31,17] } };
shape "LSPC" { { [66,22] }, { [0,0], [66,22] } };
shape "RSPC" { { [76,22] }, { [0,0], [76,22] } };
shape "KP0" { { [37,18] }, { [2,1], [35,17] } };
shape "KPEN" { { [18,37] }, { [2,1], [16,36] } };
shape "LOGO" { cornerRadius= 3, { [80,35] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 9;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 56;
row {
top = 1;
key.color= "grey20";
keys { <FK01>, <FK02> };
};
row {
top = 20;
key.color= "grey20";
keys { <FK03>, <FK04> };
};
row {
top = 39;
keys { <FK05>, <FK06> };
};
row {
top = 58;
key.color= "grey20";
keys { <FK07>, <FK08> };
};
row {
top = 77;
key.color= "grey20";
keys { <FK09>, <FK10> };
};
row {
top = 96;
keys { <FK11>, <FK12> };
};
}; // End of "Function" section
section "Alpha" {
top= 56;
left= 53;
row {
top= 1;
keys {
{ <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" },
<AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys {
{ <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN", -14, color="grey20" }
};
};
row {
top= 39;
keys {
{ <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>
};
};
row {
top= 58;
keys {
{ <LFSH>, color="grey20" },
{ <LFSH>, "SHFT", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "SHFT", color="grey20" }
};
};
row {
top= 77;
key.color= "grey20";
keys {
<LALT>,
{ <LCTL>, shape="LCTL" },
{ <LALT>, shape="LALT" },
{ <SPCE>, shape="LSPC", 4, color="white" },
{ <SPCE>, shape="RSPC",color="white" },
{ <RALT>, shape="RALT", 4 },
{ <RCTL>, shape="RCTL" }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 12;
left= 365;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 45;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 64;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 102;
left= 20;
keys { <UP> };
};
row {
top= 121;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } };
shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 11;
left= 430;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 13;
indicator.shape= "LED";
indicator "Num Lock" { left= 440; };
indicator "Caps Lock" { left= 467; };
indicator "Scroll Lock" { left= 489; };
text.top= 22;
text.color= "black";
text "NumLockLabel" { left= 438; text="Num\nLock"; };
text "CapsLockLabel" { left= 465; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; };
logo "FlexProLogoImage" {
top= 12;
left= 45;
name= "KeyTronic";
shape= "LOGO";
};
text "KeyTronicLogoText" {
top= 15;
left= 50;
width= 55;
text= "FlexPro";
font= "times";
slant= "o";
weight= "bold";
fontWidth= "narrow";
fontSize= 36;
};
section "Keypad" {
top= 56;
left= 430;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
};

View File

@@ -0,0 +1,189 @@
default xkb_geometry "model100" {
// This is an approximate layout for a Kinesis Ergonomic keyboard
// Generated completely by eye. I didn't actually *measure* a real
// keyboard.
description= "Kinesis Ergonomic";
width= 421;
height= 185;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "WIDE" { { [ 21,18] }, { [2,1], [19,17] } };
shape "TALL" { { [ 18,37] }, { [2,1], [16,36] } };
shape "FKEY" { cornerRadius=0, { [ 10,13] } };
shape "LED" { cornerRadius= 1.5, { [ 3, 3] } };
shape "LOGO" { { [ 40, 10 ] } };
shape "EDGE" { cornerRadius=5, { [ 421, 185 ] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section "LeftFunction" {
left= 15;
top= 11;
key.shape= "FKEY";
key.gap= 3;
row {
left= 1;
top= 1;
keys {
<ESC>, <FK01>, <FK02>, <FK03>, <FK04>,
<FK05>, <FK06>, <FK07>, <FK08>
};
};
}; // End of "LeftFunction" section
section "RightFunction" {
left= 290;
top= 11;
key.shape= "FKEY";
key.gap= 3;
row {
left= 1;
top= 0.2;
keys {
<FK09>, <FK10>, <FK11>, <FK12>, <PRSC>,
<SCLK>, <PAUS>, <FK16>, <FK17>
};
};
}; // End of "RightFunction" section
row.vertical= True;
row.top= 1;
key.gap= 0.5;
logo "KinesisLogoImage" {
top= 25;
left= 240;
name= "Kinesis";
shape= "LOGO";
};
indicator.shape= "LED";
indicator.top= 30;
indicator.onColor= "green";
indicator.offColor= "green30";
indicator "Caps Lock" { left= 23; };
section "LeftAlpha" {
top= 34;
left= 15;
row {
left= 2;
key.shape= "WIDE";
keys { <AE12>, <TAB>, <CAPS>, <LFSH> };
};
row {
top= 4;
left= 24;
keys { <AE01>, <AD01>, { <AC01>, color="grey20" }, <AB01>, <TLDE> };
};
row {
left= 43;
keys { <AE02>, <AD02>, { <AC02>, color="grey20" }, <AB02>, <INS> };
};
row {
left= 62;
keys { <AE03>, <AD03>, { <AC03>, color="grey20" }, <AB03>, <LEFT> };
};
row {
left= 81;
keys { <AE04>, <AD04>, { <AC04>, color="grey20" }, <AB04>, <RGHT> };
};
row {
left= 100;
keys { <AE05>, <AD05>, <AC05>, <AB05> };
};
}; // End of "LeftAlpha" section
indicator "NumLock" { left= 318; };
indicator "Overlay" { left= 387; };
section "RightAlpha" {
top= 34;
left= 290;
row {
left= 2;
keys { <AE06>, <AD06>, <AC06>, <AB06> };
};
row {
left= 21;
keys { <AE07>, <AD07>, { <AC07>, color="grey20" }, <AB07>, <UP> };
};
row {
left= 40;
keys { <AE08>, <AD08>, { <AC08>, color="grey20" }, <AB08>, <DOWN> };
};
row {
left= 59;
keys { <AE09>, <AD09>, { <AC09>, color="grey20" }, <AB09>, <AD11> };
};
row {
top= 4;
left= 78;
keys { <AE10>, <AD10>, { <AC10>, color="grey20" }, <AB10>, <AD12> };
};
row {
left= 97;
key.shape= "WIDE";
keys { <AE11>, <BKSL>, <AC11>, <RTSH> };
};
overlay "KPAD" {
<AE07>=<NMLK>, <AE08>=<KPEQ>, <AE09>=<KPSL>, <AE10>=<KPMU>,
<AD07>=<KP7>, <AD08>=<KP8>, <AD09>=<KP9>, <AD10>=<KPSU>,
<AC07>=<KP4>, <AC08>=<KP5>, <AC09>=<KP6>, <AC10>=<KPAD>,
<AB07>=<KP1>, <AB08>=<KP2>, <AB09>=<KP3>, <AB10>=<KPEN>,
<AE10>=<KPDL>, <AE11>=<KPEN>
};
}; // End of "RightAlpha" section
section "LeftEdit" {
top= 109;
left= 123;
angle= 20;
row.top= -18;
row {
top= 1;
left= 1;
keys { { <BKSP>, "TALL" } };
};
row {
left= 20;
keys { <LCTL>, { <DELE>, "TALL" } };
};
row {
left= 39;
keys { <LALT>, <HOME>, <END> };
};
}; // End of "LeftEdit" section
section "RightEdit" {
top= 109;
left= 302;
angle= -20;
row.top= -18;
row {
left= -57;
keys { <RALT>, <PGUP>, <PGDN> };
};
row {
left= -38;
keys { <RCTL>, { <RTRN>, "TALL" } };
};
row {
top= 1;
left= -19;
keys { { <SPCE>, "TALL" } };
};
overlay "KPAD" {
<SPCE>= <KP0>
};
}; // End of "RightEdit" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,532 @@
default xkb_geometry "natural" {
// Approximate layout for a Microsoft Natural
description= "Microsoft Natural";
width= 550;
height= 190;
shape.cornerRadius= 1;
shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
shape "LCTL" {
approx= { [ 32, 22 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
};
shape "LWIN" {
approx= { [ 32, 23 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
};
shape "LALT" {
approx= { [ 32, 24 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
};
shape "RDEF" { { [ 18,18] }, { [3,1], [15,15] } };
shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
shape "BKSP" { { [ 41, 18 ] }, { [ 3, 1], [39, 15] } };
shape "BKSL" { { [ 24, 18 ] }, { [ 3, 1], [22, 15] } };
shape "RTRN" { { [ 37, 18 ] }, { [ 3, 1], [35, 15] } };
shape "RTSH" { { [ 43, 18 ] }, { [ 3, 1], [41, 15] } };
shape "RALT" {
approx= { [ 27, 24 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
};
shape "RWIN" {
approx= { [ 27, 23 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
};
shape "MENU" {
approx= { [ 27, 21 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
};
shape "RCTL" {
approx= { [ 27, 19 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
};
shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
shape "SPCE" {
{ [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
[134,26], [99,30], [67,33], [33,30], [ 0,26] },
{ [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
[131,23], [99,28], [67,32], [33,28], [ 3,23] }
};
shape "EDGE" {
cornerRadius= 2,
{ [ 25, 0 ], [ 177, 17 ], [ 329, 0 ], [ 542, 0 ],
[ 542, 150 ], [ 354, 150 ], [ 177, 185 ], [ 0, 150 ] }
};
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
row.left= 1;
key.shape= "LDEF";
key.gap= 1;
section "LeftFunction" {
top= 10;
left= 40;
angle= 10;
row {
top= 1;
keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
};
}; // End of "LeftFunction" section
section "LeftAlpha" {
top= 47;
left= 30;
angle= 10;
row {
top= 1;
keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, { <AE06>, "KEY6" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>
};
};
row {
top= 77;
keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
};
}; // End of "LeftAlpha" section
key.shape= "RDEF";
section "RightFunction" {
top= 32;
left= 195;
angle= -10;
row {
top= 1;
left= 1;
keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
};
}; // End of "RightFunction" section
section "RightAlpha" {
top= 71;
left= 190;
angle= -10;
row.left= 1;
row {
top= 1;
keys { { <AE07>, "KEY7" },
<AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys {
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <AC06>, "KEYH" },
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 58;
keys { { <AB06>, "KEYN" },
<AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
left= 40;
keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
{ <MENU>, "MENU" }, { <RCTL>, "RCTL" }
};
};
}; // End of "RightAlpha" section
section "SpaceBar" {
top= 139;
left= 111;
key.shape= "SPCE";
row { keys { <SPCE> }; };
};
section "Editing" {
top= 15;
left= 385;
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 109;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LED" {
cornerRadius= 0,
{ [ 3, 1 ] }
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.left= 177;
indicator.shape= "LED";
indicator "Num Lock" { top= 90; };
indicator "Caps Lock" { top= 107; };
indicator "Scroll Lock" { top= 127; };
section "Keypad" {
top= 47;
left= 456;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
// Approximate layout for a Microsoft Natural(R) Keyboard Elite
//
// Modified by Pavel Kurashov <pavell@mail.ru> Mon Oct 8 22:08:20 NOVST 2007
//
// * Function, editing and navigation keys are reduced in height
// * Navigation keys are repositioned in two columns
// * Leds are enlarged for better look
// * "BKSP" is aligned with "BKSL" and "RTRN"
// * Outline edges are slightly modified
//
xkb_geometry "elite" {
// Approximate layout for a Microsoft Natural(R) Keyboard Elite
description= "Microsoft Natural(r) Keyboard Elite";
width= 495;
height= 190;
shape.cornerRadius= 1;
shape "LDEF" { { [ 18,18] }, { [2,1], [15,15] } };
shape "FKEY" { { [ 18,13] }, { [2,1], [15,10] } };
shape "TABK" { { [ 26,18] }, { [2,1], [23,15] } };
shape "CAPS" { { [ 30,18] }, { [2,1], [23,15] } };
shape "LFSH" { { [ 41,18] }, { [2,1], [38,15] } };
shape "KEY6" { { [ 22,18] }, { [2,1], [15,15] } };
shape "KEYT" { { [ 33,18] }, { [2,1], [15,15] } };
shape "KEYG" { { [ 29,18] }, { [2,1], [15,15] } };
shape "LCTL" {
approx= { [ 32, 22 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 23 ], [ 0, 22 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 17 ], [ 2, 15 ] }
};
shape "LWIN" {
approx= { [ 32, 23 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 24 ], [ 0, 23 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 18 ], [ 2, 17 ] }
};
shape "LALT" {
approx= { [ 32, 24 ] },
{ [ 0, 0], [ 32, 0 ], [ 32, 25 ], [ 0, 24 ] },
{ [ 2, 1], [ 29, 1 ], [ 29, 20 ], [ 2, 19 ] }
};
shape "RDEF" { { [ 18,18 ] }, { [ 2, 1], [15, 15] } };
shape "KEY7" { { [ 28, 18 ] }, { [ 14, 1], [26, 15] } };
shape "KEYH" { { [ 24, 18 ] }, { [ 10, 1], [22, 15] } };
shape "KEYN" { { [ 32, 18 ] }, { [ 18, 1], [30, 15] } };
shape "BKSP" { { [ 32, 18 ] }, { [ 2, 1], [30, 15] } };
shape "BKSL" { { [ 24, 18 ] }, { [ 2, 1], [22, 15] } };
shape "RTRN" { { [ 37, 18 ] }, { [ 2, 1], [35, 15] } };
shape "RTSH" { { [ 43, 18 ] }, { [ 2, 1], [41, 15] } };
shape "RALT" {
approx= { [ 27, 24 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 24 ], [ 0, 25 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 19 ], [ 3, 20 ] }
};
shape "RWIN" {
approx= { [ 27, 23 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 23 ], [ 0, 24 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 18 ], [ 3, 19 ] }
};
shape "MENU" {
approx= { [ 27, 21 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 21 ], [ 0, 23 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 16 ], [ 3, 17 ] }
};
shape "RCTL" {
approx= { [ 27, 19 ] },
{ [ 0, 0], [ 27, 0 ], [ 27, 19 ], [ 0, 21 ] },
{ [ 3, 1], [ 25, 1 ], [ 25, 14 ], [ 3, 15 ] }
};
shape "KPAD" { { [ 18, 37 ] }, { [ 3, 1 ], [ 16, 34 ] } };
shape "KP0" { { [ 37, 18 ] }, { [ 3, 1 ], [ 35, 15 ] } };
shape "SPCE" {
{ [ 4, 3], [42,10], [44, 0], [88, 0], [90,10], [130, 3],
[134,26], [99,30], [67,33], [33,30], [ 0,26] },
{ [ 6, 4.5], [43,11], [45, 1], [87, 1], [89,11], [128, 4.5],
[131,23], [99,28], [67,32], [33,28], [ 3,23] }
};
shape "EDGE" {
cornerRadius= 3,
{ [ 32, 15 ], [140, 33],[ 220, 33 ], [ 329, 15 ], [ 493, 15 ],
[ 493, 150 ], [ 354, 150 ], [200, 180], [ 153, 180 ], [ 7, 150 ] }
};
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
row.left= 1;
key.shape= "FKEY";
key.gap= 1;
section "LeftFunction" {
top= 26;
left= 40;
angle= 10;
row {
top= 1;
keys { <ESC>, { <FK01>, 12 }, <FK02>, <FK03>, <FK04>, <FK05> };
};
}; // End of "LeftFunction" section
key.shape= "LDEF";
section "LeftAlpha" {
top= 47;
left= 30;
angle= 10;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, { <AE06>, "KEY6" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, { <AD05>, "KEYT" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, { <AC05>, "KEYG" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>
};
};
row {
top= 77;
keys { { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, { <LALT>, "LALT" } };
};
}; // End of "LeftAlpha" section
key.shape= "FKEY";
section "RightFunction" {
top= 48;
left= 195;
angle= -10;
row {
top= 1;
left= 1;
keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12> };
};
}; // End of "RightFunction" section
key.shape= "RDEF";
section "RightAlpha" {
top= 71;
left= 190;
angle= -10;
row.left= 1;
row {
top= 1;
keys { { <AE07>, "KEY7" },
<AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys {
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <AC06>, "KEYH" },
<AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 58;
keys { { <AB06>, "KEYN" },
<AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
left= 40;
keys { { <RALT>, "RALT" }, { <RWIN>, "RWIN" },
{ <MENU>, "MENU" }, { <RCTL>, "RCTL" }
};
};
}; // End of "RightAlpha" section
section "SpaceBar" {
top= 139;
left= 111;
key.shape= "SPCE";
row { keys { <SPCE> }; };
};
section "Editing" {
key.shape="FKEY";
top= 23;
left= 348;
row {
top= 0;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 22;
left=20;
keys { <HOME>, <PGUP> };
};
row {
top= 36;
left=20;
keys { <END>, <PGDN> };
};
row {
top= 50;
left=20;
keys { <DELE>, <INS> };
};
row {
top= 75;
left= 29;
keys { <UP> };
};
row {
top= 89;
left=20;
keys { <LEFT>, <RGHT> };
};
row {
top= 103;
left=29;
keys { <DOWN> };
};
}; // End of "Editing" section
shape "LED" {
cornerRadius= 1,
{ [ 7, 2 ] }
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.left= 177;
indicator.shape= "LED";
indicator "Num Lock" { top= 90; };
indicator "Caps Lock" { top= 107; };
indicator "Scroll Lock" { top= 127; };
section "Keypad" {
top= 44;
left= 412;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};

View File

@@ -0,0 +1,157 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "pc98" {
description= "Generic PC98";
width= 405;
height= 172;
shape.cornerRadius= 1;
shape "NORM" { { [ 17,18] }, { [2,1], [ 15,17] } };
shape "RTRN" { { [ 20,37] }, { [2,1], [ 18,35] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [115,18] }, { [2,1], [113,17] } };
shape "FUNC" { { [ 21,18] }, { [2,1], [ 19,17] } };
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
shape "TABK" { { [ 30,18] }, { [2,1], [ 28,17] } };
shape "ARRW" { { [ 35,18] }, { [2,1], [ 33,17] } };
section.left= 8;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 29;
row {
top= 1;
key.shape="FUNC";
keys { { <BRK>, "NORM" }, { <PRSC>, "NORM", 5 },
{ <FK01>, 6 }, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 6 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 6 }, <FK12>, <FK13>, <FK14>, <FK15>
};
};
}; // End of "Function" section
section "Alpha" {
top= 54;
row {
top= 1;
keys { { <ESC>, shape="BKSP"},
<AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, <BKSL>,
{ <BKSP>, "BKSP" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN", 6 }
};
};
row {
top= 39;
keys { <LCTL>, <CAPS>,
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
{ <RTSH>, "RTSH" }
};
};
row {
top= 77;
keys { { <ALGR>, 35 } , <LALT>, { <NFER>, "FUNC" },
{ <SPCE>, "SPCE" }, { <XFER>, "FUNC" }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 54;
left= 281;
row {
top= 1;
keys { <INS>, <DELE> };
};
row {
top= 20;
keys { <PGDN>, <PGUP> };
};
row {
top= 39;
keys { { <UP>, "ARRW" } };
};
row {
top= 58;
keys { <LEFT>, <RGHT> };
};
row {
top= 77;
keys { { <DOWN>, "ARRW" } };
};
}; // End of "Editing" section
section "Keypad" {
top= 54;
left= 320;
row {
top= 1;
keys { <HOME>, <HELP>, <KPSU>, <KPDV> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, <KPMU> };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, <KPAD> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, <KPEQ> };
};
row {
top= 77;
keys { <KP0>, <KPSP>, <KPDC>, <KPEN> };
};
}; // End of "Keypad" section
}; // End of "pc98" geometry

View File

@@ -0,0 +1,53 @@
// Zoomed 3x because of text size
default xkb_geometry "nokiarx51" {
description= "Nokia RX-51";
width= 273; // 13x6mm + 2x1.5mm border + 2x5mm border
height= 54; // 3x5mm + 2x1.5mm border
shape.cornerRadius= 1.5;
shape "NORM" { { [18,15] } };
shape "SPCE" { { [36,15] } };
shape "FRAME" { cornerRadius= 2.5, { [243,54] } };
solid "FRAME" {
shape= "FRAME";
color= "white";
top= 0;
left= 15;
};
section.left= 15;
row.left= 4.5;
key.shape= "NORM";
key.gap= 0;
section "Keys" {
top= 0;
row {
top= 4.5;
keys { { <LCTL>, "NORM", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AB08>,
{ <BKSP>, "NORM", color="grey20" }
};
};
row {
top= 19.5;
keys { { <RALT>, "NORM", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AB09>, <UP>,
{ <RTRN>, "NORM", color="grey20" }
};
};
row {
top= 34.5;
keys { { <LFSH>, "NORM", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, <AB07>,
{ <SPCE>, "SPCE", color="white" },
<LEFT>, <DOWN>, <RGHT>
};
};
}; // End of "Keys" section
}; // End of "rx51" geometry

View File

@@ -0,0 +1,168 @@
default xkb_geometry "omnikey101" {
description= "North Gate Omnikey 101";
width= 470;
height= 175;
shape.cornerRadius= 1;
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [34,18] }, { [2,1], [32,17] } };
shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [15, 0], [40,37] },
{ [15, 0], [40, 0], [40,37],
[ 0,37], [ 0,19], [15,19] },
{ [17, 1], [38, 1], [38,36],
[ 2,36], [ 2,20], [17,20] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
shape "LFSH" { { [ 41,18] }, { [2,1], [39,17] } };
shape "RTSH" { { [ 30,18] }, { [2,1], [28,17] } };
shape "MODK" { { [ 26,18] }, { [2,1], [24,17] } };
shape "SPCE" { { [129,18] }, { [2,1], [127,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 32;
left= 375;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 46.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 384; };
indicator "Caps Lock" { left= 409; };
indicator "Scroll Lock" { left= 434; };
text.top= 34;
text.color= "black";
text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 32;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 9 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 9 }, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 65;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN", -14, color="grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }, <BKSL>
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LALT>,
{ <LCTL>, 23 },
{ <SPCE>, "SPCE", color="white" },
<RCTL>,
{ <RALT>, 23 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 32;
left= 308;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 65;
left= 374;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "default" geometry

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,150 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "sanwaskbkg3" {
description= "Sanwa Supply SKB-KG3";
// SKB-KG3BK (black)
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3BK
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3BK/
// SKB-KG3W (white)
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3W
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SW/
// SKB-KG3SV (silver)
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3SV
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SV/
width= 304;
height= 127;
shape.cornerRadius= 1;
shape "TOP" { { [15.25,13] }, { [2,2], [13.25,11] } };
shape "NORM" { { [17,16] }, { [2,2], [15,14] } };
shape "TBBK" { { [24.5,16] }, { [2,2], [22.5,14] } };
shape "RTRN" { { [0,0], [36,0], [36,34], [8.5,34], [8.5,16], [0,16] },
{ [2,2], [34,2], [34,32], [10.5,32], [10.5,14], [2,14] } };
shape "CAPS" { { [33,16] }, { [28,16] }, { [2,2], [26,14] } };
shape "LFSH" { { [41,16] }, { [2,2], [39,14] } };
shape "CTSH" { { [19.5,16] }, { [2,2], [17.5,14] } };
shape "SPCE" { { [57.5,16] }, { [2,2], [55.5,14] } };
shape "LED" { cornerRadius= 0, { [5,1] } };
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 3;
indicator.shape= "LED";
indicator "Num Lock" { left= 247; };
indicator "Caps Lock" { left= 266; };
indicator "Scroll Lock" { left= 285; };
text.color= "black";
text.top= 1;
text "Vendor1" { left= 10; text="SANWA"; };
text.top= 4.5;
text "Vendor2" { left= 10; text="SUPPLY"; };
text "NumLockLabel" { left= 241; text="Num Lock"; };
text "CapsLockLabel" { left= 260; text="Caps Lock"; };
text "ScrollLockLabel" { left= 279; text="Scroll Lock"; };
section.left= 3;
row.left= 1;
key.shape= "NORM";
key.gap= 2;
section "Function" {
key.shape= "TOP";
top= 10;
row {
top= 1;
keys { <ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
<FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>, <PRSC>,
{<NMLK>, color="grey20"}, <PAUS>, {<DELE>, color="grey20"}
};
};
overlay "SCLK" {
<NMLK>=<SCLK>
};
overlay "FN" {
<DELE>=<INS>
};
}; // End of "Function" section
section "Alpha" {
top= 24;
row {
top= 2;
keys { <HZTG>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
{<AE07>, color="grey20"}, {<AE08>, color="grey20"},
{<AE09>, color="grey20"}, {<AE10>, color="grey20"},
<AE11>, <AE12>, <AE13>, { <BKSP>, "TBBK" }
};
};
row {
top= 20;
keys { { <TAB>, "TBBK" }, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, {<AD07>, color="grey20"}, {<AD08>, color="grey20"},
{<AD09>, color="grey20"}, {<AD10>, color="grey20"}, <AD11>,
<AD12>, { <RTRN>, "RTRN" }
};
};
row {
top= 38;
keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, {<AC07>, color="grey20"}, {<AC08>, color="grey20"},
{<AC09>, color="grey20"}, {<AC10>, color="grey20"}, <AC11>,
<AC12>
};
};
row {
top= 56;
keys { { <LFSH>, "LFSH" }, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, {<AB07>, color="grey20"}, <AB08>,
{<AB09>, color="grey20"}, {<AB10>, color="grey20"}, <AB11>,
{<UP>, color="grey20"}, {<RTSH>, key.shape= "CTSH" }
};
};
row {
top= 74;
keys { { <LCTL>, key.shape= "CTSH" }, {<FN>, color="grey20"},
<LWIN>, <LALT>, <NFER>, {<SPCE>, "SPCE" }, <XFER>, <HKTG>,
<RALT>, <MENU>, {<LEFT>, color="grey20"},
{<DOWN>, color="grey20"},
{<RGHT>, key.shape= "CTSH", color="grey20"}
};
};
overlay "SCLK" {
<AE07>=<KO7>, <AE08>=<KO8>, <AE09>=<KO9>, <AE10>=<KOMU>,
<AD07>=<KO4>, <AD08>=<KO5>, <AD09>=<KO6>, <AD10>=<KOSU>,
<AC07>=<KO1>, <AC08>=<KO2>, <AC09>=<KO3>, <AC10>=<KOAD>,
<AB07>=<KO0>, <AB09>=<KODL>, <AB10>=<KODV>
};
overlay "FN" {
<UP>=<PGUP>, <LEFT>=<HOME>, <DOWN>=<PGDN>, <RGHT>=<END>
};
}; // End of "Alpha" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "default" geometry

View File

@@ -0,0 +1,614 @@
//
// Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
//
// Permission to use, copy, modify, and distribute this
// software and its documentation for any purpose and without
// fee is hereby granted, provided that the above copyright
// notice appear in all copies and that both that copyright
// notice and this permission notice appear in supporting
// documentation, and that the name of Silicon Graphics not be
// used in advertising or publicity pertaining to distribution
// of the software without specific prior written permission.
// Silicon Graphics makes no representation about the suitability
// of this software for any purpose. It is provided "as is"
// without any express or implied warranty.
//
// SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
// SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
// GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
// DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
// THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
default xkb_geometry "pc101" {
// This is an approximate layout for a 101-key (US/ASCII) SGI
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "101-key keyboard for Silicon Graphics O2";
width= 448;
height= 162;
shape "EDGE" {
cornerRadius= 2,
{ [ 15, 0 ], [ 433, 0 ], [ 433, 10 ], [ 448, 10 ],
[ 448, 162 ], [ 0, 162 ], [ 0, 10 ], [ 15, 10 ] }
};
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 12,12] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 6;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 25;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 19}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 58;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },
{ <SPCE>, "SPCE",color="white" },
<RALT>, { <RCTL>, 20 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 25;
left= 299;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 3, 1.5] } };
solid "LedPanel" {
shape= "LEDS";
top= 25;
left= 364;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 40.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 372; };
indicator "Caps Lock" { left= 397; };
indicator "Scro llLock" { left= 422; };
text.font= "helvetica";
text.weight= "bold";
text.slant= "r";
text.fontWidth= "normal";
text.fontSize= 12;
text.top= 39.5;
text.color= "black";
text "NumLockLabel" { left= 376.5; text="1"; };
text "CapsLockLabel" { left= 401.5; text="A"; };
text "ScrollLockLabel" { left= 426.5; text="S"; };
logo "SGILogoImage" {
top= 26.5;
left= 396;
name= "SGI";
shape= "LOGO";
};
text.font= "helvetica";
text.weight= "bold";
text.slant= "o";
text.fontWidth= "narrow";
text.fontSize= 18;
text "SiliconLogoText" {
top= 27;
left= 375;
width= 20;
text= "Silicon";
};
text "GraphicsLogoText" {
top= 27;
left= 409;
width= 20;
text= "Graphics";
};
section "Keypad" {
top= 58;
left= 363;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
xkb_geometry "pc102" {
// This is an approximate layout for 102-key SGI international
// keyboards. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Silicon Graphics 102-key Keyboard";
width= 470;
height= 193;
shape.cornerRadius= 1;
shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [26,37] },
{ [ 0, 0], [26, 0], [26,37],
[ 5,37], [ 5,18], [ 0,18] },
{ [ 1, 1], [24, 1], [24,36],
[ 7,36], [ 7,17], [ 1,17] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 50;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 10}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 10}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 83;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color= "grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN", color= "grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color= "grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color= "grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>,
{ <LALT>, 19 },
{ <SPCE>, "SPCE", color="white" },
<RALT>,
{ <RCTL>, 19 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 50;
left= 308;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 50;
left= 375;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 64.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 384; };
indicator "Caps Lock" { left= 409; };
indicator "Scroll Lock" { left= 434; };
text.top= 52;
text.color= "black";
text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
logo "SGILogoImage" {
top= 17;
left= 22;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 21;
left= 40;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
setWidth= "narrow";
fontSize= 24;
};
section "Keypad" {
top= 83;
left= 374;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
xkb_geometry "jp106" {
description= "Silicon Graphics 106-key Japanese keyboard";
width= 442;
height= 167;
shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "RTRN" {
{ [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
{ [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
logo "SGILogoImage" {
top= 5;
left= 6;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 9;
left= 25;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
fontWidth= "narrow";
fontSize= 24;
};
shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 25;
left= 362;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 40;
indicator.shape= "LED";
indicator "Num Lock" { left= 366; };
indicator "Caps Lock" { left= 391; };
indicator "Scroll Lock" { left= 416; };
text.top= 28;
text.color= "black";
text "NumLockLabel" { left= 366; text="Num\nLock"; };
text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
section.left= 5;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 25;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
{ <FK07>, color="grey20"}, {<FK08>,color="grey20"},
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 8 }, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
<AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
<AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<AE13>, { <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },<NFER>,
{ <SPCE>, "SPCE", color="white" },
<XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 296;
key.color= "grey20";
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 361;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "jp106" geometry

View File

@@ -0,0 +1,410 @@
//
// Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
//
// Permission to use, copy, modify, and distribute this
// software and its documentation for any purpose and without
// fee is hereby granted, provided that the above copyright
// notice appear in all copies and that both that copyright
// notice and this permission notice appear in supporting
// documentation, and that the name of Silicon Graphics not be
// used in advertising or publicity pertaining to distribution
// of the software without specific prior written permission.
// Silicon Graphics makes no representation about the suitability
// of this software for any purpose. It is provided "as is"
// without any express or implied warranty.
//
// SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
// SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
// GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
// DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
// THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
default xkb_geometry "pc101" {
// This is an approximate layout for a 101-key (US/ASCII) SGI
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Silicon Graphics 101-key keyboard";
width= 472;
height= 193;
shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 50;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 19}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 83;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },
{ <SPCE>, "SPCE",color="white" },
<RALT>, { <RCTL>, 20 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 50;
left= 312;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 50;
left= 377;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 64.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 386; };
indicator "Caps Lock" { left= 411; };
indicator "Scroll Lock" { left= 436; };
text.top= 52;
text.color= "black";
text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
logo "SGILogoImage" {
top= 17;
left= 22;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 21;
left= 40;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
fontWidth= "narrow";
fontSize= 24;
};
section "Keypad" {
top= 83;
left= 376;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
xkb_geometry "pc102" {
// This is an approximate layout for 102-key SGI international
// keyboards. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Silicon Graphics 102-key Keyboard";
width= 470;
height= 193;
shape.cornerRadius= 1;
shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [26,37] },
{ [ 0, 0], [26, 0], [26,37],
[ 5,37], [ 5,18], [ 0,18] },
{ [ 1, 1], [24, 1], [24,36],
[ 7,36], [ 7,17], [ 1,17] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 50;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 10}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 10}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 83;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color= "grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN", color= "grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color= "grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color= "grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>,
{ <LALT>, 19 },
{ <SPCE>, "SPCE", color="white" },
<RALT>,
{ <RCTL>, 19 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 50;
left= 308;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 50;
left= 375;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 64.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 384; };
indicator "Caps Lock" { left= 409; };
indicator "Scroll Lock" { left= 434; };
text.top= 52;
text.color= "black";
text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
logo "SGILogoImage" {
top= 17;
left= 22;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 21;
left= 40;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
setWidth= "narrow";
fontSize= 24;
};
section "Keypad" {
top= 83;
left= 374;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};

View File

@@ -0,0 +1,598 @@
//
// Copyright (c) 1996 by Silicon Graphics Computer Systems, Inc.
//
// Permission to use, copy, modify, and distribute this
// software and its documentation for any purpose and without
// fee is hereby granted, provided that the above copyright
// notice appear in all copies and that both that copyright
// notice and this permission notice appear in supporting
// documentation, and that the name of Silicon Graphics not be
// used in advertising or publicity pertaining to distribution
// of the software without specific prior written permission.
// Silicon Graphics makes no representation about the suitability
// of this software for any purpose. It is provided "as is"
// without any express or implied warranty.
//
// SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
// SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
// GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
// DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
// THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
default xkb_geometry "pc101" {
// This is an approximate layout for a 101-key (US/ASCII) SGI
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Silicon Graphics 101-key keyboard";
width= 472;
height= 193;
shape "EDGE" { cornerRadius= 2, { [ 472, 193 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" { { [ 40,18] }, { [2,1], [37,17] } };
shape "CAPS" { { [ 34,18] }, { [2,1], [29,17] } };
shape "RTSH" { { [ 49,18] }, { [2,1], [47,17] } };
shape "LFSH" { { [ 44,18] }, { [2,1], [42,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 50;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 19}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 83;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey20" }
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },
{ <SPCE>, "SPCE",color="white" },
<RALT>, { <RCTL>, 20 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 50;
left= 312;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 50;
left= 377;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 64.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 386; };
indicator "Caps Lock" { left= 411; };
indicator "Scroll Lock" { left= 436; };
text.top= 52;
text.color= "black";
text "NumLockLabel" { left= 382.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 407; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 432; text="Scroll\nLock"; };
logo "SGILogoImage" {
top= 17;
left= 22;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 21;
left= 40;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
fontWidth= "narrow";
fontSize= 24;
};
section "Keypad" {
top= 83;
left= 376;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
xkb_geometry "pc102" {
// This is an approximate layout for 102-key SGI international
// keyboards. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes of a few keys by eye. I didn't actually
// *measure* a real keyboard.
description= "Silicon Graphics 102-key Keyboard";
width= 470;
height= 193;
shape.cornerRadius= 1;
shape "EDGE" { cornerRadius=2, { [ 470, 193 ] } };
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [35,18] }, { [2,1], [33,17] } };
shape "TABK" { { [27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [26,37] },
{ [ 0, 0], [26, 0], [26,37],
[ 5,37], [ 5,18], [ 0,18] },
{ [ 1, 1], [24, 1], [24,36],
[ 7,36], [ 7,17], [ 1,17] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [25,17] } };
shape "RTSH" { { [ 50,18] }, { [2,1], [48,17] } };
shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [130,18] }, { [2,1], [128,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 19;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 50;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18}, <FK02>, <FK03>, <FK04>,
{ <FK05>, 10}, <FK06>, <FK07>, <FK08>,
{ <FK09>, 10}, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 83;
row {
top= 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color= "grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color= "grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN", color= "grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color= "grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color= "grey20" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color= "grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>,
{ <LALT>, 19 },
{ <SPCE>, "SPCE", color="white" },
<RALT>,
{ <RCTL>, 19 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 50;
left= 308;
key.color= "grey20";
row {
top= 1;
keys { <PRSC>, <SCLK>, <PAUS> };
};
row {
top= 33;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 53;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 91;
left= 20;
keys { <UP> };
};
row {
top= 110;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 1, 3 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 50;
left= 375;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 64.5;
indicator.shape= "LED";
indicator "Num Lock" { left= 384; };
indicator "Caps Lock" { left= 409; };
indicator "Scroll Lock" { left= 434; };
text.top= 52;
text.color= "black";
text "NumLockLabel" { left= 380.5; text="Num\nLock"; };
text "CapsLockLabel" { left= 405; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 430; text="Scroll\nLock"; };
logo "SGILogoImage" {
top= 17;
left= 22;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 21;
left= 40;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
setWidth= "narrow";
fontSize= 24;
};
section "Keypad" {
top= 83;
left= 374;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};
xkb_geometry "jp106" {
description= "Silicon Graphics 106-key Japanese keyboard";
width= 442;
height= 167;
shape "EDGE" { cornerRadius= 2, { [ 442, 167 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } };
shape "RTRN" {
{ [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } ,
{ [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } };
shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
logo "SGILogoImage" {
top= 5;
left= 6;
name= "SGI";
shape= "LOGO";
};
text "SGILogoText" {
top= 9;
left= 25;
width= 50;
text= "SiliconGraphics";
font= "helvetica";
slant= "o";
weight= "bold";
fontWidth= "narrow";
fontSize= 24;
};
shape "LEDS" { cornerRadius= 0.1, { [ 76 ,20 ] } };
shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 25;
left= 362;
color= "grey10";
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 40;
indicator.shape= "LED";
indicator "Num Lock" { left= 366; };
indicator "Caps Lock" { left= 391; };
indicator "Scroll Lock" { left= 416; };
text.top= 28;
text.color= "black";
text "NumLockLabel" { left= 366; text="Num\nLock"; };
text "CapsLockLabel" { left= 391; text="Caps\nLock"; };
text "ScrollLockLabel" { left= 416; text="Scroll\nLock"; };
section.left= 5;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 25;
row {
top= 1;
keys { { <ESC>, color="grey20" },
{ <FK01>, 18 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 ,color="grey20"}, {<FK06>,color="grey20"},
{ <FK07>, color="grey20"}, {<FK08>,color="grey20"},
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 8 }, <SCLK>, <PAUS>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { {<HZTG>,color="grey20"}, <AE01>, <AE02>,
<AE03>, <AE04>, <AE05>, <AE06>, <AE07>,
<AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
<AE13>, { <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, 1 ,"RTRN",color="grey20" }
};
};
row {
top= 39;
keys { { <CAPS>, "CAPS", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top= 58;
keys { { <LFSH>, "LFSH", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<AB11>, { <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LCTL>, { <LALT>, 20 },<NFER>,
{ <SPCE>, "SPCE", color="white" },
<XFER>,<HKTG>,<RALT>, { <RCTL>, 17 }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 296;
key.color= "grey20";
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 361;
row {
top= 1;
key.color= "grey20";
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // End of "jp106" geometry

View File

@@ -0,0 +1,179 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
default xkb_geometry "nwp5461" {
description= "Sony NEWS NWS-5000 Keyboard";
width= 425;
height= 190;
shape.cornerRadius= 1;
shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [28,18] }, { [2,1], [26,17] } };
shape "TABK" { { [28,18] }, { [2,1], [26,17] } };
shape "BKSL" { { [28,18] }, { [2,1], [26,17] } };
shape "RTRN" {
approx = { [15, 0], [33,37] },
{ [15, 0], [33, 0], [33,37],
[ 0,37], [ 0,19], [15,19] },
{ [17, 1], [31, 1], [31,36],
[ 2,36], [ 2,20], [17,20] }
};
shape "SHFT" { { [42,18] }, { [2,1], [40,17] } };
shape "MODK" { { [33,18] }, { [2,1], [31,17] } };
shape "SPCE" { { [85,18] }, { [2,1], [83,17] } };
shape "KPEN" { { [18,38] }, { [2,1], [16,37] } };
shape "STOP" { { [28,18] }, { [2,1], [26,17] } };
shape "CUT" { { [55,18] }, { [2,1], [53,17] } };
shape "EXEC" { { [32,18] }, { [2,1], [30,17] } };
shape "UNK" { { [18,18] }, { [2,1], [16,17] } };
shape "CAPS" { { [18,18] }, { [2,1], [16,17] } };
shape "FKEY" { { [23,18] }, { [2,1], [21,17] } };
section.left= 13;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 55;
row {
top= 1;
left= 37;
key.shape="FKEY";
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
{ <FK06>, 5 }, <FK07>, <FK08>, <FK09>, <FK10>,
{ <FK11>, 5 }, <FK12>
};
};
}; // End of "Function" section
section "Alpha" {
top= 80;
row {
top= 1;
keys { { <ESC>, color="grey20" } ,
<AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>,
<AE09>, <AE10>, <AE11>, <AE12>,
<BKSL>, { <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { { <TAB>, "TABK", color="grey20" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <DELE>, color="grey20" },
{ <RTRN>, "RTRN", -14, color="grey20" }
};
};
row {
top= 39;
keys { { <LCTL>, "MODK", color="grey20" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <TLDE>
};
};
row {
top= 58;
keys { { <LFSH>, "SHFT", color="grey20" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
{ <RTSH>, "SHFT", color="grey20" }
};
};
row {
top= 77;
key.shape= "MODK";
key.color= "grey20";
keys { <LALT>, { <CAPS>, "CAPS" },
{ <STOP>, "STOP", color="white" },
{ <SPCE>, "SPCE", color="white" },
{ <CUT>, "CUT", color="white" },
{ <UNK0>, "UNK" }, { <UNK1>, "UNK" },
{ <EXEC>, "EXEC" }
};
};
}; // End of "Alpha" section
section "Editing" {
top= 80;
left= 312;
key.color= "grey20";
row {
top= 1;
keys { <HELP> };
};
row {
top= 20;
keys { <INS> };
};
row {
top= 39;
keys { <CLR> };
};
row {
top= 58;
keys { <PGUP> };
};
row {
top= 77;
keys { <PGDN> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 334;
row {
top= 1;
key.color= "grey20";
keys { { <KPMU>, 19 }, <KPDV>, <KPAD> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color="grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6>, { <KPSP>, color="grey20" } };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color="grey20" } };
};
row {
top= 77;
keys { <KP0>, { <KPDC>, color="grey20" }, <UP> };
};
row {
top= 96;
key.color= "grey20";
keys { <KPTB>, <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Keypad" section
}; // End of "default" geometry

View File

@@ -0,0 +1,223 @@
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
// modified from /usr/share/X11/xkb/geometry/pc(pc104)
//
// The Apex 300 (Apex RAW) has 21 additional keys and
// <RWIN> is replaced by a hardware <FN> key. These
// additions to the basic PC104 layout are shown in red.
//
// Currently the kernel doesn't initialize these keys; a userspace
// tool is needed (apexctl: https://github.com/tuxmark5/ApexCtl).
// With this tool or a proper driver, the extra keys (except FN)
// can be assigned keycodes via udev-hwdb.
//
// FIXME: Keycodes shown here should be changed to match
// kernel defaults when a driver is developed.
//
// The additional keys are in 4 groups:
// 1) L1-L2 left of Escape (column) <I156>,<I157>
// 2) M1-M12 above F1-F12 (row) <FK13>-<FK24>
// 3) MX1-MX5 left of alpha keys (column) <I171>-<I175>
// 4) LeftUp, RightUp with regular arrows <I160>,<I159>
//
// Known <FN> key functions:
// <FN>+<F5> = kbd backlight step dimmer (NoSymbol)
// <FN>+<F6> = kbd backlight step brighter (NoSymbol)
// <FN>+<F7> = <I173> (AudioPrev)
// <FN>+<F8> = <I172> (AudioPlay, AudioPause)
// <FN>+<F9> = <I171> (AudioNext)
// <FN>+<F10> = <MUTE> (AudioMute)
// <FN>+<F10> = <VOL+> (VolumeUp)
// <FN>+<F11> = <VOL-> (VolumeDown)
//
// And yes, the spacebar really is that ridiculous.
//
// 2017.April
//
default xkb_geometry "apex300" {
description= "SteelSeries Apex 300 (Apex RAW)";
width= 450;
height= 150;
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
shape "SPCE" { { [113,37] }, { [2,1], [111,35] } };
shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
shape "MKEY" { { [ 18,8] }, { [2,1], [ 16,7] } };
shape "ESCA" { { [ 18,28] }, { [2,1], [ 16,27] } };
shape "LKEY" { { [ 18,14] }, { [2,1], [ 16,13] } };
shape "LEDS" { cornerRadius= 0, { [ 54, 6 ] } };
shape "LED" { cornerRadius= 0, { [ 4, 1 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 2;
left= 315;
color= "grey10";
};
indicator.onColor= "red";
indicator.offColor= "red";
indicator.top= 7;
indicator.shape= "LED";
indicator "Num Lock" { left= 321; };
indicator "Caps Lock" { left= 340; };
indicator "Scroll Lock" { left= 359; };
text.top= 2;
text.color= "black";
text "NumLockLabel" { left= 322; text="N"; };
text "CapsLockLabel" { left= 341; text="C"; };
text "ScrollLockLabel" { left= 360; text="S"; };
text "SteelSeriesLogo" { top= 10; left= 400; text="SteelSeries"; };
text "FNLogoKeyLabel" { top= 130; left= 248; text="FN"; };
key.shape= "NORM";
key.gap= 1;
key.color= "grey10";
section "Lkeys" {
key.shape= "LKEY";
key.color= "red";
row { top= 1; keys { <I156> }; };
row { top= 15; keys { <I157> }; };
}; // end of "Lkeys" section
section "MXkeys" {
key.shape= "NORM";
key.color= "red";
row { top= 35; keys { <I171> }; }; // 40 59 78 97 116
row { top= 54; keys { <I172> }; }; // 35 54 73 92 111
row { top= 73; keys { <I173> }; };
row { top= 92; keys { <I174> }; };
row { top=111; keys { <I175> }; };
}; // end of "MXkeys" section
section "Escape" {
left= 23;
key.shape= "ESCA";
key.color= "grey30";
row { top= 1; keys { <ESC> }; };
}; // end of "Escape" section
section "Mkeys" {
left= 61;
key.color= "red";
key.shape= "MKEY";
row { top= 1;
keys { <FK13>, <FK14>, <FK15>, <FK16>,
{ <FK17>, 11 }, <FK18>, <FK19>, <FK20>,
{ <FK21>, 11 }, <FK22>, <FK23>, <FK24> }; };
}; // end of "Mkeys" section
section "Function" {
left= 61;
key.color= "grey30";
row { top= 10;
keys { <FK01>, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 5 }, <SCLK>, <PAUS> }; };
}; // end of "Function" section
section "Alpha" {
top= 35;
left= 23;
key.color= "grey10";
row { keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey30" } }; };
row { top= 19;
keys { { <TAB>, "TABK", color="grey30" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" } }; };
row { top= 38;
keys { { <CAPS>, "CAPS", color="grey30" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color="grey30" } }; };
row { top= 57;
keys { { <LFSH>, "LFSH", color="grey30" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey30" } }; };
row { top= 76;
key.shape= "SMOD";
key.color= "grey30";
keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, { <SPCE>, "SPCE" },
<RALT>, { <I248>, color="red" }, <MENU>, <RCTL> }; };
}; // end of "Alpha" section
section "Editing" {
top= 35;
left= 313;
key.color= "grey30";
row { keys { <INS>, <HOME>, <PGUP> }; };
row { top= 19; keys { <DELE>, <END>, <PGDN> }; };
row { top= 57; keys { { <I160>, color="red" }, <UP>, { <I159>, color="red" } }; };
row { top= 76; keys { <LEFT>, <DOWN>, <RGHT> }; };
}; // end of "Editing" section
section "Keypad" {
top= 35;
left= 373;
key.color= "grey10";
row { keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> }; };
row { top= 19; keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } }; };
row { top= 38; keys { <KP4>, <KP5>, <KP6> }; };
row { top= 57; keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } }; };
row { top= 76; keys { { <KP0>, "KP0" }, <KPDL> }; };
}; // end of "Keypad" section
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
}; // end of "apex300" geometry

View File

@@ -0,0 +1,756 @@
// Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
//
//Copyright 1996, 1998 The Open Group
//
//Permission to use, copy, modify, distribute, and sell this software and its
//documentation for any purpose is hereby granted without fee, provided that
//the above copyright notice appear in all copies and that both that
//copyright notice and this permission notice appear in supporting
//documentation.
//
//The above copyright notice and this permission notice shall be
//included in all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
//OTHER DEALINGS IN THE SOFTWARE.
//
//Except as contained in this notice, the name of The Open Group shall
//not be used in advertising or otherwise to promote the sale, use or
//other dealings in this Software without prior written authorization
//from The Open Group.
//
xkb_geometry "t6" {
// This is an approximate layout for a (US/ASCII) Sun Type6
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes.
width= 515;
height= 170;
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 14;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 24;
row {
top= 1;
keys { { <HELP>, "HELP" }, { <ESC>, 9 },
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 9 }, <SCLK>, <PAUS>,
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { <STOP>, <AGAI>,
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSL>, "BKSL" }
};
};
row {
top= 39;
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 58;
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
<LALT>, { <LMTA>, "LMTA" },
{ <SPCE>, "SPCE" },
{ <RMTA>, "RMTA" }, <COMP>, <ALGR>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 352;
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 420;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 1;
left= 218;
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 10;
indicator.shape= "LED";
indicator "CapsLock" { left= 243; };
indicator "Compose" { left= 281; };
indicator "ScrollLock" { left= 262; };
indicator "NumLock" { left= 224; };
text.top= 1;
text.color= "black";
text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
text "ComposeLabel" { left= 281; text="Compose"; };
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
text "NumLockLabel" { left= 224; text="Num\nLock"; };
};
xkb_geometry "t6tuv" {
// This is an approximate layout for a (US/ASCII) Sun Type6
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes.
width= 515;
height= 170;
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [28,37] },
{ [ 0, 0], [28, 0], [28,37],
[ 5,37], [ 5,18], [ 0,18] },
{ [ 1, 1], [26, 1], [26,36],
[ 7,36], [ 7,17], [ 1,17] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } };
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [137,18] }, { [2,1], [135,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 14;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 24;
row {
top= 1;
keys { { <HELP>, "HELP" }, { <ESC>, 9 },
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 9 }, <SCLK>, <PAUS>,
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { <STOP>, <AGAI>,
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 39;
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>
};
};
row {
top= 58;
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" }, <LSGT>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
<LALT>, { <LMTA>, "LMTA" },
{ <SPCE>, "SPCE" },
{ <RMTA>, "RMTA" }, <COMP>, <ALGR>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 352;
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 420;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 1;
left= 218;
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 10;
indicator.shape= "LED";
indicator "CapsLock" { left= 243; };
indicator "Compose" { left= 281; };
indicator "ScrollLock" { left= 262; };
indicator "NumLock" { left= 224; };
text.top= 1;
text.color= "black";
text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
text "ComposeLabel" { left= 281; text="Compose"; };
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
text "NumLockLabel" { left= 224; text="Num\nLock"; };
};
xkb_geometry "t6jp" {
// This is an approximate layout for a (US/ASCII) Sun Type6
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes.
width= 515;
height= 170;
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } };
shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" {
approx = { [ 0, 0], [28,37] },
{ [ 0, 0], [28, 0], [28,37],
[ 5,37], [ 5,18], [ 0,18] },
{ [ 1, 1], [26, 1], [26,36],
[ 7,36], [ 7,17], [ 1,17] }
};
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 14;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 24;
row {
top= 1;
keys { { <HELP>, "HELP" }, { <ESC>, 9 },
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 9 }, <SCLK>, <PAUS>,
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { <STOP>, <AGAI>,
{ <TLDE>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 20;
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 39;
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <BKSL>
};
};
row {
top= 58;
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <UNDR>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
keys { <FIND>, <CUT>, { <LCTL>, 9 },
<LALT>, <LMTA>, { <EXEC>, "EXEC" },
{ <SPCE>, "SPCE" }, { <KANJ>, "KANJ" }, <HENK>,
<RMTA>, <COMP>, <ALGR>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 352;
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 420;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 1;
left= 218;
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 10;
indicator.shape= "LED";
indicator "CapsLock" { left= 243; };
indicator "Compose" { left= 281; };
indicator "ScrollLock" { left= 262; };
indicator "NumLock" { left= 224; };
text.top= 1;
text.color= "black";
text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
text "ComposeLabel" { left= 281; text="Compose"; };
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
text "NumLockLabel" { left= 224; text="Num\nLock"; };
};
xkb_geometry "t6unix" {
// This is an approximate layout for a (US/ASCII) Sun Type6
// keyboard. I just took a similar layout (101 key PC keyboard)
// and adjusted the sizes.
width= 515;
height= 170;
shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } };
shape.cornerRadius= 1;
shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } };
shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } };
shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } };
shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } };
shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } };
shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } };
shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } };
shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } };
shape "SPCE" { { [136,18] }, { [2,1], [134,17] } };
shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } };
shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } };
shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } };
shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } };
shape "LOGO" { { [ 16,16] } };
outline "Edges" {
top= 0;
left= 0;
shape= "EDGE";
};
section.left= 14;
row.left= 1;
key.shape= "NORM";
key.gap= 1;
section "Function" {
top= 24;
row {
top= 1;
keys { { <HELP>, "HELP" }, { <NONE>, 9 },
{ <FK01>, 19 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
{ <PRSC>, 9 }, <SCLK>, <PAUS>,
{ <MUTE>, 9 }, <VOL->, <VOL+>, <POWR>
};
};
}; // End of "Function" section
section "Alpha" {
top= 61;
row {
top= 1;
keys { <STOP>, <AGAI>,
{ <ESC>, 9}, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>,
<BKSL>, <TLDE>
};
};
row {
top= 20;
keys { <PROP>, <UNDO>, { <TAB>, 9, shape="TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>,
{ <BKSP>, "BKSP", color="grey20" }
};
};
row {
top= 39;
keys { <FRNT>, <COPY>, { <CAPS>, 9, shape="CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>,
{ <RTRN>, "RTRN" }
};
};
row {
top= 58;
keys { <OPEN>, <PAST>, { <LFSH>, 9 , shape="LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH", color="grey20" }
};
};
row {
top= 77;
keys { <FIND>, <CUT>, { <LCTL>, 9, shape="LCTL" },
<LALT>, {<LMTA>, "LMTA"},
{ <SPCE>, "SPCE" },
{<RMTA>, "RMTA"}, <COMP>, <ALGR>
};
};
}; // End of "Alpha" section
section "Editing" {
top= 61;
left= 352;
row {
top= 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top= 20;
keys { <DELE>, <END>, <PGDN> };
};
row {
top= 58;
left= 20;
keys { <UP> };
};
row {
top= 77;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Editing" section
section "Keypad" {
top= 61;
left= 420;
row {
top= 1;
keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
};
row {
top= 20;
keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color= "grey20" } };
};
row {
top= 39;
keys { <KP4>, <KP5>, <KP6> };
};
row {
top= 58;
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color= "grey20" } };
};
row {
top= 77;
keys { { <KP0>, "KP0" }, <KPDL> };
};
}; // End of "Keypad" section
shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } };
shape "LED" { cornerRadius= 2, { [ 3, 6 ] } };
solid "LedPanel" {
shape= "LEDS";
top= 1;
left= 218;
};
indicator.onColor= "green";
indicator.offColor= "green30";
indicator.top= 10;
indicator.shape= "LED";
indicator "CapsLock" { left= 243; };
indicator "Compose" { left= 281; };
indicator "ScrollLock" { left= 262; };
indicator "NumLock" { left= 224; };
text.top= 1;
text.color= "black";
text "CapsLockLabel" { left= 243; text="Caps\nLock"; };
text "ComposeLabel" { left= 281; text="Compose"; };
text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; };
text "NumLockLabel" { left= 224; text="Num\nLock"; };
};
default xkb_geometry "type6" {
include "sun(t6)"
description= "Sun Type6 keyboard (US, Korea, Taiwan)";
};
xkb_geometry "type6jp" {
include "sun(t6jp)"
description= "Sun Type6 Japanese keyboard";
};
xkb_geometry "type6tuv" {
include "sun(t6tuv)"
description= "Sun Type6 TUV keyboard";
};
xkb_geometry "type6unix" {
include "sun(t6unix)"
description= "Sun Type6 Unix keyboard";
};
xkb_geometry "type7" {
include "sun(t6)"
description= "Sun Type7 keyboard (US, Korea, Taiwan)";
};
xkb_geometry "type7jp" {
include "sun(t6jp)"
description= "Sun Type7 Japanese keyboard";
};
xkb_geometry "type7tuv" {
include "sun(t6tuv)"
description= "Sun Type7 TUV keyboard";
};
xkb_geometry "type7unix" {
include "sun(t6unix)"
description= "Sun Type7 Unix keyboard";
};

View File

@@ -0,0 +1,627 @@
default xkb_geometry "teck227" {
description="Truly Ergonomic Computer Keyboard Model 227 with wide Alt. (Standard US layout)";
width=296;
height=155;
shape.cornerRadius=1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
shape "DBL" { { [36, 18] }, { [2,1], [ 34,16] } };
shape "RSUP" {
{ [ 2, 0], [ 12, 1] , [ 22, 0], [24, 18], [ 12, 19 ], [0, 18] },
{ [ 4, 1], [ 12, 2] , [ 20, 1], [22, 16], [ 12, 17 ], [2, 16] }
};
shape "DEL" {
{ [ 2, 0], [ 14, 1] , [ 26, 0], [28, 18], [ 14, 19 ], [0, 18] },
{ [ 4, 1], [ 14, 2] , [ 24, 1], [26, 16], [ 14, 17 ], [2, 16] }
};
shape "AE11" {
{ [ 2, 0], [ 16, 1] , [ 30, 0], [32, 18], [ 16, 19 ], [0, 18] },
{ [ 4, 1], [ 16, 2] , [ 28, 1], [30, 16], [ 16, 17 ], [2, 16] }
};
shape "BKSP" {
{ [ 2, 0], [ 18, 1] , [ 34, 0], [36, 18], [ 18, 19 ], [0, 18] },
{ [ 4, 1], [ 18, 2] , [ 32, 1], [34, 16], [ 18, 17 ], [2, 16] }
};
shape "RTRN" {
{ [ 2, 0], [ 20, 1] , [ 38, 0], [40, 18], [ 20, 19 ], [0, 18] },
{ [ 4, 1], [ 20, 2] , [ 36, 1], [38, 16], [ 20, 17 ], [2, 16] }
};
section "Function" {
left=17;
top=3;
row {
keys { <ESC>,
{ <FK01>, 3 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 3 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 3 }, <FK10>, <FK11>, <FK12>,
{ <DELE>, 3 }
};
};
overlay "FN" {
<ESC>=<HIRA>,
<FK01>=<I180>,
<FK02>=<I163>,
<FK03>=<I225>,
<FK04>=<I152>,
<FK05>=<I148>,
<FK06>=<I179>,
<FK07>=<I173>,
<FK08>=<I172>,
<FK09>=<I171>,
<FK10>=<I121>,
<FK11>=<I122>,
<FK12>=<I123>,
<DELE>=<I169>
};
};
section "Special Keys" {
top=22;
left=122;
row {
keys {
<CAPS>, <FN>, <NMLK>
};
};
overlay "MISC" {
<CAPS>=<INS>,
<NMLK>=<PRSC>
};
};
section "LeftNumbers" {
top=32;
left=12;
angle=6;
row {
keys {
<TAB>, <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05>
};
};
};
section "CenterNumbers" {
top=45;
left=136;
row {
keys {
{ <RSUP>, "RSUP" }
};
};
};
section "RightNumbers" {
top=45;
left=159;
angle=-6;
row {
keys {
<AE06>, <AE07>, <AE08>, <AE09>, <AE10>, <AE12>, <RBSP>
};
};
overlay "KPAD" {
<AE07>=<KP7>,
<AE08>=<KP8>,
<AE09>=<KP9>
};
};
section "LeftAlphaQWER" {
top=51;
left=10;
angle=6;
row {
keys {
<AD11>, <AD12>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>
};
};
};
section "CenterAlphaQWER" {
top=64;
left=134;
row {
keys {
{ <DELE>, "DEL" }
};
};
};
section "RightAlphaQWER" {
top=64;
left=161;
angle=-6;
row {
keys {
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AC11>, <BKSL>
};
};
overlay "KPAD" {
<AD07>=<KP4>,
<AD08>=<KP5>,
<AD09>=<KP6>,
<AD10>=<KPSU>,
<AC11>=<KPAD>
};
};
section "LeftAlphaASDF" {
top=52;
left=10;
angle=6;
row {
top=18;
keys {
{ <LCTL>, "DBL" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05>
};
};
};
section "CenterAlphaASDF" {
top=83;
left=132;
row {
keys {
{ <AE11>, "AE11" }
};
};
};
section "RightAlphaASDF" {
top=65;
left=161;
angle=-6;
row {
top=18;
keys {
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, { <RCTL>, "DBL" }
};
};
overlay "KPAD" {
<AC07>=<KP1>,
<AC08>=<KP2>,
<AC09>=<KP3>,
<AC10>=<KPMU>
};
};
section "LeftAlphaZXCV" {
top=89;
left=6;
angle=6;
row {
keys {
{ <LFSH>, "DBL" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>
};
};
};
section "CenterAlphaZXCV" {
top=102;
left=130;
row {
keys {
{ <BKSP>, "BKSP" }
};
};
};
section "RightAlphaZXCV" {
top=102;
left=165;
angle=-6;
row {
keys {
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "DBL" }
};
};
overlay "KPAD" {
<AB07>=<KP0>,
<AB09>=<KPDL>,
<AB10>=<KPDV>
};
};
section "LeftSpecial" {
top=108;
left=4;
angle=6;
row {
keys {
{ <LALT>, "DBL" },
{ <SPCE>, "DBL", 54 }
};
};
};
section "CenterSpecial" {
top=121;
left=128;
row {
keys {
{ <RTRN>, "RTRN" }
};
};
};
section "RightSpecial" {
top=121;
left=167;
angle=-6;
row {
keys {
{ <SPCE>, "DBL" },
{ <RALT>, "DBL", 54 }
};
};
};
section "pgup, pgdown, home and end" {
top=112;
left=40;
angle=6;
row {
left=18;
keys {
<PGUP>
};
};
row {
top=9;
keys {
<HOME>, { <END>, 18 }
};
};
row {
top=18;
left=18;
keys {
<PGDN>
};
};
};
section "Arrows" {
top=117;
left=203;
angle=-6;
row {
left=18;
keys {
<UP>
};
};
row {
top=9;
keys {
<LEFT>, { <RGHT>, 18 }
};
};
row {
top=18;
left=18;
keys {
<DOWN>
};
};
};
};
xkb_geometry "teck229" {
description="Truly Ergonomic Computer Keyboard Model 229 with standard sized Alt and an additional Menu and Super key. (Standard US layout)";
width=296;
height=155;
shape.cornerRadius=1;
shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
shape "DBL" { { [36, 18] }, { [2,1], [ 34,16] } };
shape "RSUP" {
{ [ 2, 0], [ 12, 1] , [ 22, 0], [24, 18], [ 12, 19 ], [0, 18] },
{ [ 4, 1], [ 12, 2] , [ 20, 1], [22, 16], [ 12, 17 ], [2, 16] }
};
shape "DEL" {
{ [ 2, 0], [ 14, 1] , [ 26, 0], [28, 18], [ 14, 19 ], [0, 18] },
{ [ 4, 1], [ 14, 2] , [ 24, 1], [26, 16], [ 14, 17 ], [2, 16] }
};
shape "AE11" {
{ [ 2, 0], [ 16, 1] , [ 30, 0], [32, 18], [ 16, 19 ], [0, 18] },
{ [ 4, 1], [ 16, 2] , [ 28, 1], [30, 16], [ 16, 17 ], [2, 16] }
};
shape "BKSP" {
{ [ 2, 0], [ 18, 1] , [ 34, 0], [36, 18], [ 18, 19 ], [0, 18] },
{ [ 4, 1], [ 18, 2] , [ 32, 1], [34, 16], [ 18, 17 ], [2, 16] }
};
shape "RTRN" {
{ [ 2, 0], [ 20, 1] , [ 38, 0], [40, 18], [ 20, 19 ], [0, 18] },
{ [ 4, 1], [ 20, 2] , [ 36, 1], [38, 16], [ 20, 17 ], [2, 16] }
};
section "Function" {
left=17;
top=3;
row {
keys { <ESC>,
{ <FK01>, 3 }, <FK02>, <FK03>, <FK04>,
{ <FK05>, 3 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 3 }, <FK10>, <FK11>, <FK12>,
{ <DELE>, 3 }
};
};
overlay "FN" {
<ESC>=<HIRA>,
<FK01>=<I180>,
<FK02>=<I163>,
<FK03>=<I225>,
<FK04>=<I152>,
<FK05>=<I148>,
<FK06>=<I179>,
<FK07>=<I173>,
<FK08>=<I172>,
<FK09>=<I171>,
<FK10>=<I121>,
<FK11>=<I122>,
<FK12>=<I123>,
<DELE>=<I169>
};
};
section "Special Keys" {
top=22;
left=122;
row {
keys {
<CAPS>, <FN>, <NMLK>
};
};
overlay "MISC" {
<CAPS>=<INS>,
<NMLK>=<PRSC>
};
};
section "LeftNumbers" {
top=32;
left=12;
angle=6;
row {
keys {
<TAB>, <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05>
};
};
};
section "CenterNumbers" {
top=45;
left=136;
row {
keys {
{ <RSUP>, "RSUP" }
};
};
};
section "RightNumbers" {
top=45;
left=159;
angle=-6;
row {
keys {
<AE06>, <AE07>, <AE08>, <AE09>, <AE10>, <AE12>, <RBSP>
};
};
overlay "KPAD" {
<AE07>=<KP7>,
<AE08>=<KP8>,
<AE09>=<KP9>
};
};
section "LeftAlphaQWER" {
top=51;
left=10;
angle=6;
row {
keys {
<AD11>, <AD12>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>
};
};
};
section "CenterAlphaQWER" {
top=64;
left=134;
row {
keys {
{ <DELE>, "DEL" }
};
};
};
section "RightAlphaQWER" {
top=64;
left=161;
angle=-6;
row {
keys {
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AC11>, <BKSL>
};
};
overlay "KPAD" {
<AD07>=<KP4>,
<AD08>=<KP5>,
<AD09>=<KP6>,
<AD10>=<KPSU>,
<AC11>=<KPAD>
};
};
section "LeftAlphaASDF" {
top=52;
left=10;
angle=6;
row {
top=18;
keys {
{ <LCTL>, "DBL" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05>
};
};
};
section "CenterAlphaASDF" {
top=83;
left=132;
row {
keys {
{ <AE11>, "AE11" }
};
};
};
section "RightAlphaASDF" {
top=65;
left=161;
angle=-6;
row {
top=18;
keys {
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, { <RCTL>, "DBL" }
};
};
overlay "KPAD" {
<AC07>=<KP1>,
<AC08>=<KP2>,
<AC09>=<KP3>,
<AC10>=<KPMU>
};
};
section "LeftAlphaZXCV" {
top=89;
left=6;
angle=6;
row {
keys {
{ <LFSH>, "DBL" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>
};
};
};
section "CenterAlphaZXCV" {
top=102;
left=130;
row {
keys {
{ <BKSP>, "BKSP" }
};
};
};
section "RightAlphaZXCV" {
top=102;
left=165;
angle=-6;
row {
keys {
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "DBL" }
};
};
overlay "KPAD" {
<AB07>=<KP0>,
<AB09>=<KPDL>,
<AB10>=<KPDV>
};
};
section "LeftSpecial" {
top=108;
left=4;
angle=6;
row {
keys {
<LSUP>, <LALT>,
{ <SPCE>, "DBL", 54 }
};
};
};
section "CenterSpecial" {
top=121;
left=128;
row {
keys {
{ <RTRN>, "RTRN" }
};
};
};
section "RightSpecial" {
top=121;
left=167;
angle=-6;
row {
keys {
{ <SPCE>, "DBL" },
{ <RALT>, 54 }, <MENU>
};
};
};
section "pgup, pgdown, home and end" {
top=112;
left=40;
angle=6;
row {
left=18;
keys {
<PGUP>
};
};
row {
top=9;
keys {
<HOME>, { <END>, 18 }
};
};
row {
top=18;
left=18;
keys {
<PGDN>
};
};
};
section "Arrows" {
top=117;
left=203;
angle=-6;
row {
left=18;
keys {
<UP>
};
};
row {
top=9;
keys {
<LEFT>, { <RGHT>, 18 }
};
};
row {
top=18;
left=18;
keys {
<DOWN>
};
};
};
};

View File

@@ -0,0 +1,470 @@
// -*- indent-tabs-mode: nil -*-
// Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
// Geometry specification for IBM ThinkPad keyboard.
// Compatible Models: THINKPAD 560Z 2640-90U, THINKPAD 560Z 2640-91U,
// THINKPAD 560Z 2640-B0U, THINKPAD 560Z 2640-B1U, THINKPAD 560Z 2640-RR3,
// THINKPAD 600 2645-31U, THINKPAD 600 2645-35U, THINKPAD 600 2645-41U,
// THINKPAD 600 2645-42U, THINKPAD 600 2645-45U, THINKPAD 600 2645-48U,
// THINKPAD 600 2645-51U, THINKPAD 600 2645-85U, THINKPAD 600 2645-A1U,
// THINKPAD 600 2645-RR1, THINKPAD 600 2645-RR2, THINKPAD 600E 2645-3AU,
// THINKPAD 600E 2645-4AU, THINKPAD 600E 2645-4BU, THINKPAD 600E 2645-55U,
// THINKPAD 600E 2645-5AU, THINKPAD 600E 2645-5BU, THINKPAD 600E 2645-5JU,
// THINKPAD 600E 2645-8AO, THINKPAD 600E 2645-8AU, THINKPAD 600E 2645-8BU,
// THINKPAD 600E 2645-AAU, THINKPAD 600E 2645-RRB, THINKPAD 600E 2645-RRD,
// THINKPAD 600E 2645-RRF, THINKPAD 600E 2645-RRS, THINKPAD A22E 2645-45U
xkb_geometry "common" {
width = 290;
height = 150;
baseColor = "grey80";
labelColor = "white";
shape "FN0" { cornerRadius = 1, { [17, 12] }, { [2, 0], [15, 10] } };
shape "NORM" { cornerRadius = 1, { [18, 18] }, { [2.5, 0], [15.5, 14] } };
shape "BKSP" { cornerRadius = 1, { [37, 18] }, { [2.5, 0], [34.5, 14] } };
shape "TABK" { cornerRadius = 1, { [27, 18] }, { [2.5, 0], [24.5, 14] } };
shape "CAPS" { cornerRadius = 1, { [31, 18] }, { [1, 0], [30, 16] },
{ [1, 0], [26, 16] },
{ [2.5, 0], [24.5, 14] } };
shape "RTSH" { cornerRadius = 1, { [50, 18] }, { [2.5, 0], [46.5, 14] } };
shape "MODK" { cornerRadius = 1, { [27.5, 18] }, { [2.5, 0], [25, 14] } };
shape "SPCE" { cornerRadius = 1, { [100, 18] }, { [2.5, 0], [97.5, 14] } };
shape "ARRS" { cornerRadius = 1, { [16, 13] }, { [1.5, 0], [14.5, 11] } };
shape "LED" { cornerRadius = 2, { [3, 3] } };
shape "KEYS" { cornerRadius = 2,
{ [0, 0], [19, 0], [19, 13], [172, 13],
[172, 0], [286, 0], [286, 138], [216, 138],
[216, 124], [0, 124] } };
solid "KeyPanel" {
shape = "KEYS";
left = 2;
top = 5;
color = "black";
};
shape "NULL1" { cornerRadius = 1,
{ [0, 0], [50, 0], [50, 18], [34, 18], [34, 4],
[16, 4], [16, 18], [0, 18] } };
solid "NullPanel1" {
shape = "NULL1";
left = 237;
top = 110;
color = "grey80";
};
shape "NULL2" { cornerRadius = 1, { [17, 13] } };
solid "NullPanel2" {
shape = "NULL2";
left = 219;
top = 129;
color = "grey80";
};
shape "NULL3" { cornerRadius = 1,
{ [0, 26],
[72, 26], [72, 13], [76, 13], [76, 26],
[149, 26], [149, 13], [153, 13], [153, 26],
[226, 26], [226, 0], [230, 0], [230, 26],
[284, 26], [285, 27],
[0, 27] } };
solid "NullPanel3" {
shape = "NULL3";
left = 3;
top = 6;
color = "grey80";
};
indicator.onColor = "green";
indicator.offColor = "grey10";
indicator.top = 4;
indicator.shape = "LED";
indicator "HDDActivity" { onColor = "red"; left = 100; };
indicator "Num Lock" { left = 108; };
indicator "Caps Lock" { left = 114; };
indicator "Scroll Lock" { left = 120; };
indicator "Power" { left = 128; };
key.gap = 1;
key.color = "grey60";
section "Function" {
left = 2;
top = 5;
key.shape = "FN0";
row {
top = 1;
keys { <ESC>, { <PRSC>, 155 }, <SCLK>, <PAUS> };
};
row {
top = 14;
keys { <FK01>, <FK02>, <FK03>, <FK04>,
{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Control" {
left= 2;
top = 109;
key.shape = "MODK";
row {
top = 1;
keys { { <FN>, "NORM" }, <LCTL>, <LALT>,
{ <SPCE>, "SPCE" }, <RALT>, <RCTL>
};
};
}; // End of "Control" section
section "Editing" {
top = 5;
left = 233;
key.shape = "FN0";
row {
top = 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top = 14;
keys { <DELE>, <END>, <PGDN> };
};
}; // End of "Editing" section
section "Navigation" {
top = 114;
left = 236;
key.shape = "ARRS";
row {
top = 1;
left = 17;
keys { <UP> };
};
row {
top = 15;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Navigation" section
shape "STIK" { cornerRadius = 4, { [7, 7] } };
solid "STIK" {
priority = 255;
color = "red";
shape = "STIK";
top = 85;
left = 126;
};
};
// 85 keys
// US/English (FRU 02K4785).
xkb_geometry "us" {
include "thinkpad(common)"
description = "IBM ThinkPad 560Z/600/600E/A22E, US";
shape "RTRN" { cornerRadius = 1, { [43, 18] }, { [2.5, 0], [40.5, 14] } };
shape "LFSH" { cornerRadius = 1, { [43, 18] }, { [2.5, 0], [40.5, 14] } };
shape "BKSL" { cornerRadius = 1, { [28, 18] }, { [2.5, 0], [25.5, 14] } };
section "Alpha" {
left = 2;
top = 33;
key.gap = 1;
key.color = "grey60";
key.shape = "NORM";
row {
top = 1;
keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
};
};
row {
top = 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top = 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN" }
};
};
row {
top = 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
}; // End of "Alpha" section
};
// 86 keys
// Tested on: DE/German, UK/English (FRU 02K4787).
xkb_geometry "intl" {
include "thinkpad(common)"
description = "IBM ThinkPad 560Z/600/600E/A22E, Intl";
shape "RTRN" { cornerRadius = 1, { [28, 0], [28, 37], [4, 37], [4, 18],
[0, 18], [0, 0] },
{ [25.5, 0], [25.5, 33], [6.5, 33],
[6.5, 14], [2.5, 14], [2.5, 0] } };
shape "LFSH" { cornerRadius = 1, { [24, 18] }, { [2.5, 0], [21.5, 14] } };
section "Alpha" {
left = 2;
top = 33;
key.gap = 1;
key.color = "grey60";
key.shape = "NORM";
row {
top = 1;
keys { <AE00>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
};
};
row {
top = 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <RTRN>, "RTRN" }
};
};
row {
top = 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, <AC12>
};
};
row {
top = 58;
keys { { <LFSH>, "LFSH" }, <AB00>,
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
}; // End of "Alpha" section
};
xkb_geometry "60" {
width = 290;
height = 140;
baseColor = "grey80";
labelColor = "white";
shape "NORM" { cornerRadius = 1, { [18, 18] }, { [2, 0], [16, 16] } };
shape "ESC" { cornerRadius = 1, { [17, 13] }, { [1.5, 0], [15.5, 12] } };
shape "FN0" { cornerRadius = 1, { [17, 11] }, { [1.5, 0], [15.5, 10] } };
shape "BKSP" { cornerRadius = 1, { [37, 18] }, { [2, 0], [35, 16] } };
shape "TABK" { cornerRadius = 1, { [27.5, 18] }, { [2, 0], [25.5, 16] } };
shape "BKSL" { cornerRadius = 1, { [27.5, 18] }, { [2, 0], [25.5, 16] } };
shape "CAPS" { cornerRadius = 1, { [30.5, 18] }, { [2, 0], [28.5, 16] } };
shape "RTRN" { cornerRadius = 1, { [43.5, 18] }, { [2, 0], [41.5, 16] } };
shape "LFSH" { cornerRadius = 1, { [40, 18] }, { [2, 0], [38, 16] } };
shape "RTSH" { cornerRadius = 1, { [53, 18] }, { [2, 0], [51, 16] } };
shape "LCTL" { cornerRadius = 1, { [21, 18] }, { [2, 0], [19, 16] } };
shape "LWIN" { cornerRadius = 1, { [15, 18] }, { [1.5, 0], [13.5, 16] } };
shape "SPCE" { cornerRadius = 1, { [97, 18] }, { [2, 0], [95, 16] } };
shape "ARR1" { cornerRadius = 1, { [17, 13] }, { [1.5, 0], [15.5, 12] } };
shape "ARR2" { cornerRadius = 1, { [17, 11] }, { [1.5, 0], [15.5, 10] } };
shape "VOL" { cornerRadius = 2.5, { [5, 5] } };
shape "TVTG" { cornerRadius = 0.5, { [0, 1], [17, 1], [17, 4], [0, 4] } };
shape "KEYS" { cornerRadius = 2,
{ [0, 0], [19, 0], [19, 16], [172, 16],
[172, 4], [286, 4], [286, 133], [231, 133],
[231, 126], [0, 126] } };
solid "KeyPanel" {
shape = "KEYS";
left = 2;
top = 3;
color = "black";
};
shape "NULL0" { cornerRadius = 0.5,
{ [0, 26],
[72, 26], [72, 14], [76, 14], [76, 26],
[149, 26], [149, 14], [153, 14], [153, 26],
[226, 26], [226, 2], [230, 2], [230, 26],
[284, 26], [284, 27],
[0, 27] } };
solid "NullPanel0" {
shape = "NULL0";
left = 3;
top = 6;
color = "grey80";
};
shape "NULL1" { cornerRadius = 0.5, { [0, 12], [17, 12], [17, 13], [0, 13] } };
solid "NullPanel1" {
shape = "NULL1";
left = 3;
top = 6;
color = "grey80";
};
shape "MEDIA" { cornerRadius = 0.5, { [0, 0], [55, 0], [55, 10], [0, 10] } };
solid "MediaPanel" {
shape = "MEDIA";
left = 25.5;
top = 6;
color = "black";
};
section "Volume" {
left = 22;
top = 8.5;
key.shape = "VOL";
key.gap = 6;
key.color = "grey20";
row {
keys { <MUTE>, <VOL->, <VOL+>, {<I1F>, "TVTG", color = "blue"} };
};
};
key.gap = 1;
key.color = "grey60";
section "Function" {
left = 2;
top = 3;
key.shape = "FN0";
row {
key.shape = "ESC";
top = 1;
keys { <ESC> };
};
row {
top = 5;
keys { { <PRSC>, 173 }, <SCLK>, <PAUS> };
};
row {
top = 17;
keys { <FK01>, <FK02>, <FK03>, <FK04>,
{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>
};
};
}; // End of "Function" section
section "Control" {
left = 2;
top = 109;
key.shape = "NORM";
row {
top = 1;
keys { <FN>, { <LCTL>, "LCTL" }, { <LWIN>, "LWIN" }, <LALT>,
{ <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
};
};
}; // End of "Control" section
section "Editing" {
top = 7;
left = 233;
key.shape = "FN0";
row {
top = 1;
keys { <INS>, <HOME>, <PGUP> };
};
row {
top = 13;
keys { <DELE>, <END>, <PGDN> };
};
}; // End of "Editing" section
section "Navigation" {
top = 109;
left = 233;
row {
key.shape = "ARR1";
top = 1;
keys { <I6A>, <UP>, <I69> };
};
row {
key.shape = "ARR2";
top = 15;
keys { <LEFT>, <DOWN>, <RGHT> };
};
}; // End of "Navigation" section
shape "STIK" { cornerRadius = 3.5, { [7, 7] } };
solid "STIK" {
priority = 255;
color = "red";
shape = "STIK";
top = 85.5;
left = 125.5;
};
section "Alpha" {
left = 2;
top = 33;
key.shape = "NORM";
row {
top = 1;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
<AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
<AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" }
};
};
row {
top = 20;
keys { { <TAB>, "TABK" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
<AD11>, <AD12>, { <BKSL>, "BKSL" }
};
};
row {
top = 39;
keys { { <CAPS>, "CAPS" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>, { <RTRN>, "RTRN", color = "blue" }
};
};
row {
top = 58;
keys { { <LFSH>, "LFSH" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
{ <RTSH>, "RTSH" }
};
};
}; // End of "Alpha" section
};

View File

@@ -0,0 +1,733 @@
// -*- indent-tabs-mode: nil -*-
// Created by Frédéric Boiteux <fboiteux (at) free (dot) fr>
// and Gildas Cotomale <gildas (dot) cotomale (at) gmail (dot) com>
// Note : the special/multimedia keys (Calc, WWW, Desktop…) have a keycode
// <I[XX]>, found in definition file /usr/share/X11/xkb/keycodes/evdev.
// Fn = <I120>;
// Calc = <I148>;
// WWW = <I158>;
// CycleWindows = <I162>;
// Mail = <I163>;
// PlayPause = <I172>;
// Desktop = <I243>;
xkb_geometry "tm2020" {
description = "TypeMatrix EZ-Reach 2020";
// Keyboard total size :
width = 308;
height = 152;
// Background / foreground colours
baseColor = "white";
labelColor = "black";
// Key shapes: base key = 16 mm each side
shape "NORM" { cornerRadius=1, { [16, 16] }, { [1, 1], [15, 15] }};
shape "ALPL" { cornerRadius=1, { [24.25, 16] }, { [1, 1], [23, 15] }};
shape "DHAL" { cornerRadius=1, { [24.25, 32.5] }, { [1, 1], [23, 31.5] }};
shape "FUNC" { cornerRadius=1, { [16, 12] }, { [2.5, 0], [13.5, 10] }};
shape "FUNL" { cornerRadius=1, { [24.25, 12] }, { [2.5, 0], [21.5, 10] }};
shape "SPCE" { cornerRadius=1, { [57, 26] }, { [2.5, 1], [54.5, 24] }};
shape "DBLA" { cornerRadius=1, { [32.5, 16] }, { [1, 1], [31, 15] }};
shape "LED" { cornerRadius=2, { [4, 4] }};
shape "DECO" { cornerRadius=1, { [3, 18] }};
section "Function" {
left = 4;
top = 24;
key.gap = 0.5;
key.color = "grey10";
key.shape = "FUNC";
row {
keys { { <ESC>, "FUNL" },
<FK01>, <FK02>, <FK03>, <FK04>, <FK05> };
key.color = "grey20";
keys { { <NMLK>, "FUNL" } };
};
row {
left = 150;
key.color = "red";
keys { { <DELE>, "FUNL" } };
key.color = "grey10";
keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>,
{ <FK12>, "FUNL" } };
};
};
section "Alpha" {
left = 4;
top = 36.5;
key.gap = 0.5;
key.color = "grey10";
key.shape = "NORM";
row {
top = 0;
keys { { <TLDE>, "ALPL" },
<AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
{ <BKSP>, "DHAL" } };
};
row {
top = 16.5;
keys { { <TAB>, "ALPL" },
<AD01>, <AD02>, <AD03>, <AD04>, <AD05> };
};
row {
top = 33;
keys { { <LFSH>, "DHAL" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
{ <TAB>, "DHAL" } };
};
row {
top = 49.5;
left = 24.5;
keys { <AB01>, <AB02>, <AB03>, <AB04>, <AB05> };
};
row {
top = 0;
left = 150;
keys { { <BKSP>, "DHAL" },
<AE06>, <AE07>, <AE08> };
key.color = "grey20";
keys { <AE09>, <AE10>, <AE11>, { <AE12>, "ALPL" } };
};
row {
top = 16.5;
left = 174.5;
keys { <AD06>, <AD07>, <AD08> };
key.color = "grey20";
keys { <AD09>, <AD10>, <AD11>, { <AD12>, "ALPL" } };
};
row {
top = 33;
left = 150;
keys { { <RTRN>, "DHAL" },
<AC06>, <AC07>, <AC08> };
key.color = "grey20";
keys { <AC09>, <AC10>, <AC11>, { <RTSH>, "DHAL" } };
};
row {
top = 49.5;
left = 174.5;
keys { <AB06>, <AB07>, <AB08> };
key.color = "grey20";
keys { <AB09>, <AB10>, <BKSL> };
};
};
section "Control" {
left = 4;
top = 102.5;
key.gap = 0.5;
key.color = "grey10";
key.shape = "ALPL";
row {
top = 0;
keys { <LCTL>, <LALT>, <CAPS> };
keys { { <SPCE>, "SPCE"} };
};
row {
top = 16.5;
keys { <I120>, <LWIN>, <MENU> };
};
row {
top = 0;
left = 150;
key.shape = "NORM";
keys { { <SPCE>, "SPCE"}, <RALT> };
key.color = "grey20";
keys { <RCTL>, <UP>, <I162>, { <KPEN>, "DHAL" } };
};
row {
top = 16.5;
left = 207.5;
key.shape = "NORM";
key.color = "grey20";
keys { { <LEFT>, "DBLA" }, <DOWN>, <RGHT> };
};
};
// Leds
indicator.top = 12;
indicator.onColor = "green";
indicator.offColor = "grey10";
indicator.shape = "LED";
indicator "Num Lock" { left = 252; };
indicator "Caps Lock" { left = 266; };
indicator "Misc" { left = 280; };
text.top= 5;
text.color= "black";
text "NumLockLabel" { left= 252; text="1"; };
text "CapsLockLabel" { left= 266; text="A"; };
text "MiscLabel" { left= 280; text="D"; };
text "Logo" { left = 29; top = 10; text="TypeMatrix™"; };
// Other decorations: drawings
solid "rainure1" { shape = "DECO"; top = 1; left = 110; color = "grey10";};
solid "rainure2" { shape = "DECO"; top = 1; left = 115; color = "grey10";};
solid "rainure3" { shape = "DECO"; top = 1; left = 120; color = "grey10";};
solid "rainure4" { shape = "DECO"; top = 1; left = 125; color = "grey10";};
solid "rainure5" { shape = "DECO"; top = 1; left = 130; color = "grey10";};
solid "rainure6" { shape = "DECO"; top = 1; left = 135; color = "grey10";};
solid "rainure7" { shape = "DECO"; top = 1; left = 140; color = "grey10";};
solid "rainure8" { shape = "DECO"; top = 1; left = 145; color = "grey10";};
solid "rainure9" { shape = "DECO"; top = 1; left = 150; color = "grey10";};
solid "rainure10" { shape = "DECO"; top = 1; left = 155; color = "grey10";};
solid "rainure11" { shape = "DECO"; top = 1; left = 160; color = "grey10";};
solid "rainure12" { shape = "DECO"; top = 1; left = 165; color = "grey10";};
solid "rainure13" { shape = "DECO"; top = 1; left = 170; color = "grey10";};
}; // geometry tm2020
xkb_geometry "tm2030_shape" {
// Keyboard total size
width = 320;
height = 130;
// Background / foreground colours
baseColor = "white";
labelColor = "black";
// Key shapes: base key = 20 mm each side
shape "NORM" { cornerRadius=1, { [18, 18] }, { [1.5, 1.5], [16.5, 14] } };
shape "FUNC" { cornerRadius=1, { [18, 12] }, { [2.5, 0], [15.5, 10] } };
shape "LFSH" { cornerRadius=1, { [18, 36.5] }, { [2.5, 0], [15.5, 30] } };
shape "ALT1" { cornerRadius=1, { [27.5, 18] }, { [2.5, 0], [23.5, 14] } };
shape "BKSP" { cornerRadius=1, { [18, 30.5] }, { [1.5, 1.5], [16.5, 29] } };
shape "SPCE" { cornerRadius=1, { [92, 25] }, { [1.5, 1.5], [90.5, 22] } };
shape "LED" { cornerRadius=2, { [4, 4] } };
shape "PAN1" { cornerRadius=1, { [27, 126.5] } };
shape "PAN2" { cornerRadius=1, { [92, 13] } };
// Other decorations: panels
solid "panneau1" {
shape = "PAN1";
left = 0;
top = 0;
color = "grey40";
};
solid "panneau2" {
shape = "PAN2";
left = 101.5;
top = 113.5;
color = "grey40";
};
// Leds: they must be put after panels, otherwise the panels overwrite them
indicator.left = 6;
indicator.onColor = "green";
indicator.offColor = "grey10";
indicator.shape = "LED";
indicator "Num Lock" { top = 11 ; };
indicator "Caps Lock" { top = 27.5; };
indicator "Scroll Lock" { top = 44 ; };
text.left = 12;
text.color = "black";
text "NumLockLabel" { top = 11; text="num"; };
text "CapsLockLabel" { top = 27.5; text="caps"; };
text "SrollLockLabel" { top = 44; text="scroll"; };
}; // geometry tm2030_shape
xkb_geometry "tm2030_MiscDiod_dvk" {
text "ModeLabel" { left = 12; top = 58; color = "black"; text="Dvorak"; };
};
xkb_geometry "tm2030_MiscDiod_102" {
text "ModeLabel" { left = 12; top = 58; color = "black"; text="102"; };
};
xkb_geometry "tm2030_MiscDiod_106" {
text "ModeLabel" { left = 12; top = 58; color = "black"; text="106"; };
};
xkb_geometry "tm2030_MiscDiod_off" {
indicator "Misc" { left = 6; top = 60.5; shape = "LED";
offColor = "grey10"; onColor = "grey10"; };
};
xkb_geometry "tm2030_MiscDiod_on" {
indicator "Misc" { left = 6; top = 60.5; shape = "LED";
offColor = "green"; onColor = "green"; };
};
xkb_geometry "tm2030USB_func" {
section "Function" {
left = 27;
top = 1.5;
key.gap = 0.5;
key.color = "grey30";
key.shape = "FUNC";
row {
keys { <ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05> };
};
row {
left = 129.5;
keys { <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>,
<FK12>, <NMLK> };
};
};
}; // geometry tm2030USB_func
xkb_geometry "tm2030USB_alpha" {
section "Alpha" {
left = 27;
top = 14;
key.gap = 0.5;
key.color = "grey10";
key.shape = "NORM";
row {
top = 0;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05> };
};
row {
top = 18.5;
keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05> };
};
row {
top = 37;
keys { { <LFSH>, "LFSH" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05> };
};
row {
top = 55.5;
left = 18.5;
keys { <AB01>, <AB02>, <AB03>, <AB04>, <AB05> };
};
row {
top = 0;
left = 129.5;
keys { <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, <I148> };
};
row {
top = 18.5;
left = 129.5;
keys { <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, <I163> };
};
row {
top = 37;
left = 129.5;
keys { <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, { <RTSH>, "LFSH" }, <CAPS> };
};
row {
top = 55.5;
left = 129.5;
keys { <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <BKSL> };
};
row {
top = 55.5;
left = 259;
keys { <I158> };
};
row {
top = 74;
left = 74;
keys { { <SPCE>, "SPCE" } };
};
};
}; // geometry tm2030USB_alpha
xkb_geometry "tm2030USB_ctrl" {
section "Control" {
left = 27;
top = 0;
key.gap = 0.5;
key.color = "grey30";
key.shape = "NORM";
row {
top = 88;
keys { <LCTL>, <I172>, <MENU>, <I162> };
};
row {
top = 106.5;
keys { <I120>, { <LWIN>, "ALT1" }, { <LALT>, "ALT1" } };
};
row {
top = 88;
left = 166.5;
keys { <I243>, <HOME>, <UP>, <END>, { <RCTL>, "LFSH"}, <PGUP> };
};
row {
top = 106.5;
left = 166.5;
keys { <RALT>, <LEFT>, <DOWN>, <RGHT> };
};
row {
top = 106.5;
left = 259;
keys { <PGDN> };
};
row {
top = 1;
left = 111.5;
vertical = true;
keys { <DELE>, { <BKSP>, "BKSP" }, { <RTRN>, "LFSH" } };
};
};
}; // geometry tm2030USB_ctrl
xkb_geometry "tm2030PS2" {
include "typematrix(tm2030_shape)"
include "typematrix(tm2030_MiscDiod_dvk)"
include "typematrix(tm2030_MiscDiod_off)"
description = "TypeMatrix EZ-Reach 2030 PS2";
section "Function" {
left = 27;
top = 1.5;
key.gap = 0.5;
key.color = "grey10";
key.shape = "FUNC";
row {
key.color = "grey30";
keys { <ESC> };
};
row {
left = 18.5;
keys { <FK01>, <FK02>, <FK03>, <FK04> };
};
row {
left = 92.5;
key.color = "grey30";
keys { <FK05> };
};
row {
left = 129.5;
key.color = "grey30";
keys { <FK06>, <FK07>, <FK08> };
};
row {
left = 185;
keys { <FK09>, <FK10>, <FK11>, <FK12> };
};
row {
left = 259;
key.color = "grey30";
keys { <NMLK> };
};
};
section "Alpha" {
left = 27;
top = 14;
key.gap = 0.5;
key.color = "grey10";
key.shape = "NORM";
row {
top = 0;
keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05> };
};
row {
top = 18.5;
keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05> };
};
row {
top = 37;
keys { { <LFSH>, "LFSH" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05> };
};
row {
top = 55.5;
left = 18.5;
keys { <AB01>, <AB02>, <AB03>, <AB04>, <AB05> };
};
row {
top = 0;
left = 129.5;
keys { <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, <I120> };
};
row {
top = 18.5;
left = 129.5;
keys { <AD06>, <AD07>, <AD08> };
};
row {
top = 18.5;
left = 185;
key.color = "grey30";
keys { <AD09>, <AD10>, <AD11>, <AD12>};
};
row {
top = 18.5;
left = 259;
keys { <BKSP> };
};
row {
top = 37;
left = 129.5;
keys { <AC06>, <AC07>, <AC08> };
};
row {
top = 37;
left = 185;
key.color = "grey30";
keys { <AC09>, <AC10>, <AC11>, { <RTSH>, "LFSH" },
{<DELE>, key.color="red"} };
};
row {
top = 55.5;
left = 129.5;
keys { <AB06>, <AB07>, <AB08> };
};
row {
top = 55.5;
left = 185;
key.color = "grey30";
keys { <AB09>, <AB10>, <BKSL> };
};
row {
top = 55.5;
left = 259;
keys { <INS> };
};
row {
top = 74;
left = 74;
keys { { <SPCE>, "SPCE" } };
};
};
section "Control" {
left = 27;
top = 0;
key.gap = 0.5;
key.color = "grey10";
key.shape = "NORM";
row {
top = 88;
keys { <I120>, <LWIN>, <MENU>, <I162> };
};
row {
top = 106.5;
keys { <LCTL>, { <LALT>, "ALT1" }, { <LTSH>, "ALT1" } };
};
row {
top = 88;
left = 166.5;
keys { <PGUP> };
};
row {
top = 88;
left = 185;
key.color = "grey30";
keys { <HOME>, <UP>, <END>, { <KPEN>, "LFSH"} };
};
row {
top = 88;
left = 259;
keys { <RCTL> };
};
row {
top = 106.5;
left = 166.5;
keys { <PGDN> };
};
row {
top = 106.5;
left = 185;
key.color = "grey30";
keys { <LEFT>, <DOWN>, <RGHT> };
};
row {
top = 106.5;
left = 259;
keys { <RALT> };
};
row {
top = 1;
left = 111.5;
key.color = "grey10";
vertical = true;
keys { <CAPS>, { <BKSP>, "BKSP" }, { <RTRN>, "LFSH" } };
};
};
}; // geometry tm2030PS2
xkb_geometry "tm2030USB" {
include "typematrix(tm2030_shape)"
include "typematrix(tm2030_MiscDiod_102)"
include "typematrix(tm2030_MiscDiod_off)"
description = "TypeMatrix EZ-Reach 2030 USB";
include "typematrix(tm2030USB_func)"
include "typematrix(tm2030USB_alpha)"
include "typematrix(tm2030USB_ctrl)"
}; // geometry tm2030USB
// European 102/105 keys mode.
// Same as the standard keyboard, except for one key: Play becomes LSGT.
xkb_geometry "tm2030USB-102" {
include "typematrix(tm2030_shape)"
include "typematrix(tm2030_MiscDiod_102)"
include "typematrix(tm2030_MiscDiod_on)"
description = "TypeMatrix EZ-Reach 2030 USB (102/105:EU mode)";
include "typematrix(tm2030USB_func)"
include "typematrix(tm2030USB_alpha)"
section "Control" {
left = 27;
top = 0;
key.gap = 0.5;
key.color = "grey30";
key.shape = "NORM";
row {
top = 88;
keys { <LCTL>, <LSGT>, <MENU>, <I162> };
};
row {
top = 106.5;
keys { <I120>, { <LWIN>, "ALT1" }, { <LALT>, "ALT1" } };
};
row {
top = 88;
left = 166.5;
keys { <I243>, <HOME>, <UP>, <END>, { <RCTL>, "LFSH"}, <PGUP> };
};
row {
top = 106.5;
left = 166.5;
keys { <RALT>, <LEFT>, <DOWN>, <RGHT> };
};
row {
top = 106.5;
left = 259;
keys { <PGDN> };
};
row {
top = 1;
left = 111.5;
vertical = true;
keys { <DELE>, { <BKSP>, "BKSP" }, { <RTRN>, "LFSH" } };
};
};
}; // geometry tm2030USB-102
// Japan / Korean 106 keys mode.
// Same as the standard keyboard, except for the following keys:
// <TLDE> is replaced by <HZTG>
// WWW key becomes <HKTG>
// — Calc key becomes <AE13>
// — <BKSL> key becomes <AB11>
// — and Mail key becomes <BKSL>
// About control keys:
// NFER/MEHU and XFER/KANJ: TMx keeps LWIN (and RWIN if it happens to exist).
// HKTG/HIRA: TMx keeps MENU/COMP, but locates this key in alpha section (see above).
xkb_geometry "tm2030USB-106" {
include "typematrix(tm2030_shape)"
include "typematrix(tm2030_MiscDiod_106)"
include "typematrix(tm2030_MiscDiod_on)"
description = "TypeMatrix EZ-Reach 2030 USB (106:JP mode)";
include "typematrix(tm2030USB_func)"
section "Alpha" {
left = 27;
top = 14;
key.gap = 0.5;
key.color = "grey10";
key.shape = "NORM";
row {
top = 0;
keys { <HZTG>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05> };
};
row {
top = 18.5;
keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05> };
};
row {
top = 37;
keys { { <LFSH>, "LFSH" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05> };
};
row {
top = 55.5;
left = 18.5;
keys { <AB01>, <AB02>, <AB03>, <AB04>, <AB05> };
};
row {
top = 0;
left = 129.5;
keys { <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, <AE13> };
};
row {
top = 18.5;
left = 129.5;
keys { <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, <BKSL> };
};
row {
top = 37;
left = 129.5;
keys { <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, { <RTSH>, "LFSH" }, <CAPS> };
};
row {
top = 55.5;
left = 129.5;
keys { <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11> };
};
row {
top = 55.5;
left = 259;
keys { <HKTG> };
};
row {
top = 74;
left = 74;
keys { { <SPCE>, "SPCE" } };
};
};
section "Control" {
left = 27;
top = 0;
key.gap = 0.5;
key.color = "grey30";
key.shape = "NORM";
row {
top = 88;
keys { <LCTL>, <I172>, <MENU>, <I162> };
};
row {
top = 106.5;
keys { <I120>, { <LWIN>, "ALT1" }, { <LALT>, "ALT1" } };
};
row {
top = 88;
left = 166.5;
keys { <I243>, <HOME>, <UP>, <END>, { <RCTL>, "LFSH"}, <PGUP> };
};
row {
top = 106.5;
left = 166.5;
keys { <RALT>, <LEFT>, <DOWN>, <RGHT> };
};
row {
top = 106.5;
left = 259;
keys { <PGDN> };
};
row {
top = 1;
left = 111.5;
vertical = true;
keys { <DELE>, { <BKSP>, "BKSP" }, { <RTRN>, "LFSH" } };
};
};
}; // geometry tm2030USB-106

View File

@@ -0,0 +1,143 @@
default xkb_geometry "XP5" {
description= "WinBook XP5";
width= 281;
height= 180;
shape.cornerRadius= 1;
shape "NORM" {
{ [17,17] },
{ [ 2, 1], [ 15, 15 ] }
};
shape "FKEY" {
{ [ 15, 10 ] },
{ [ 1, 0 ], [ 14, 9.5 ] }
};
shape "ONE" {
{ [ 28, 17 ] },
{ [ 11, 0 ], [ 28, 17 ] },
{ [ 13, 1 ], [ 26, 15 ] }
};
shape "WIDE" { // backspace, caps lock, ctrl alt ?
{ [ 24.5, 17 ] },
{ [ 2, 1 ], [ 22.5, 15 ] }
};
shape "WIDR" { // backslash, left shift
{ [ 35, 17 ] },
{ [ 2, 1 ], [ 33, 15 ] }
};
shape "RTRN" {
{ [ 45, 17 ] },
{ [ 2, 1 ], [ 43, 15 ] }
};
shape "SPCE" {
{ [ 90, 17 ] },
{ [ 2, 1 ], [ 88, 15 ] }
};
shape "STIK" {
cornerRadius= 4,
{ [ 8, 8 ] }
};
shape "BTN" {
{ [ 31, 6 ] }
};
section.left= 2;
row.left= 1;
key.shape= "NORM";
key.gap= 0.5;
key.color= "grey10";
labelColor= "white";
baseColor= "grey20";
section "Whole" {
top= 10;
row {
top= 11;
key.shape= "FKEY";
keys {
<ESC>,
<FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
<FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>,
<PAUS>, <HOME>, <END>, <PGUP>
};
};
row {
top= 22;
keys {
{ <AEO1>, "ONE" },
<AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
{ <BKSP>, shape="WIDE" },
<PGDN>
};
};
row {
top= 40;
keys {
<TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
{ <BKSL>, "WIDR" }
};
};
row {
top= 58;
keys { { <CAPS>, shape="WIDE" },
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
<AC11>,
{ <RTRN>, shape="RTRN" }
};
};
row {
top= 76;
keys {
{ <LFSH>, shape="WIDR" },
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
<RTSH>, <UP>, <NMLK>
};
};
row {
top= 94;
keys {
{ <LCTL>, "WIDE" }, <FUNC>, { <LALT>, "WIDE" },
<TLDE>, { <SPCE>, shape="SPCE" }, <INS>, <DELE>,
<LEFT>, <DOWN>, <RGHT>
};
};
overlay "KPAD" {
<AE07>=<KP7>, <AE08>=<KP8>, <AE09>=<KP9>, <AE10>=<KPMU>,
<AD07>=<KP4>, <AD08>=<KP5>, <AD09>=<KP6>, <AD10>=<KPSU>,
<AC07>=<KP1>, <AC08>=<KP2>, <AC09>=<KP3>, <AC10>=<KPAD>,
<AB07>=<KP0>, <AB09>=<KPDL>, <AB10>=<KPSL>
};
}; // End of "Whole" section
solid "STIK" {
color= "red";
shape= "STIK";
top= 81;
left= 112;
};
solid "BTN1" {
color= "red";
shape= "BTN";
top= 137;
left= 93;
};
solid "BTN2" {
color= "red";
shape= "BTN";
top= 137;
left= 127;
};
alias <AC00> = <CAPS>;
alias <AA00> = <LCTL>;
};