home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / lib / x11 / xkb / geometry / nec < prev    next >
Encoding:
Text File  |  1996-10-17  |  4.2 KB  |  160 lines

  1. // $XConsortium: nec /main/1 1996/01/30 14:21:06 kaleb $
  2. //
  3. //Copyright (c) 1996  X Consortium
  4. //
  5. //Permission is hereby granted, free of charge, to any person obtaining
  6. //a copy of this software and associated documentation files (the
  7. //"Software"), to deal in the Software without restriction, including
  8. //without limitation the rights to use, copy, modify, merge, publish,
  9. //distribute, sublicense, and/or sell copies of the Software, and to
  10. //permit persons to whom the Software is furnished to do so, subject to
  11. //the following conditions:
  12. //
  13. //The above copyright notice and this permission notice shall be
  14. //included in all copies or substantial portions of the Software.
  15. //
  16. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  17. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  18. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  19. //IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
  20. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  21. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  22. //OTHER DEALINGS IN THE SOFTWARE.
  23. //
  24. //Except as contained in this notice, the name of the X Consortium shall
  25. //not be used in advertising or otherwise to promote the sale, use or
  26. //other dealings in this Software without prior written authorization
  27. //from the X Consortium.
  28. //
  29. default xkb_geometry "pc98" {
  30.  
  31.     description= "Generic PC98";
  32.     width= 405;
  33.     height= 172;
  34.  
  35.     shape.cornerRadius= 1;
  36.     shape "NORM" { { [ 17,18] }, { [2,1], [ 15,17] } };
  37.     shape "RTRN" { { [ 20,37] }, { [2,1], [ 18,35] } };
  38.     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } };
  39.     shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } };
  40.     shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } };
  41.     shape "SPCE" { { [115,18] }, { [2,1], [113,17] } };
  42.     shape "FUNC" { { [ 21,18] }, { [2,1], [ 19,17] } };
  43.     shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } };
  44.     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } };
  45.     shape "TABK" { { [ 30,18] }, { [2,1], [ 28,17] } };
  46.     shape "ARRW" { { [ 35,18] }, { [2,1], [ 33,17] } };
  47.  
  48.     section.left= 8;
  49.     row.left= 1;
  50.     key.shape= "NORM";
  51.     key.gap=  1;
  52.     section "Function" {
  53.     top= 29;
  54.     row {
  55.         top= 1;
  56.         key.shape="FUNC";
  57.         keys {  { <BRK>, "NORM" }, { <PRSC>, "NORM", 5 },
  58.             { <FK01>, 6 }, <FK02>, <FK03>, <FK04>, <FK05>, 
  59.             { <FK06>, 6 }, <FK07>, <FK08>, <FK09>, <FK10>, 
  60.             { <FK11>, 6 }, <FK12>, <FK13>, <FK14>, <FK15>
  61.         };
  62.     };
  63.     }; // End of "Function" section
  64.  
  65.     section "Alpha" {
  66.     top= 54;
  67.     row {
  68.         top= 1;
  69.         keys { { <ESC>, shape="BKSP"}, 
  70.            <AE01>, <AE02>, <AE03>, <AE04>,
  71.            <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  72.            <AE10>, <AE11>, <AE12>, <BKSL>,
  73.            { <BKSP>, "BKSP" }
  74.         };
  75.     };
  76.     row {
  77.         top= 20;
  78.         keys { { <TAB>, "TABK" },
  79.            <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
  80.            <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
  81.            <AD11>, <AD12>, { <RTRN>, "RTRN", 6 }
  82.         };
  83.     };
  84.     row {
  85.         top= 39;
  86.         keys { <LCTL>, <CAPS>,
  87.            <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
  88.            <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
  89.            <AC11>, <AC12>
  90.         };
  91.     };
  92.     row {
  93.         top= 58;
  94.         keys { { <LFSH>, "LFSH" },
  95.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  96.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
  97.             { <RTSH>, "RTSH" }
  98.         };
  99.     };
  100.     row {
  101.         top= 77;
  102.         keys { { <ALGR>, 35 } , <LALT>, { <NFER>, "FUNC" },
  103.            { <SPCE>, "SPCE" }, { <XFER>, "FUNC" }
  104.            
  105.         };
  106.     };
  107.     }; // End of "Alpha" section
  108.  
  109.     section "Editing" {
  110.     top= 54;
  111.     left= 281;
  112.     row {
  113.         top= 1;
  114.         keys { <INS>, <DELE> };
  115.     };
  116.         row {
  117.         top= 20;
  118.         keys { <PGDN>, <PGUP> };
  119.     };
  120.     row {
  121.         top= 39;
  122.         keys { { <UP>, "ARRW" } };
  123.     };
  124.     row {
  125.         top= 58;
  126.         keys { <LEFT>, <RGHT> };
  127.     };
  128.     row {
  129.         top= 77;
  130.         keys { { <DOWN>, "ARRW" } };
  131.     };
  132.     }; // End of "Editing" section
  133.  
  134.     section "Keypad" {
  135.     top= 54;
  136.     left= 320;
  137.     row {
  138.         top= 1;
  139.         keys { <HOME>, <HELP>, <KPSU>, <KPDV> };
  140.     };
  141.     row {
  142.         top= 20;
  143.         keys { <KP7>, <KP8>, <KP9>, <KPMU> };
  144.     };
  145.     row {
  146.         top= 39;
  147.         keys { <KP4>, <KP5>, <KP6>, <KPAD> };
  148.     };
  149.     row {
  150.         top= 58;
  151.         keys { <KP1>, <KP2>, <KP3>, <KPEQ> };
  152.     };
  153.     row {
  154.         top= 77;
  155.         keys { <KP0>, <KPSP>, <KPDC>, <KPEN> };
  156.     };
  157.     }; // End of "Keypad" section
  158.  
  159. }; // End of "pc98" geometry
  160.