Home | History | Annotate | Line # | Download | only in geometry
      1 //
      2 //Copyright 1996, 1998  The Open Group
      3 //
      4 //Permission to use, copy, modify, distribute, and sell this software and its
      5 //documentation for any purpose is hereby granted without fee, provided that
      6 //the above copyright notice appear in all copies and that both that
      7 //copyright notice and this permission notice appear in supporting
      8 //documentation.
      9 //
     10 //The above copyright notice and this permission notice shall be
     11 //included in all copies or substantial portions of the Software.
     12 //
     13 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     14 //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     15 //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     16 //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
     17 //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     18 //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     19 //OTHER DEALINGS IN THE SOFTWARE.
     20 //
     21 //Except as contained in this notice, the name of The Open Group shall
     22 //not be used in advertising or otherwise to promote the sale, use or
     23 //other dealings in this Software without prior written authorization
     24 //from The Open Group.
     25 //
     26 default xkb_geometry "138" {
     27 
     28     // This is an approximate layout for a (US/ASCII) Fujitsu keyboard.  
     29 
     30     description= "Fujitsu English keyboard";
     31 
     32     width= 480;
     33     height= 215;
     34 
     35     shape "EDGE" { cornerRadius= 2, { [ 480, 215 ] } };
     36     shape.cornerRadius= 1;
     37     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
     38     shape "TABK" { { [ 27,18] }, { [2,1], [ 25,17] } };
     39     shape "RTRN" { 
     40 	    approx = { [ 0, 0], [28,37] },
     41 	    { [ 0, 0], [28, 0], [28,37],
     42 	      [ 5,37], [ 5,19], [ 0,19] },
     43 	    { [ 1, 1], [26, 1], [26,36],
     44 	      [ 7,36], [ 7,18], [ 1,18] }
     45     };
     46     shape "LFSH" { { [ 41,18] }, { [2,1], [ 39,17] } };
     47     shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,17] } };
     48     shape "LCTL" { { [ 32,18] }, { [2,1], [ 30,17] } };
     49     shape "SPCE" { { [151,18] }, { [2,1], [149,17] } };
     50     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
     51     shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
     52     shape "EXEC" { { [ 57,18] }, { [2,1], [ 55,17] } };
     53 
     54     outline "Edges" {
     55 	top= 0;
     56 	left= 0;
     57 	shape= "EDGE";
     58     };
     59 
     60     section.left= 15;
     61     row.left= 1;
     62     key.shape= "NORM";
     63     key.gap=  1;
     64 
     65     section "Alpha" {
     66 	top= 28;
     67 	row {
     68 	    top= 1;
     69 	    keys { 
     70 		  <BREA>, { <PRSC>, 6 }, 
     71 		{ <FK13>, 30 }, <FK14>, <FK15>, <FK16>,
     72 		{ <FK17>, 6 }, <FK18>, <FK19>, <FK20>,
     73 		{ <FK21>, 6 }, <FK22>, <FK23>, <FK24>,
     74 		{ <FK29>, 68 }, <FK30>, <FK31>, <FK32>
     75 	    };
     76 	};
     77 	row {
     78 	    top= 20;
     79 	    keys {
     80 		  <KNJI>, { <PAUS>, 6 },
     81 		{ <FK01>, 30 }, <FK02>, <FK03>, <FK04>,
     82 		{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
     83 		{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>,
     84 		{ <UNK0>, 6 }, <UNK1>, <UNK2>,
     85 		{ <FK25>, 6 }, <FK26>, <FK27>, <FK28>
     86 	    };
     87 	};
     88 	row {
     89 	    top= 39;
     90 	    left= 316;
     91 	    keys {
     92 		  <PGUP>, <HOME>, <PGDN>
     93 	    };
     94 	};
     95 	row {
     96 	    top= 54;
     97 	    keys { 
     98 		  <UNDO>, { <ESC>, 6 }, 
     99 		  <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
    100 		  <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
    101 		  <AE11>, <AE12>, <TLDE>, <BKSP>,
    102 		{ <KPMU>, 68 }, <KPDV>, <KPAD>, <KPSU>
    103 
    104 	    };
    105 	};
    106 	row {
    107 	    top= 58;
    108 	    left= 316;
    109 	    keys {
    110 		  <UNK3>, <DEL>, <INS>
    111 	    };
    112 	};
    113 	row {
    114 	    top= 73;
    115 	    keys { <COPY>, 
    116 		 { <TAB>, 6, "TABK" },
    117 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    118 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    119 		   <AD11>, <AD12>, { <RTRN>, "RTRN" },
    120 		 { <KP7>, 68 }, <KP8>, <KP9>, <KPEQ>
    121 	    };
    122 	};
    123 	row {
    124 	    top= 92;
    125 	    keys { <PAST>, 
    126 		 { <LCTL>, 6, "LCTL" },
    127 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    128 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    129 		   <AC11>, <BKSL>,
    130 		 { <UP>, 49 },
    131 		 { <KP4>, 25 }, <KP5>, <KP6>, <KPDC>
    132 	    };
    133 	};
    134 	row {
    135 	    top= 102;
    136 	    left= 316;
    137 	    keys { <LEFT>, { <RGHT>, 19 }
    138 	    };
    139 	};
    140 	row {
    141 	    top= 111;
    142 	    keys { <CUT>, 
    143 		 { <LFSH>, 6 , "LFSH" }, 
    144 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    145 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    146 		   <AB11>, { <RTSH>, "RTSH" },
    147 		 { <DOWN>, 25 },
    148 		 { <KP1>, 25 }, <KP2>, <KP3>, { <KPEN>, "KPEN" }
    149 	    };
    150 	};
    151 	row {
    152 	    top= 130;
    153 	    keys { <HELP>, { <CAPS>, 6 },
    154 		   <LALT>, <LMTA>, 
    155 		 { <SPCE>, "SPCE" },
    156 		   <RMTA>, <RALT>, <COMP>, <LNFD>, 
    157 		 { <KP0>, 68, "KP0" }, <KP00>
    158 	    };
    159 	};
    160 	row {
    161 	    top= 149;
    162 	    left= 316;
    163 	    keys { 
    164 		 { <EXEC>, "EXEC" }
    165 	    };
    166 	};
    167     }; // End of "Alpha" section
    168 };
    169 
    170 xkb_geometry "140" {
    171 
    172     // This is an approximate layout for a Fujitsu Japanese keyboard.  
    173 
    174     description= "Fujitsu Japanese keyboard";
    175 
    176     width= 480;
    177     height= 215;
    178 
    179     shape "EDGE" { cornerRadius= 2, { [ 480, 215 ] } };
    180     shape.cornerRadius= 1;
    181     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } };
    182     shape "TABK" { { [ 27,18] }, { [2,1], [ 25,17] } };
    183     shape "RTRN" { 
    184 	    approx = { [ 0, 0], [28,37] },
    185 	    { [ 0, 0], [28, 0], [28,37],
    186 	      [ 5,37], [ 5,19], [ 0,19] },
    187 	    { [ 1, 1], [26, 1], [26,36],
    188 	      [ 7,36], [ 7,18], [ 1,18] }
    189     };
    190     shape "LFSH" { { [ 41,18] }, { [2,1], [ 39,17] } };
    191     shape "RTSH" { { [ 33,18] }, { [2,1], [ 31,17] } };
    192     shape "LCTL" { { [ 32,18] }, { [2,1], [ 30,17] } };
    193     shape "SPCE" { { [113,18] }, { [2,1], [111,17] } };
    194     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,17] } };
    195     shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } };
    196     shape "HNKN" { { [ 23,18] }, { [2,1], [ 21,17] } };
    197     shape "EXEC" { { [ 57,18] }, { [2,1], [ 55,17] } };
    198 
    199     outline "Edges" {
    200 	top= 0;
    201 	left= 0;
    202 	shape= "EDGE";
    203     };
    204 
    205     section.left= 15;
    206     row.left= 1;
    207     key.shape= "NORM";
    208     key.gap=  1;
    209 
    210     section "Alpha" {
    211 	top= 28;
    212 	row {
    213 	    top= 1;
    214 	    keys { 
    215 		  <BREA>, { <PRSC>, 6 }, 
    216 		{ <FK13>, 30 }, <FK14>, <FK15>, <FK16>,
    217 		{ <FK17>, 6 }, <FK18>, <FK19>, <FK20>,
    218 		{ <FK21>, 6 }, <FK22>, <FK23>, <FK24>,
    219 		{ <FK29>, 68 }, <FK30>, <FK31>, <FK32>
    220 	    };
    221 	};
    222 	row {
    223 	    top= 20;
    224 	    keys {
    225 		  <KNJI>, { <PAUS>, 6 },
    226 		{ <FK01>, 30 }, <FK02>, <FK03>, <FK04>,
    227 		{ <FK05>, 6 }, <FK06>, <FK07>, <FK08>,
    228 		{ <FK09>, 6 }, <FK10>, <FK11>, <FK12>,
    229 		{ <UNK0>, 6 }, <UNK1>, <UNK2>,
    230 		{ <FK25>, 6 }, <FK26>, <FK27>, <FK28>
    231 	    };
    232 	};
    233 	row {
    234 	    top= 39;
    235 	    left= 316;
    236 	    keys {
    237 		  <PGUP>, <HOME>, <PGDN>
    238 	    };
    239 	};
    240 	row {
    241 	    top= 54;
    242 	    keys { 
    243 		  <UNDO>, { <ESC>, 6 }, 
    244 		  <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, 
    245 		  <AE06>, <AE07>, <AE08>, <AE09>, <AE10>, 
    246 		  <AE11>, <AE12>, <BKSL>, <BKSP>,
    247 		{ <KPMU>, 68 }, <KPDV>, <KPAD>, <KPSU>
    248 
    249 	    };
    250 	};
    251 	row {
    252 	    top= 58;
    253 	    left= 316;
    254 	    keys {
    255 		  <UNK3>, <DEL>, <INS>
    256 	    };
    257 	};
    258 	row {
    259 	    top= 73;
    260 	    keys { <COPY>, 
    261 		 { <TAB>, 6, "TABK" },
    262 		   <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
    263 		   <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
    264 		   <AD11>, <AD12>, { <RTRN>, "RTRN" },
    265 		 { <KP7>, 68 }, <KP8>, <KP9>, <KPEQ>
    266 	    };
    267 	};
    268 	row {
    269 	    top= 92;
    270 	    keys { <PAST>, 
    271 		 { <LCTL>, 6, "LCTL" },
    272 		   <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
    273 		   <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
    274 		   <AC11>, <TLDE>,
    275 		 { <UP>, 49 },
    276 		 { <KP4>, 25 }, <KP5>, <KP6>, <KPDC>
    277 	    };
    278 	};
    279 	row {
    280 	    top= 102;
    281 	    left= 316;
    282 	    keys { <LEFT>, { <RGHT>, 19 }
    283 	    };
    284 	};
    285 	row {
    286 	    top= 111;
    287 	    keys { <CUT>, 
    288 		 { <LFSH>, 6 , "LFSH" }, 
    289 		   <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
    290 		   <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
    291 		   <AB11>, { <RTSH>, "RTSH" }, 
    292 		 { <DOWN>, 25 },
    293 		 { <KP1>, 25 }, <KP2>, <KP3>, { <KPEN>, "KPEN" }
    294 	    };
    295 	};
    296 	row {
    297 	    top= 130;
    298 	    keys { <HELP>, { <CAPS>, 6 },
    299 		   <LALT>, <LMTA>, <UNK4>,
    300 		 { <SPCE>, "SPCE" },
    301 		   <UNK5>, <RMTA>, <COMP>, <LNFD>, <UNK6>,
    302 		 { <KP0>, 68, "KP0" }, <KP00>
    303 	    };
    304 	};
    305 	row {
    306 	    top= 149;
    307 	    left= 134;
    308 	    keys { 
    309 		 { <UNK7>, "HNKN" }, { <UNK8>, "HNKN" }, 
    310 		 { <EXEC>, 132, "EXEC" }
    311 	    };
    312 	};
    313     }; // End of "Alpha" section
    314 };
    315