home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / lib / x11 / xkb / geometry / digital / unix < prev   
Encoding:
Text File  |  1996-10-17  |  7.0 KB  |  228 lines

  1. // $XConsortium: unix /main/2 1996/01/24 12:16:06 kaleb $
  2. //
  3. //Copyright (c) 1996  Digital Equipment Corporation
  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 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 included
  14. //in all copies or substantial portions of the Software.
  15. //
  16. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  17. //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  18. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  19. //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
  20. //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  21. //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
  22. //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23. //
  24. //Except as contained in this notice, the name of the Digital Equipment 
  25. //Corporation shall not be used in advertising or otherwise to promote
  26. //the sale, use or other dealings in this Software without prior written
  27. //authorization from Digital Equipment Corporation.
  28. //
  29. // HISTORY
  30. // $Log$
  31. // Revision 1.1.2.3  1995/06/27  12:17:30  William_Walker
  32. //     Rename <TLDE> to ISO9995 compliant <AE00>.
  33. //     [1995/06/26  20:23:12  William_Walker]
  34. //
  35. // Revision 1.1.2.2  1995/06/05  19:21:23  William_Walker
  36. //     New file.  I love keymaps.
  37. //     [1995/06/05  18:05:56  William_Walker]
  38. // 
  39. // $EndLog$
  40. // 
  41. // @(#)$RCSfile: unix $ $Revision: /main/2 $ (DEC) $Date: 1996/01/24 12:16:06 $
  42. // 
  43. xkb_geometry "unix" {
  44.  
  45.     width        = 340;
  46.     height        = 160;
  47.     shape.cornerRadius     = 1;
  48.  
  49.     shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
  50.     shape "AE00" { primary = { [28,19] }, { [3,2], [25,16] } };
  51.     shape "BKSP" { primary = { [46,19] }, { [3,2], [43,16] } };
  52.     shape "TABK" { primary = { [37,19] }, { [3,2], [34,16] } };
  53.     shape "CTRL" { primary = { [46,19] }, { [3,2], [43,16] } };
  54.     shape "RTRN" { primary = { [46,19] }, { [3,2], [43,16] } };
  55.     shape "SHFT" { primary = { [56,19] }, { [3,2], [53,16] } };
  56.     shape "MODK" { primary = { [37,19] }, { [3,2], [34,16] } };
  57.     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
  58.  
  59.     section.left= 17;
  60.     row.left    = 1;
  61.     key.shape    = "NORM";
  62.     key.gap    =  1;
  63.  
  64.     text.color      = "black";
  65.     text "Logo" {left = 20; top = 10; text="digital\n"; };
  66.  
  67.     section "Function" { top = 30;
  68.         row { top = 1;
  69.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, 
  70.             { <FK06>, 20 }, <FK07>, <FK08>, <FK09>, <FK10>,
  71.             { <LEFT>, 20 }, <DOWN>, <UP>, <RGHT>
  72.         };
  73.         };
  74.     };
  75.  
  76.     section "Alpha" { top = 50;
  77.         row { top = 1;
  78.         keys {  { <AE00>, "AE00" }, 
  79.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  80.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  81.             { <BKSP>, "BKSP" }
  82.         };
  83.         };
  84.         row { top = 21;
  85.         keys {  { <TAB>, "TABK" },
  86.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  87.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  88.             <BKSL>, <AB00>
  89.         };
  90.  
  91.         };
  92.         row { top = 41; left = -4;
  93.         keys {  { <LCTL>, "CTRL" },
  94.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  95.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, 
  96.             { <RTRN>, "RTRN" }
  97.         };
  98.         };
  99.         row { top = 61; left = -4;
  100.         keys {  { <LFSH>, "SHFT" },
  101.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
  102.             <AB07>, <AB08>, <AB09>, <AB10>,
  103.             { <RTSH>, "SHFT" }
  104.         };
  105.         };
  106.         solid "ExtendKey" { top = 81; left= 1;
  107.             shape= "NORM";
  108.             color= "grey20";
  109.         };
  110.         text.top = 89;
  111.         text.color = "black";
  112.         text "ExtendLabel" {left = 6; text="Ext\nend"; };
  113.         row { top = 81; left = 19;
  114.         key.shape = "MODK";
  115.         keys {  { <LCMP>, "NORM" }, <LALT>,
  116.             { <SPCE>, "SPCE" },
  117.             <RALT>, <RCMP> 
  118.         };
  119.         };
  120.     };
  121. };
  122.  
  123. xkb_geometry "lk421jj" {
  124.  
  125.     width        = 315;
  126.     height        = 170;
  127.     shape.cornerRadius  = 1;
  128.  
  129.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  130.     shape "RTRN" {
  131.     approx = { [0,0],[28,23] },
  132.         { [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
  133.         { [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
  134.     };
  135.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  136.     shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
  137.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  138.     shape "MED" { { [23,19] }, { [3,2], [20,16] } };
  139.     shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
  140.     shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
  141.     shape "LEDS" { [ 56,15] };
  142.     shape "LED"  { [  5, 2] };
  143.  
  144.     section.left    = 5;
  145.     row.left    = 1;
  146.     key.shape    = "NORM";
  147.     key.gap        =  1;
  148.  
  149.     text "Logo" {left = 7; top = 10; text="digital\n"; };
  150.  
  151.     section "Function" { top = 45;
  152.         row { top = 1; left = 7;
  153.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  154.             { <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>
  155.         };
  156.         };
  157.     };
  158.  
  159.     section "Editing" { top = 45; left= 230;
  160.         row { top = 1;
  161.         keys { <LEFT>, <DOWN>, <UP>, <RGHT> };
  162.         };
  163.     };
  164.  
  165.     section "Alpha" { top = 65;
  166.         row { top = 1; left = 7;
  167.         keys {  { <AE00>, "MED" }, 
  168.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  169.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  170.             <AB00>, { <BKSP>, "MED" }
  171.         };
  172.         };
  173.         row { top = 21;    left = 7;
  174.         keys {  { <TAB>, "LONG1" },
  175.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  176.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  177.             { <RTRN>, "RTRN" }
  178.         };
  179.         };
  180.         row { top = 41;
  181.         keys {  { <LCTL>, "CTRL" },
  182.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  183.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  184.         };
  185.         };
  186.         row { top = 61;
  187.         keys {  <CAPS>, { <LFSH>, "LONG1" },
  188.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  189.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  190.             <AB11>, { <RTSH>, "LONG1" }
  191.         };
  192.         };
  193.         row { top = 81;    left = 7;
  194.         keys {  <AA00>, <LCMP>,
  195.             { <LALT>, "LONG" },
  196.             { <MUHE>, "LONG" },
  197.             { <SPCE>, "SPCE" },
  198.             { <KANJ>, "LONG" },
  199.             { <HIRA>, "LONG" },
  200.             <RALT>, <RCMP>
  201.         };
  202.         };
  203.     };
  204.  
  205.     section.left = 233;
  206.     section.top  = 20;
  207.  
  208.     section "Indicators" {
  209.         solid "led_panel" { top = 0; left = 0;
  210.         cornerRadius = 1;
  211.         shape = "LEDS";
  212.         color = "grey";
  213.         };
  214.         indicator.onColor = "#00ff00";
  215.         indicator.offColor= "#001000";
  216.         indicator.top = 11;
  217.         indicator.shape= "LED";
  218.         indicator "Scroll Lock" { left = 6;  };
  219.         indicator "Caps Lock"   { left = 26; };
  220.         text.top = 3;
  221.         text.color = "black";
  222.         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
  223.         text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
  224.     };
  225. };
  226.  
  227.  
  228.