diff options
Diffstat (limited to 'geometry')
33 files changed, 9137 insertions, 0 deletions
diff --git a/geometry/.cvsignore b/geometry/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/geometry/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/geometry/Makefile.am b/geometry/Makefile.am new file mode 100644 index 0000000..684553a --- /dev/null +++ b/geometry/Makefile.am @@ -0,0 +1,15 @@ +SUBDIRS = digital.vndr ibm.vndr sgi.vndr + +geom_DATA = \ +amiga ataritt chicony \ +dell everex fujitsu \ +hp keytronic kinesis \ +macintosh microsoft nec \ +northgate pc sony \ +sun winbook README + +EXTRA_DIST= $(geom_DATA) + +geomdir = $(xkb_base)/geometry + + diff --git a/geometry/README b/geometry/README new file mode 100644 index 0000000..245270d --- /dev/null +++ b/geometry/README @@ -0,0 +1,10 @@ +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. + + + +/* $XFree86$ */ diff --git a/geometry/amiga b/geometry/amiga new file mode 100644 index 0000000..357c4c0 --- /dev/null +++ b/geometry/amiga @@ -0,0 +1,270 @@ +// $Xorg: amiga,v 1.3 2000/08/17 19:54:35 cpqbld Exp $ + + + +// $XFree86: xc/programs/xkbcomp/geometry/amiga,v 3.2 1997/10/26 13:25:34 dawes Exp $ + +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 + +}; diff --git a/geometry/ataritt b/geometry/ataritt new file mode 100644 index 0000000..e53cd94 --- /dev/null +++ b/geometry/ataritt @@ -0,0 +1,257 @@ +// $Xorg: ataritt,v 1.3 2000/08/17 19:54:35 cpqbld Exp $ + + + +// $XFree86: xc/programs/xkbcomp/geometry/ataritt,v 3.2 1997/10/26 13:25:34 dawes Exp $ + +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 + +}; diff --git a/geometry/chicony b/geometry/chicony new file mode 100644 index 0000000..9bdd15b --- /dev/null +++ b/geometry/chicony @@ -0,0 +1,190 @@ +// -*- indent-tabs-mode: nil -*- +// $XFree86: xc/programs/xkbcomp/geometry/chicony,v 1.1 2003/05/29 12:41:57 pascal Exp $ + +// 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 +}; diff --git a/geometry/dell b/geometry/dell new file mode 100644 index 0000000..935bcca --- /dev/null +++ b/geometry/dell @@ -0,0 +1,185 @@ +// $Xorg: dell,v 1.4 2001/02/09 02:05:49 xorgcvs Exp $ +// +//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. +// +// $XFree86$ +// +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 diff --git a/geometry/digital.vndr/.cvsignore b/geometry/digital.vndr/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/geometry/digital.vndr/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/geometry/digital.vndr/Makefile.am b/geometry/digital.vndr/Makefile.am new file mode 100644 index 0000000..3e918b9 --- /dev/null +++ b/geometry/digital.vndr/Makefile.am @@ -0,0 +1,6 @@ +geom_DATA = \ +lk pc unix + +EXTRA_DIST= $(geom_DATA) + +geomdir = $(xkb_base)/geometry/digital.vndr diff --git a/geometry/digital.vndr/lk b/geometry/digital.vndr/lk new file mode 100644 index 0000000..1ccd331 --- /dev/null +++ b/geometry/digital.vndr/lk @@ -0,0 +1,730 @@ +// $Xorg: lk,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +// +//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"; }; + }; +}; + diff --git a/geometry/digital.vndr/pc b/geometry/digital.vndr/pc new file mode 100644 index 0000000..1529ed2 --- /dev/null +++ b/geometry/digital.vndr/pc @@ -0,0 +1,350 @@ +// $Xorg: pc,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +// +//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/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/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/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> + }; + }; + }; +}; diff --git a/geometry/digital.vndr/unix b/geometry/digital.vndr/unix new file mode 100644 index 0000000..2ca477e --- /dev/null +++ b/geometry/digital.vndr/unix @@ -0,0 +1,230 @@ +// $Xorg: unix,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +// +//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"; }; + }; +}; + + diff --git a/geometry/everex b/geometry/everex new file mode 100644 index 0000000..5be3266 --- /dev/null +++ b/geometry/everex @@ -0,0 +1,174 @@ +// $Xorg: everex,v 1.3 2000/08/17 19:54:35 cpqbld Exp $ +// +// $XFree86$ +// +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>; +}; diff --git a/geometry/fujitsu b/geometry/fujitsu new file mode 100644 index 0000000..02fe0bc --- /dev/null +++ b/geometry/fujitsu @@ -0,0 +1,315 @@ +// $Xorg: fujitsu,v 1.4 2001/02/09 02:05:49 xorgcvs Exp $ +// +//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 +}; diff --git a/geometry/hp b/geometry/hp new file mode 100644 index 0000000..c93cb0c --- /dev/null +++ b/geometry/hp @@ -0,0 +1,456 @@ +// $Xorg: hp,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $ +// +//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. +// +// $XFree86: xc/programs/xkbcomp/geometry/hp,v 1.8 2003/08/09 14:30:46 pascal Exp $ + +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 + +}; // End of "default" geometry + + +// 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 +}; diff --git a/geometry/ibm.vndr/.cvsignore b/geometry/ibm.vndr/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/geometry/ibm.vndr/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/geometry/ibm.vndr/Makefile.am b/geometry/ibm.vndr/Makefile.am new file mode 100644 index 0000000..883420e --- /dev/null +++ b/geometry/ibm.vndr/Makefile.am @@ -0,0 +1,6 @@ +geom_DATA = \ +thinkpad + +EXTRA_DIST= $(geom_DATA) + +geomdir = $(xkb_base)/geometry/ibm.vndr diff --git a/geometry/ibm.vndr/thinkpad b/geometry/ibm.vndr/thinkpad new file mode 100644 index 0000000..c9b769c --- /dev/null +++ b/geometry/ibm.vndr/thinkpad @@ -0,0 +1,267 @@ +// -*- indent-tabs-mode: nil -*- +// $XFree86: xc/programs/xkbcomp/geometry/ibm/thinkpad,v 1.3 2003/08/09 14:30:48 pascal Exp $ + +// 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 +}; diff --git a/geometry/keytronic b/geometry/keytronic new file mode 100644 index 0000000..2e4e37a --- /dev/null +++ b/geometry/keytronic @@ -0,0 +1,255 @@ +// $Xorg: keytronic,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $ +// +//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. +// +// $XFree86$ +// +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 +}; diff --git a/geometry/kinesis b/geometry/kinesis new file mode 100644 index 0000000..548d092 --- /dev/null +++ b/geometry/kinesis @@ -0,0 +1,193 @@ +// $Xorg: kinesis,v 1.3 2000/08/17 19:54:35 cpqbld Exp $ +// +// $XFree86$ +// +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 Keyboard"; + 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 "RightEdit" 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 "Keypad" section + + alias <AC00> = <CAPS>; + alias <AA00> = <LCTL>; +}; diff --git a/geometry/macintosh b/geometry/macintosh new file mode 100644 index 0000000..f97251f --- /dev/null +++ b/geometry/macintosh @@ -0,0 +1,174 @@ +// $XFree86: xc/programs/xkbcomp/geometry/macintosh,v 1.3 2003/08/09 14:30:47 pascal Exp $ +// +// Some modifications (<eqdar@castalie.org>) : +// - Added a <LSGT> key +// - Fixed the shape of the <RTRN> key +// - Moved <BKSL> to the 'AC' row +// - Added a special Macintosh sysctl key +// - Minor changes (Function keys shape, LED position...) + +default xkb_geometry "macintosh" { + + description= "Apple Extended Keyboard II"; + width = 475; + height = 194; + + shape.cornerRadius= 1; + shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; + shape "TLDE" { { [ 23,18] }, { [2,1], [ 21,17] } }; + shape "BKSP" { { [ 33,18] }, { [2,1], [ 31,17] } }; + shape "TAB" { { [ 33,18] }, { [2,1], [ 31,17] } }; + shape "RTRN" { + { [0,0],[23,0],[23,37],[4,37],[4,18],[0,18] }, + { [2,1],[21,1],[21,36],[6,36],[6,17],[2,17] } }; + shape "CAPS" { { [ 37,18] }, { [2,1], [ 35,17] } }; + shape "LCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "LALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; + shape "LMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; + shape "RMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RTSH" { { [ 47,18] }, { [2,1], [ 45,17] } }; + shape "SPCE" { { [123,18] }, { [2,1], [121,17] } }; + shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; + shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } }; + // Macintosh keyboards have a special sysctl key at the top right + shape "AAPL" { + { [ 0,0], [ 18,0], [ 18,18], [ 0,18] }, + { [ 1,1], [ 17,1], [ 17,17], [ 1,17] }, + { [ 8,5], [ 8,12], [ 2,9] } }; + + shape "LEDS" { cornerRadius = 0, { [ 55,19] } }; + shape "LED" { cornerRadius = 0, { [ 8, 2] } }; + + solid "LedPanel" { + shape= "LEDS"; + top = 48; + left = 378; + }; + + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top = 50; + indicator.shape= "LED"; + indicator "NumLock" { left = 381; }; + indicator "CapsLock" { left = 398; }; + indicator "ScrollLock" { left = 415; }; + text.top= 55; + text.color= "black"; + text "NumLockLabel" { left = 381; text = "Num\nLock"; }; + text "CapsLockLabel" { left = 398; text = "Caps\nLock"; }; + text "ScrollLockLabel" { left = 415; text = "Scroll\nLock"; }; + + section.left= 19; + row.left= 1; + key.shape= "NORM"; + key.gap= 1; + + section "Function" { + top = 48; + row { + top= 1; + keys { <ESC>, + { <FK01>, 20 }, <FK02>, <FK03>, <FK04>, + { <FK05>, 11 }, <FK06>, <FK07>, <FK08>, + { <FK09>, 11 }, <FK10>, <FK11>, <FK12>, + { <PRSC>, 10 }, <SCLK>, <PAUS>, + // This is the sysctl key on macintosh keyboards + // keycode is 222 with a 4.21 kernel, which is <I5E> + { <I5E>, "AAPL", 67 } + }; + }; + }; // End of "Function" section + + section "Alpha" { + top = 87; + row { + top= 1; + keys { { <TLDE>, "TLDE" }, <AE01>, <AE02>, <AE03>, + <AE04>, <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, + <AE10>, <AE11>, <AE12>, { <BKSP>, "BKSP" } + }; + }; + row { + top= 20; + keys { { <TAB>, "TAB" }, <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>, <BKSL> + }; + }; + row { + top= 58; + keys { { <LFSH>, "LFSH" }, <LSGT>, <AB01>, <AB02>, + <AB03>, <AB04>, <AB05>, <AB06>, <AB07>, <AB08>, + <AB09>, <AB10>, { <RTSH>, "RTSH" } + }; + }; + row { + top= 77; + keys { { <LCTL>, "LCTL" }, { <LALT>, "LALT" }, + { <LMTA>, "LMTA" }, + { <SPCE>, "SPCE" }, + { <RMTA>, "RMTA" }, + { <RALT>, "RALT" }, { <RCTL>, "RCTL" } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + top = 87; + left = 314; + 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 + + // Begin of "Keypad" section + section "Keypad" { + top = 87; + left = 380; + row { + top= 1; + keys { <NMLK>, <KPEQ>, <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" }, <KPDL> }; + }; + }; // End of "Keypad" section + +}; // End of "default" geometry diff --git a/geometry/microsoft b/geometry/microsoft new file mode 100644 index 0000000..0894937 --- /dev/null +++ b/geometry/microsoft @@ -0,0 +1,256 @@ +// $Xorg: microsoft,v 1.3 2000/08/17 19:54:35 cpqbld Exp $ +// +// $XFree86$ +// +default xkb_geometry "natural" { + + // Approximate layout for a Microsoft Natural Keyboard + description= "Microsoft Natural Keyboard"; + 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>; +}; diff --git a/geometry/nec b/geometry/nec new file mode 100644 index 0000000..189d9ca --- /dev/null +++ b/geometry/nec @@ -0,0 +1,159 @@ +// $Xorg: nec,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $ +// +//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. +// +// $XFree86: xc/programs/xkbcomp/geometry/nec,v 3.4 2001/01/17 23:45:49 dawes Exp $ + +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 diff --git a/geometry/northgate b/geometry/northgate new file mode 100644 index 0000000..fd376ce --- /dev/null +++ b/geometry/northgate @@ -0,0 +1,172 @@ +// $Xorg: northgate,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +// +// $XFree86$ +// +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 diff --git a/geometry/pc b/geometry/pc new file mode 100644 index 0000000..8a53871 --- /dev/null +++ b/geometry/pc @@ -0,0 +1,1159 @@ +// $Xorg: pc,v 1.4 2001/02/09 02:05:50 xorgcvs Exp $ +// +//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. +// +// $XFree86: xc/programs/xkbcomp/geometry/pc,v 3.14 2003/08/09 14:30:47 pascal Exp $ + +default xkb_geometry "pc101" { + + description= "Generic 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] }, { [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 "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 "pc102" { + + description= "Generic 102"; + 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" { + { [16,0],[ 43,0],[43,37],[2,37],[2,19],[16,19] }, + { [18,1],[ 41,1],[41,36],[4,36],[4,20],[18,20] } }; + shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; + shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } }; + shape "RTSH" { { [ 49,18] }, { [2,1], [ 47,16] } }; + shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; + shape "SPCE" { { [134,18] }, { [2,1], [132,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>, "TABK", color="grey20" }, + { <FK01>, 10 }, <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>, <BKSL>, + { <BKSP>, color="grey20" } + }; + }; + row { + top= 20; + keys { { <TAB>, "TABK", color="grey20" }, + <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, + <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, + <AD11>, <AD12>, { <RTRN>, -15, "RTRN", 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" }, + <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>, 20 }, + { <SPCE>, "SPCE", color="white" }, + <RALT>, { <RCTL>, 20 } + }; + }; + }; // 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 "pc102" geometry + +xkb_geometry "pc104" { + + description= "Generic 104"; + 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] }, { [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,18] }, { [2,1], [111,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= "SMOD"; + key.color= "grey20"; + keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, + { <SPCE>, "SPCE", color="white" }, + <RALT>, <RWIN>, <MENU>, <RCTL> + }; + }; + }; // 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 "pc104" geometry + +xkb_geometry "pc105" { + + description= "Generic 105"; + 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] }, { [2,1], [ 31,16] } }; + shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,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,18] }, { [2,1], [111,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" }, + <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, + <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, + { <RTSH>, "RTSH", color="grey20" } + }; + }; + row { + top= 77; + key.shape= "SMOD"; + key.color= "grey20"; + keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>, + { <SPCE>, "SPCE", color="white" }, + <RALT>, <RWIN>, <MENU>, <RCTL> + }; + }; + }; // 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 "pc105" geometry + + +// Added for japanese 106 keyboard +// by tsuka@kawalab.dnj.ynu.ac.jp . +xkb_geometry "jp106" { + + description= "Japanese 106"; + width= 470; + height= 180; + + 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 "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } }; + shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; + solid "LedPanel" { + shape= "LEDS"; + top= 25; + left= 375; + color= "grey10"; + }; + + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top= 40; + indicator.shape= "LED"; + indicator "Num Lock" { left= 379; }; + indicator "Caps Lock" { left= 404; }; + indicator "Scroll Lock" { left= 429; }; + text.top= 28; + 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= 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= 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= 61; + 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 "jp106" geometry + +// Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga@that.com.br) +xkb_geometry "abnt2" { + + description= "Brazilian ABNT2"; + width= 470; + height= 180; + + 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" { + { [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" { { [ 24,18] }, { [2,1], [ 22,17] } }; + shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } }; + shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "SPCE" { { [133,18] }, { [2,1], [131,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, { [ 5, 1 ] } }; + solid "LedPanel" { + shape= "LEDS"; + top= 25; + left= 375; + color= "grey10"; + }; + + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top= 40; + indicator.shape= "LED"; + indicator "Num Lock" { left= 379; }; + indicator "Caps Lock" { left= 404; }; + indicator "Scroll Lock" { left= 429; }; + text.top= 28; + 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= 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>, + { <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" }, <BKSL>, + <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 }, + { <SPCE>, "SPCE", color="white" }, + <RALT>, { <RCTL>, 17 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + top= 61; + 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= 61; + 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 "abnt2" geometry + + +// Created by Alexander Pohoyda <alexander.pohoyda@gmx.net> + +xkb_geometry "pc86" { + description = "Noname keyboard with 86 keys, DE"; + width = 287; + height = 143; + baseColor = "grey20"; + + shape "EDGE" { cornerRadius = 2, { [287, 143] } }; + shape "LED" { cornerRadius = 2, { [3, 3] } }; + shape "LEDS" { cornerRadius = 0, { [75, 5] } }; + shape "KEYS" { cornerRadius = 0, { [271, 109] } }; + + outline "Edges" { + top = 0; + left = 0; + shape = "EDGE"; + color = "black"; + }; + + solid "KeyPanel" { + shape = "KEYS"; + left = 8; + top = 22; + color = "grey70"; + }; + + solid "LedPanel" { + shape = "LEDS"; + left = 212; + top = 10; + color = "black"; + }; + + indicator.onColor = "green"; + indicator.offColor = "green30"; + indicator.top = 11; + indicator.shape = "LED"; + indicator "Num Lock" { left = 212 + 7; }; + indicator "Caps Lock" { left = 212 + 23; }; + indicator "Scroll Lock" { left = 212 + 39; }; + text.fontSize = 6; + text.top = 10; + text.color = "white"; + text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; }; + text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; }; + text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; }; + + shape.cornerRadius = 1; + shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } }; + shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } }; + shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } }; + shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] }, + { [7, 0], [19, 14] } }; + shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } }; + shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } }; + shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } }; + + section "Function" { + key.shape = "SMALL"; + key.gap = 0.99; + key.color = "grey30"; + left = 8; + top = 22; + row { + top = 1; + keys { <ESC>, + <FK01>, <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 = "grey30"; + left = 8; + top = 111; + row { + top = 1; + keys { <LCTL>, <FN>, <LALT>, + { <SPCE>, shape="SPCE", 39 }, <RALT>, + <INS>, <DELE> + }; + }; + }; // End of "Control" section + + section "Editing" { + key.shape = "NARR"; + key.gap = 1; + key.color = "grey30"; + left = 265; + 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 = "grey30"; + left = 236; + top = 92; + row { + left = 14; + 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 = "grey10"; + left = 8; + top = 35; + row { + top = 1; + keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>, + <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, + <AE10>, <AE11>, <AE12>, + { <BKSP>, shape="WIDER", color="grey30" } + }; + }; + row { + top = 20; + keys { { <TAB>, shape="NARR", color="grey30" }, + <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, + <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, + <AD11>, <AD12>, { <AD13>, shape="NARR" } + }; + }; + row { + top = 39; + keys { { <CAPS>, color="grey30" }, + <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, + <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, + <AC11>, { <RTRN>, shape="WIDEST", color="grey30" } + }; + }; + row { + top = 58; + keys { { <LFSH>, shape="WIDEST", color="grey30" }, + <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, + <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, + { <RTSH>, shape="WIDER", color="grey30" } + }; + }; + row { + left = 57; + top = 77; + keys { <AE00>, <LSGT> }; + }; + }; // End of "Alpha" section + + alias <AC00> = <CAPS>; + alias <AA00> = <LCTL>; +}; // End of "pc86" geometry diff --git a/geometry/sgi.vndr/.cvsignore b/geometry/sgi.vndr/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/geometry/sgi.vndr/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/geometry/sgi.vndr/Makefile.am b/geometry/sgi.vndr/Makefile.am new file mode 100644 index 0000000..c72d1c2 --- /dev/null +++ b/geometry/sgi.vndr/Makefile.am @@ -0,0 +1,6 @@ +geom_DATA = \ +indigo indy O2 + +EXTRA_DIST= $(geom_DATA) + +geomdir = $(xkb_base)/geometry/sgi.vndr diff --git a/geometry/sgi.vndr/O2 b/geometry/sgi.vndr/O2 new file mode 100644 index 0000000..52ba1a6 --- /dev/null +++ b/geometry/sgi.vndr/O2 @@ -0,0 +1,618 @@ +// $Xorg: O2,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +// +// 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. +// +// $XFree86$ +// +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 + diff --git a/geometry/sgi.vndr/indigo b/geometry/sgi.vndr/indigo new file mode 100644 index 0000000..f7b7a68 --- /dev/null +++ b/geometry/sgi.vndr/indigo @@ -0,0 +1,413 @@ +// $Xorg: indigo,v 1.3 2000/08/17 19:54:37 cpqbld Exp $ +// +// 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. +// +// $XFree86$ +// +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>; +}; diff --git a/geometry/sgi.vndr/indy b/geometry/sgi.vndr/indy new file mode 100644 index 0000000..fc5d485 --- /dev/null +++ b/geometry/sgi.vndr/indy @@ -0,0 +1,601 @@ +// $Xorg: indy,v 1.3 2000/08/17 19:54:37 cpqbld Exp $ +// +// 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. +// +// $XFree86$ +// +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 diff --git a/geometry/sony b/geometry/sony new file mode 100644 index 0000000..4e69f0e --- /dev/null +++ b/geometry/sony @@ -0,0 +1,180 @@ +// $Xorg: sony,v 1.4 2001/02/09 02:05:51 xorgcvs Exp $ +// +//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 diff --git a/geometry/sun b/geometry/sun new file mode 100644 index 0000000..1b8117a --- /dev/null +++ b/geometry/sun @@ -0,0 +1,1338 @@ +// $Xorg: sun,v 1.4 2001/02/09 02:05:51 xorgcvs Exp $ +// +//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. +// +// $XFree86: xc/programs/xkbcomp/geometry/sun,v 1.6 2001/12/14 20:01:58 dawes Exp $ +// +xkb_geometry "type4" { + + // This is an approximate layout for a (US/ASCII) Sun Type4 US + // keyboard. + + description= "Sun Type4 keyboard"; + + width= 452; + height= 185; + + shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } }; + 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 "DELE" { { [ 37,18] }, { [2,1], [35,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 "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; + 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 "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; + shape "SPCE" { { [170,18] }, { [2,1], [168,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] } }; + + outline "Edges" { + top= 0; + left= 0; + shape= "EDGE"; + }; + + section.left= 17; + row.left= 1; + key.shape= "NORM"; + key.gap= 1; + + section "Alpha" { + top= 58; + row { + top= 1; + keys { <STOP>, <AGAI>, + { <FK01>, 9 }, <FK02>, <FK03>, <FK04>, + <FK05>, <FK06>, <FK07>, <FK08>, + <FK09>, <FK10>, <FK11>, <FK12>, + <BKSL>, { <DELE>, "DELE" }, + { <PAUS>, 9 }, <PRSC>, <SCLK>, <NMLK> + }; + }; + row { + top= 20; + keys { <PROP>, <UNDO>, { <ESC>, 9 }, + <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, + <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, + <AE11>, <AE12>, + { <BKSP>, "BKSP" }, + { <KPEQ>, 9 }, <KPDV>, <KPMU>, <KPSU> + + }; + }; + row { + top= 39; + keys { <FRNT>, <COPY>, + { <TAB>, 9, shape="TABK" }, + <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, + <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, + <AD11>, <AD12>, { <RTRN>, "RTRN" }, + { <KP7>, 9 }, <KP8>, <KP9>, { <KPAD>, "KPAD" } + }; + }; + row { + top= 58; + keys { <OPEN>, <PAST>, + { <LCTL>, 9, shape="LCTL" }, + <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, + <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, + <AC11>, <TLDE>, + { <KP4>, 33 }, <KP5>, <KP6> + }; + }; + row { + top= 77; + keys { <FIND>, <CUT>, + { <LFSH>, 9 , shape="LFSH" }, + <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, + <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, + { <RTSH>, "RTSH" }, <LNFD>, + { <KP1>, 9} , <KP2>, <KP3>, { <KPEN>, "KPAD" } + }; + }; + row { + top= 96; + keys { { <HELP>, "HELP" }, { <CAPS>, 9 }, + <LALT>, <LMTA>, { <SPCE>, "SPCE" }, + <RMTA>, <COMP>, <ALGR>, + { <KP0>, 9, shape="KP0" }, <KPDL> + }; + }; + }; // End of "Alpha" section + + shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; + shape "LED" { cornerRadius= 0, { [ 7, 4 ] } }; + solid "LedPanel" { + shape= "LEDS"; + top= 28; + left= 358; + }; + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top= 43; + indicator.shape= "LED"; + indicator "Caps Lock" { left= 364; }; + indicator "Compose" { left= 383; }; + indicator "Scroll Lock" { left= 402; }; + indicator "Num Lock" { left= 421; }; + text.top= 34; + text.color= "black"; + text "CapsLockLabel" { left= 364; text="Caps\nLock"; }; + text "ComposeLabel" { left= 380; text="Compose"; }; + text "ScrollLockLabel" { left= 402; text="Scroll\nLock"; }; + text "NumLockLabel" { left= 421; text="Num\nLock"; }; +}; + +default xkb_geometry "type5" { + + // This is an approximate layout for a (US/ASCII) Sun Type5 + // keyboard. I just took a similar layout (101 key PC keyboard) + // and adjusted the sizes. + + description= "Sun Type5 keyboard"; + + 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" { { [157,18] }, { [2,1], [155,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>, + { <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>, + { <SPCE>, "SPCE" }, + <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 +}; + +xkb_geometry "type5euro" { + + // This is an approximate layout for a (US/ASCII) Sun Type5 + // keyboard. I just took a similar layout (101 key PC keyboard) + // and adjusted the sizes. + + description= "Sun Type5 keyboard"; + + 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" { { [ 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" { { [157,18] }, { [2,1], [155,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>, + { <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" }, <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>, + { <SPCE>, "SPCE" }, + <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 +}; + + +xkb_geometry "type5unix" { + + // This is an approximate layout for a (US/ASCII) Sun Type5 + // keyboard. I just took a similar layout (101 key PC keyboard) + // and adjusted the sizes. + + description= "Sun Type5 Unix keyboard"; + + width= 515; + height= 170; + + shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; + 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 "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" { { [157,18] }, { [2,1], [155,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" }, { <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" } + }; + }; + row { + top= 39; + keys { <FRNT>, <COPY>, { <LCTL>, 9, shape="LCTL" }, + <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>, { <CAPS>, 9, shape="CAPS" }, + <LALT>, <LMTA>, + { <SPCE>, "SPCE" }, + <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 +}; + +xkb_geometry "type5_se" { + + // kbd: type = 4, layout = 43 + + description= "Sun Type5 keyboard (Sweden)"; + + width= 510; + height= 170; + + baseColor= "grey"; + labelColor= "black"; + + shape.cornerRadius= 1; + + shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } }; + shape "LOGO" { cornerRadius= 2, + { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] } + }; + + shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } }; + shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } }; + shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } }; + shape "RTRN" { + { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] }, + { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 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" { { [157, 18] }, { [ 2, 1], [155, 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 ] } }; + + section "Function" { + key.color= "grey10"; + priority= 1; + top= 24; + left= 14; + width= 481; + height= 19; + row { + top= 1; + left= 1; + keys { + { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 }, + { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 }, + { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 }, + { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 }, + { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 }, + { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 }, + { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 }, + { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 }, + { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 }, + { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 }, + { <POWR>, "NORM", 1, color= "white" } + }; + }; + }; // End of "Function" section + + section "Alpha" { + key.color= "white"; + priority= 2; + top= 61; + left= 14; + width= 333; + height= 95; + row { + top= 1; + left= 1; + keys { + { <STOP>, "NORM", 1, color= "grey10" }, + { <AGAI>, "NORM", 1, color= "grey10" }, + { <TLDE>, "NORM", 9 }, { <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, color="grey10" } + }; + }; + row { + top= 20; + left= 1; + keys { + { <PROP>, "NORM", 1, color= "grey10" }, + { <UNDO>, "NORM", 1, color= "grey10" }, + { <TAB>, "TABK", 9, color= "grey10" }, + { <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, color= "grey10" } + }; + }; + row { + top= 39; + left= 1; + keys { + { <FRNT>, "NORM", 1, color= "grey10" }, + { <COPY>, "NORM", 1, color= "grey10" }, + { <CAPS>, "CAPS", 9, color= "grey10" }, + { <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 } + }; + }; + row { + top= 58; + left= 1; + keys { + { <OPEN>, "NORM", 1, color= "grey10" }, + { <PAST>, "NORM", 1, color= "grey10" }, + { <LFSH>, "LFSH", 9, color= "grey10" }, + { <AB00>, "NORM", 1 }, { <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 }, + { <RTSH>, "RTSH", 1, color="grey10" } + }; + }; + row { + top= 77; + left= 1; + key.color= "grey10"; + keys { + { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 }, + { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 }, + { <LMTA>, "NORM", 1 }, + { <SPCE>, "SPCE", 1, color= "white" }, + { <RMTA>, "NORM", 1 }, { <COMP>, "NORM", 1 }, + { <ALGR>, "NORM", 1 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + key.color= "grey10"; + priority= 3; + top= 61; + left= 352; + width= 58; + height= 95; + row { + top= 1; + left= 1; + keys { + { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 }, + { <PGUP>, "NORM", 1 } + }; + }; + row { + top= 20; + left= 1; + keys { + { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 }, + { <PGDN>, "NORM", 1 } + }; + }; + row { + top= 58; + left= 20; + keys { + { <UP>, "NORM", 1 } + }; + }; + row { + top= 77; + left= 1; + keys { + { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 }, + { <RGHT>, "NORM", 1 } + }; + }; + }; // End of "Editing" section + + section "Keypad" { + key.color= "white"; + priority= 4; + top= 61; + left= 420; + width= 77; + height= 95; + row { + top= 1; + left= 1; + key.color= "grey10"; + keys { + { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 }, + { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 } + }; + }; + row { + top= 20; + left= 1; + keys { + { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 }, + { <KP9>, "NORM", 1 }, + { <KPAD>, "KPAD", 1, color="grey10" } + }; + }; + row { + top= 39; + left= 1; + keys { + { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 }, + { <KP6>, "NORM", 1 } + }; + }; + row { + top= 58; + left= 1; + keys { + { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 }, + { <KP3>, "NORM", 1 }, + { <KPEN>, "KPAD", 1, color="grey10" } + }; + }; + row { + top= 77; + left= 1; + keys { + { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 } + }; + }; + }; // End of "Keypad" section + + outline "Edges" { + top= 0; + left= 0; + priority= 0; + shape= "EDGE"; + }; + + solid "Logos" { + color= "blue"; + top= 5; + left= 25; + priority= 0; + shape= "LOGO"; + }; + + logo "SUNLogoImage" { + top= 5; + left= 25; + name= "SUN"; + priority= 1; + shape= "LOGO"; + }; + + shape "LED" { cornerRadius= 1, + { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] } + }; + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.shape= "LED"; + indicator "Caps Lock" { left= 75; top= 103; priority= 5; }; + indicator "Compose" { left= 314; top= 142; priority= 5; }; + indicator "Scroll Lock" { left= 378; top= 29; }; + indicator "Num Lock" { left= 426; top= 66; }; +}; + +xkb_geometry "type5c_se" { + + // kbd: type = 4, layout = 43 + + description= "Sun Type5c keyboard (Sweden)"; + + width= 510; + height= 170; + + baseColor= "grey"; + labelColor= "black"; + + shape.cornerRadius= 1; + + shape "EDGE" { cornerRadius= 2, { [ 510, 170 ] } }; + shape "LOGO" { cornerRadius= 2, + { [ 0, 8], [ 8, 16], [ 16, 8], [ 8, 0] } + }; + + shape "NORM" { { [ 18, 18] }, { [ 2, 1], [ 16, 17] } }; + shape "BKSP" { { [ 38, 18] }, { [ 2, 1], [ 36, 17] } }; + shape "TABK" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } }; + shape "META" { { [ 27, 18] }, { [ 2, 1], [ 25, 17] } }; + shape "RTRN" { + { [ 0, 0], [ 29, 0], [ 29, 37], [ 5, 37], [ 5, 18], [ 0, 18] }, + { [ 2, 1], [ 27, 1], [ 27, 36], [ 7, 36], [ 7, 17], [ 2, 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" { { [139, 18] }, { [ 2, 1], [137, 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 ] } }; + + section "Function" { + key.color= "grey10"; + priority= 1; + top= 24; + left= 14; + width= 481; + height= 19; + row { + top= 1; + left= 1; + keys { + { <HELP>, "HELP", 1 }, { <ESC>, "NORM", 9 }, + { <FK01>, "NORM", 19 }, { <FK02>, "NORM", 1 }, + { <FK03>, "NORM", 1 }, { <FK04>, "NORM", 1 }, + { <FK05>, "NORM", 11 }, { <FK06>, "NORM", 1 }, + { <FK07>, "NORM", 1 }, { <FK08>, "NORM", 1 }, + { <FK09>, "NORM", 11 }, { <FK10>, "NORM", 1 }, + { <FK11>, "NORM", 1 }, { <FK12>, "NORM", 1 }, + { <PRSC>, "NORM", 9 }, { <SCLK>, "NORM", 1 }, + { <PAUS>, "NORM", 1 }, { <MUTE>, "NORM", 11 }, + { <VOL->, "NORM", 1 }, { <VOL+>, "NORM", 1 }, + { <POWR>, "NORM", 1, color= "white" } + }; + }; + }; // End of "Function" section + + section "Alpha" { + key.color= "white"; + priority= 2; + top= 61; + left= 14; + width= 333; + height= 95; + row { + top= 1; + left= 1; + keys { + { <STOP>, "NORM", 1, color= "grey10" }, + { <AGAI>, "NORM", 1, color= "grey10" }, + { <TLDE>, "NORM", 9 }, { <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, color="grey10" } + }; + }; + row { + top= 20; + left= 1; + keys { + { <PROP>, "NORM", 1, color= "grey10" }, + { <UNDO>, "NORM", 1, color= "grey10" }, + { <TAB>, "TABK", 9, color= "grey10" }, + { <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, color= "grey10" } + }; + }; + row { + top= 39; + left= 1; + keys { + { <FRNT>, "NORM", 1, color= "grey10" }, + { <COPY>, "NORM", 1, color= "grey10" }, + { <CAPS>, "CAPS", 9, color= "grey10" }, + { <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 } + }; + }; + row { + top= 58; + left= 1; + keys { + { <OPEN>, "NORM", 1, color= "grey10" }, + { <PAST>, "NORM", 1, color= "grey10" }, + { <LFSH>, "LFSH", 9, color= "grey10" }, + { <AB00>, "NORM", 1 }, { <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 }, + { <RTSH>, "RTSH", 1, color="grey10" } + }; + }; + row { + top= 77; + left= 1; + key.color= "grey10"; + keys { + { <FIND>, "NORM", 1 }, { <CUT>, "NORM", 1 }, + { <LCTL>, "LCTL", 9 }, { <LALT>, "NORM", 1 }, + { <LMTA>, "META", 1 }, + { <SPCE>, "SPCE", 1, color= "white" }, + { <RMTA>, "META", 1 }, { <COMP>, "NORM", 1 }, + { <ALGR>, "NORM", 1 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + key.color= "grey10"; + priority= 3; + top= 61; + left= 352; + width= 58; + height= 95; + row { + top= 1; + left= 1; + keys { + { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 }, + { <PGUP>, "NORM", 1 } + }; + }; + row { + top= 20; + left= 1; + keys { + { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 }, + { <PGDN>, "NORM", 1 } + }; + }; + row { + top= 58; + left= 20; + keys { + { <UP>, "NORM", 1 } + }; + }; + row { + top= 77; + left= 1; + keys { + { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 }, + { <RGHT>, "NORM", 1 } + }; + }; + }; // End of "Editing" section + + section "Keypad" { + key.color= "white"; + priority= 4; + top= 61; + left= 420; + width= 77; + height= 95; + row { + top= 1; + left= 1; + key.color= "grey10"; + keys { + { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 }, + { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 } + }; + }; + row { + top= 20; + left= 1; + keys { + { <KP7>, "NORM", 1 }, { <KP8>, "NORM", 1 }, + { <KP9>, "NORM", 1 }, + { <KPAD>, "KPAD", 1, color="grey10" } + }; + }; + row { + top= 39; + left= 1; + keys { + { <KP4>, "NORM", 1 }, { <KP5>, "NORM", 1 }, + { <KP6>, "NORM", 1 } + }; + }; + row { + top= 58; + left= 1; + keys { + { <KP1>, "NORM", 1 }, { <KP2>, "NORM", 1 }, + { <KP3>, "NORM", 1 }, + { <KPEN>, "KPAD", 1, color="grey10" } + }; + }; + row { + top= 77; + left= 1; + keys { + { <KP0>, "KP0", 1 }, { <KPDL>, "NORM", 1 } + }; + }; + }; // End of "Keypad" section + + outline "Edges" { + top= 0; + left= 0; + priority= 0; + shape= "EDGE"; + }; + + solid "Logos" { + color= "blue"; + top= 5; + left= 15; + priority= 0; + shape= "LOGO"; + }; + + logo "SUNLogoImage" { + top= 5; + left= 15; + name= "SUN"; + priority= 1; + shape= "LOGO"; + }; + + text.font= "charter"; + text.weight= "medium"; + text.slant= "i"; + text.fontSize= 40; + text "SunLogoText" { + top= 5; + left= 32; + color= "blue"; + text= "Sun"; + }; + + shape "LED" { cornerRadius= 1, + { [ 0, 1.5], [ 1.5, 3], [ 3, 1.5], [ 1.5, 0] } + }; + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.shape= "LED"; + indicator "Caps Lock" { left= 75; top= 103; priority= 5; }; + indicator "Compose" { left= 314; top= 142; priority= 5; }; + indicator "Scroll Lock" { left= 378; top= 29; }; + indicator "Num Lock" { left= 426; top= 66; }; +}; + +xkb_geometry "type4_se" { + + // kbd: type = 4, layout = 11 + + description= "Sun Type4 keyboard (Sweden)"; + + + width= 453; + height= 183; + + baseColor= "grey"; + labelColor= "black"; + + shape "EDGE" { cornerRadius= 2, { [ 452, 185 ] } }; + 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 "DELE" { { [ 18,18] }, { [2,1], [16,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 "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; + shape "LFSH" { { [ 22,18] }, { [2,1], [20,17] } }; + shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } }; + shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; + shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; + shape "SPCE" { { [170,18] }, { [2,1], [168,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] } }; + + outline "Edges" { + top= 0; + left= 0; + shape= "EDGE"; + }; + + section.left= 17; + row.left= 1; + key.shape= "NORM"; + key.gap= 1; + + section "Alpha" { + top= 58; + row { + top= 1; + key.color= "grey10"; + keys { <STOP>, <AGAI>, { <FK01>, 9 }, + <FK02>, <FK03>, <FK04>, + <FK05>, <FK06>, <FK07>, <FK08>, + <FK09>, <FK10>, <FK11>, <FK12>, + { <AF13>, color= "white"}, + { <AF14>, color= "white"}, + <DELE>, { <PAUS>, 9 }, + <PRSC>, <SCLK>, <NMLK> + }; + }; + row { + top= 20; + key.color= "white"; + keys { + { <PROP>, color= "grey10" }, + { <UNDO>, color= "grey10" }, + { <ESC>, 9, color= "grey10" }, + <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, + <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, + <AE11>, <AE12>, + { <BKSP>, "BKSP", color= "grey10" }, + { <KPEQ>, 9, color= "grey10" }, + { <KPDV>, color= "grey10" }, + { <KPMU>, color= "grey10" }, + { <KPSU>, color= "grey10" } + }; + }; + row { + top= 39; + key.color= "white"; + keys { + { <FRNT>, color= "grey10" }, + { <COPY>, color= "grey10" }, + { <TAB>, 9, "TABK", color= "grey10" }, + <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, + <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, + <AD11>, <AD12>, + { <RTRN>, "RTRN", color= "grey10" }, + { <KP7>, 9, color= "grey10" }, + { <KP8>, color= "grey10" }, + { <KP9>, color= "grey10" }, + { <KPAD>, "KPAD", color= "grey10" } + }; + }; + row { + top= 58; + key.color= "white"; + keys { + { <OPEN>, color= "grey10" }, + { <PAST>, color= "grey10" }, + { <CAPS>, 9, "LCTL", color= "grey10" }, + <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, + <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, + <AC11>, <AC12>, + { <KP4>, 33, color= "grey10" }, + { <KP5>, color= "grey10" }, + { <KP6>, color= "grey10" } + }; + }; + row { + top= 77; + key.color= "white"; + keys { + { <FIND>, color= "grey10" }, + { <CUT>, color= "grey10" }, + { <LFSH>, 9 , "LFSH", color= "grey10" }, + <AB00>, <AB01>, <AB02>, <AB03>, + <AB04>, <AB05>, <AB06>, <AB07>, + <AB08>, <AB09>, <AB10>, + { <RTSH>, "RTSH", color= "grey10" }, + { <LNFD>, color= "grey10" }, + { <KP1>, 9, color= "grey10" }, + { <KP2>, color= "grey10" }, + { <KP3>, color= "grey10" }, + { <KPEN>, "KPAD", color= "grey10" } + }; + }; + row { + top= 96; + key.color= "grey10"; + keys { + { <HELP>, "HELP" }, { <LCTL>, 9 }, + <LALT>, <LMTA>, + { <SPCE>, "SPCE", color= "white" }, + <RMTA>, <COMP>, <ALGR>, + { <KP0>, 9, "KP0" }, <KPDL> + }; + }; + }; // End of "Alpha" section + + shape "RIDGE" { cornerRadius= 1, { [ 0, 1], [ 1, 0 ], + [330, 0], [331, 1], + [330, 2], [ 1, 2] } }; + solid "Ridge" { + shape= "RIDGE"; + top= 48; + left= 18; + }; + + shape "LEDS" { cornerRadius= 1, { [ 75 ,21 ] } }; + shape "LED" { cornerRadius= 0, { [ 7, 4 ] } }; + outline "LedPanel" { + shape= "LEDS"; + top= 28; + left= 358; + }; + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top= 43; + indicator.shape= "LED"; + indicator "Caps Lock" { left= 364; }; + indicator "Compose" { left= 383; }; + indicator "Scroll Lock" { left= 402; }; + indicator "Num Lock" { left= 421; }; + text.top= 32; + text.color= "black"; + text "CapsLockLabel" { left= 364; text="Caps\nLock"; }; + text "ComposeLabel" { left= 380; text="\nCompose"; }; + text "ScrollLockLabel" { left= 402; text="Scroll\nLock"; }; + text "NumLockLabel" { left= 421; text="Num\nLock"; }; +}; diff --git a/geometry/winbook b/geometry/winbook new file mode 100644 index 0000000..e4de478 --- /dev/null +++ b/geometry/winbook @@ -0,0 +1,144 @@ +// $Xorg: winbook,v 1.3 2000/08/17 19:54:36 cpqbld Exp $ +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>; + +}; |