//
//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
};