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