Home | History | Annotate | Line # | Download | only in geometry
      1 default xkb_geometry "model100" {
      2 
      3     // This is an approximate layout for a Kinesis Ergonomic keyboard
      4     // Generated completely by eye.  I didn't actually *measure* a real 
      5     // keyboard.
      6 
      7     description= "Kinesis Ergonomic";
      8     width= 421;
      9     height= 185;
     10 
     11     shape.cornerRadius= 1;
     12     shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
     13     shape "WIDE" { { [ 21,18] }, { [2,1], [19,17] } };
     14     shape "TALL" { { [ 18,37] }, { [2,1], [16,36] } };
     15     shape "FKEY" { cornerRadius=0, { [ 10,13] } };
     16     shape "LED"  { cornerRadius= 1.5, { [ 3,  3] } };
     17     shape "LOGO" { { [ 40, 10 ] } };
     18     shape "EDGE" { cornerRadius=5, { [ 421, 185 ] } };
     19 
     20     outline "Edges" {
     21 	top= 0;
     22 	left= 0;
     23 	shape= "EDGE";
     24     };
     25 
     26     section "LeftFunction" {
     27 	left= 15;
     28 	top=  11;
     29 	key.shape= "FKEY";
     30 	key.gap= 3;
     31 	row {
     32 	    left= 1;
     33 	    top= 1;
     34 	    keys { 
     35 	    	<ESC>,  <FK01>, <FK02>, <FK03>, <FK04>,
     36 		<FK05>, <FK06>, <FK07>, <FK08>
     37 	    };
     38 	};
     39     }; // End of "LeftFunction" section
     40 
     41     section "RightFunction" {
     42 	left= 290;
     43 	top=  11;
     44 	key.shape= "FKEY";
     45 	key.gap= 3;
     46 	row {
     47 	    left= 1;
     48 	    top= 0.2;
     49 	    keys {
     50 		<FK09>, <FK10>, <FK11>, <FK12>, <PRSC>, 
     51 		<SCLK>, <PAUS>, <FK16>, <FK17>
     52 	    };
     53 	};
     54     }; // End of "RightFunction" section
     55 
     56     row.vertical= True;
     57     row.top= 1;
     58     key.gap= 0.5;
     59 
     60     logo "KinesisLogoImage" 	{ 
     61 	top= 25;
     62 	left= 240;
     63 	name= "Kinesis"; 
     64 	shape= "LOGO"; 
     65     };
     66 
     67     indicator.shape= "LED";
     68     indicator.top= 30;
     69     indicator.onColor= "green";
     70     indicator.offColor= "green30";
     71     indicator "Caps Lock" { left= 23; };
     72 
     73     section "LeftAlpha" {
     74 	top=  34;
     75 	left= 15;
     76 	row {
     77 	    left= 2;
     78 	    key.shape= "WIDE";
     79 	    keys { <AE12>, <TAB>, <CAPS>, <LFSH> };
     80 	};
     81 	row {
     82 	    top= 4;
     83 	    left= 24;
     84 	    keys { <AE01>, <AD01>, { <AC01>, color="grey20" }, <AB01>, <TLDE> };
     85 	};
     86 	row {
     87 	    left= 43;
     88 	    keys { <AE02>, <AD02>, { <AC02>, color="grey20" }, <AB02>, <INS> };
     89 	};
     90 	row {
     91 	    left= 62;
     92 	    keys { <AE03>, <AD03>, { <AC03>, color="grey20" }, <AB03>, <LEFT> };
     93 	};
     94 	row {
     95 	    left= 81;
     96 	    keys { <AE04>, <AD04>, { <AC04>, color="grey20" }, <AB04>, <RGHT> };
     97 	};
     98 	row {
     99 	    left= 100;
    100 	    keys { <AE05>, <AD05>, <AC05>, <AB05> };
    101 	};
    102     }; // End of "LeftAlpha" section
    103 
    104     indicator "NumLock"  { left= 318; };
    105     indicator "Overlay"  { left= 387; };
    106     section "RightAlpha" {
    107 	top= 34;
    108 	left= 290;
    109 	row {
    110 	    left= 2;
    111 	    keys { <AE06>, <AD06>, <AC06>, <AB06> };
    112 	};
    113 	row {
    114 	    left= 21;
    115 	    keys { <AE07>, <AD07>, { <AC07>, color="grey20" }, <AB07>, <UP> };
    116 	};
    117     	row {
    118 	    left= 40;
    119 	    keys { <AE08>, <AD08>, { <AC08>, color="grey20" }, <AB08>, <DOWN> };
    120 	};
    121 	row {
    122 	    left= 59;
    123 	    keys { <AE09>, <AD09>, { <AC09>, color="grey20" }, <AB09>, <AD11> };
    124 	};
    125 	row {
    126 	    top= 4;
    127 	    left= 78;
    128 	    keys { <AE10>, <AD10>, { <AC10>, color="grey20" }, <AB10>, <AD12> };
    129 	};
    130 	row {
    131 	    left= 97;
    132 	    key.shape= "WIDE";
    133 	    keys { <AE11>, <BKSL>, <AC11>, <RTSH> };
    134 	};
    135 	overlay "KPAD" {
    136 	    <AE07>=<NMLK>, <AE08>=<KPEQ>, <AE09>=<KPSL>, <AE10>=<KPMU>,
    137 	    <AD07>=<KP7>,  <AD08>=<KP8>,  <AD09>=<KP9>,  <AD10>=<KPSU>,
    138 	    <AC07>=<KP4>,  <AC08>=<KP5>, <AC09>=<KP6>,  <AC10>=<KPAD>,
    139 	    <AB07>=<KP1>,  <AB08>=<KP2>, <AB09>=<KP3>,  <AB10>=<KPEN>,
    140 	    <AE10>=<KPDL>, <AE11>=<KPEN>
    141 	};
    142     }; // End of "RightAlpha" section
    143 
    144     section "LeftEdit" {
    145 	top= 109;
    146 	left= 123;
    147 	angle= 20;
    148 	row.top= -18;
    149 	row {
    150 	    top=  1;
    151 	    left= 1;
    152 	    keys { { <BKSP>, "TALL" } };
    153 	};
    154 	row {
    155 	    left= 20;
    156 	    keys { <LCTL>, { <DELE>, "TALL" } };
    157 	};
    158 	row {
    159 	    left= 39;
    160 	    keys { <LALT>, <HOME>, <END> };
    161 	};
    162     }; // End of "LeftEdit" section
    163 
    164     section "RightEdit" {
    165 	top= 109;
    166 	left= 302;
    167 	angle= -20;
    168 	row.top= -18;
    169 	row {
    170 	    left= -57;
    171 	    keys { <RALT>, <PGUP>, <PGDN> };
    172 	};
    173 	row {
    174 	    left= -38;
    175 	    keys { <RCTL>, { <RTRN>, "TALL" } };
    176 	};
    177 	row {
    178 	    top=  1;
    179 	    left= -19;
    180 	    keys { { <SPCE>, "TALL" } };
    181 	};
    182 	overlay "KPAD" {
    183 	    <SPCE>= <KP0>
    184 	};
    185     }; // End of "RightEdit" section
    186 
    187     alias <AC00> = <CAPS>;
    188     alias <AA00> = <LCTL>;
    189 };
    190