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

  1. // $XConsortium: pc /main/3 1996/02/02 14:40:25 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.6.2  1995/08/18  21:15:18  William_Walker
  32. //     Upgrade XKB to Protocol Rev. 0.64
  33. //     [1995/08/18  20:41:49  William_Walker]
  34. //
  35. // Revision 1.1.2.4  1995/08/11  19:35:48  William_Walker
  36. //     Sync up with Erik's pool.
  37. //     [1995/08/11  18:36:03  William_Walker]
  38. // 
  39. // Revision 1.1.2.3  1995/06/27  12:17:29  William_Walker
  40. //     Rename <TLDE> to ISO9995 compliant <AE00>.
  41. //     [1995/06/26  20:23:10  William_Walker]
  42. // 
  43. // Revision 1.1.2.2  1995/06/05  19:21:19  William_Walker
  44. //     New file.  I love keymaps.
  45. //     [1995/06/05  18:05:51  William_Walker]
  46. // 
  47. // $EndLog$
  48. // 
  49. // @(#)$RCSfile: pc $ $Revision: /main/3 $ (DEC) $Date: 1996/02/02 14:40:25 $
  50. // 
  51. partial xkb_geometry "common" {
  52.     width        = 480;
  53.     height        = 200;
  54.  
  55.     shape.cornerRadius = 1;
  56.     shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
  57.     shape "KP0"  { primary = { [37,19] }, { [3,2], [34,16] } };
  58.     shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
  59.     shape "LEDS" { [78,22] };
  60.     shape "LED"  { [5,2] };
  61.  
  62.     text.color         = "black";
  63.     section.left       = 17;
  64.     row.left           = 1;
  65.     key.shape           = "NORM";
  66.     key.gap           =  1;
  67.  
  68.     section "Function" { top = 40;
  69.         row { top = 1;
  70.         keys {  <ESC>,
  71.                 { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  72.                 { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
  73.             { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
  74.         };
  75.         };
  76.     };
  77.  
  78.     section "Editing" { top = 40; left = 308;
  79.         row { top = 1;
  80.             keys { <PRSC>, <SCLK>, <PAUS> };
  81.         };
  82.         row { top = 41;
  83.         keys { <INS>, <HOME>, <PGUP> };
  84.         };
  85.         row { top = 61;
  86.         keys { <DELE>, <END>, <PGDN> };
  87.         };
  88.         row { top = 101; left = 20;
  89.         keys { <UP> };
  90.         };
  91.         row { top = 121;
  92.         keys { <LEFT>, <DOWN>, <RGHT> };
  93.         };
  94.     };
  95.  
  96.     section "Keypad" { top = 80; left = 374;
  97.         row { top = 1;
  98.         keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  99.         };
  100.         row { top = 21;
  101.         keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
  102.         };
  103.         row { top = 41;
  104.         keys { <KP4>, <KP5>, <KP6> };
  105.         };
  106.         row { top = 61;
  107.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
  108.         };
  109.         row { top = 81;
  110.         keys { { <KP0>, "KP0" }, <KPDL> };
  111.         };
  112.     };
  113. };
  114.  
  115. partial xkb_geometry "leds_on_keys" {
  116.     section.top  = 40;
  117.     section.left = 17;
  118.     section "LedPanel" {
  119.         indicator.onColor  = "#00ff00";
  120.         indicator.offColor = "#001000";
  121.         indicator.shape    = "LED";
  122.         indicator "Scroll Lock" { left = 317; top = 5;  };
  123.         indicator "Num Lock"    { left = 364; top = 45; };
  124.         indicator "Caps Lock"   { left = 10;   top = 85; };
  125.     };
  126.  
  127.     section.left = 375;
  128.     section.top  = 40;
  129.     section "LogoPanel" {
  130.         solid "logo_panel" { top = 0; left = 0;
  131.             shape = "LEDS";
  132.         color = "grey";
  133.         };
  134.         text "Logo" {left = 28; top = 10; text="digital\n"; };
  135.     };
  136. };
  137.  
  138. partial xkb_geometry "leds_alone" {
  139.     section.left = 375;
  140.     section.top  = 40;
  141.     section "Indicators" {
  142.         solid "led_panel" { top = 0; left = 0;
  143.         shape = "LEDS";
  144.         color = "grey";
  145.         };
  146.         indicator.top = 16;
  147.         indicator.onColor  = "#00ff00";
  148.         indicator.offColor = "#001000";
  149.         indicator.shape    = "LED";
  150.         indicator "Num Lock"     { left = 3;  };
  151.         indicator "Caps Lock"    { left = 26; };
  152.         indicator "Scroll Lock" { left = 50; };
  153.         text "Logo" {left = 2; top = 3; text="digital\n"; };
  154.     };
  155.     section "IndicatorLabels" {
  156.     text.top = 11;
  157.         text "NumLockLabel"    {left = 10; text="Num\nLock";    };
  158.         text "CapsLockLabel"   {left = 33; text="Caps\nLock";   };
  159.         text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
  160.     };
  161. };
  162.  
  163. xkb_geometry "pc101" {
  164.     include "digital/pc(common)"
  165.  
  166.     shape.cornerRadius = 1;
  167.     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  168.     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  169.     shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
  170.     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  171.     shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
  172.     shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
  173.     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  174.     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  175.     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
  176.  
  177.     section.left       = 17;
  178.     row.left           = 1;
  179.     key.shape           = "NORM";
  180.     key.gap           =  1;
  181.  
  182.     section "Alpha" { top = 80;
  183.         row { top = 1;
  184.         keys {  <AE00>, 
  185.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  186.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  187.             { <BKSP>, "BKSP" }
  188.         };
  189.         };
  190.         row { top = 21;
  191.         keys {  { <TAB>, "TABK" },
  192.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  193.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  194.             { <BKSL>, "BKSL" }
  195.         };
  196.  
  197.         };
  198.         row { top = 41;
  199.         keys {  { <CAPS>, "CAPS" },
  200.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  201.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
  202.             { <RTRN>, "RTRN" }
  203.         };
  204.         };
  205.         row { top = 61;
  206.         keys {  { <LFSH>, "LFSH" },
  207.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
  208.                     <AB07>, <AB08>, <AB09>, <AB10>,
  209.             { <RTSH>, "RTSH" }
  210.         };
  211.         };
  212.         row { top = 81;
  213.         key.shape = "MODK";
  214.         keys {  <LCTL>,
  215.             { <LALT>, 20 },
  216.             { <SPCE>, "SPCE" },
  217.             <RALT>,
  218.             { <RCTL>, 21 }
  219.         };
  220.         };
  221.     };
  222. };
  223.  
  224. xkb_geometry "pc102" {
  225.     include "digital/pc(common)"
  226.  
  227.     shape.cornerRadius = 1;
  228.     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  229.     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  230.     shape "RTRN" { 
  231.         approx = { [0,0],[28,19] },
  232.         { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
  233.         { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
  234.     };
  235.     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  236.     shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
  237.     shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
  238.     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  239.     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  240.     shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
  241.  
  242.     section.left       = 17;
  243.     row.left           = 1;
  244.     key.shape           = "NORM";
  245.     key.gap           =  1;
  246.  
  247.     section "Alpha" { top = 80;
  248.         row { top = 1;
  249.         keys {  <AE00>, 
  250.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  251.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  252.             { <BKSP>, "BKSP" }
  253.         };
  254.         };
  255.         row { top = 21;
  256.         keys {  { <TAB>, "TABK" },
  257.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  258.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  259.             { <RTRN>, "RTRN" }
  260.         };
  261.  
  262.         };
  263.         row { top = 41;
  264.         keys {  { <CAPS>, "CAPS" },
  265.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  266.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
  267.         };
  268.         };
  269.         row { top = 61;
  270.         keys {  { <LFSH>, "LFSH" },
  271.             <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  272.                 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  273.             { <RTSH>, "RTSH" }
  274.         };
  275.         };
  276.         row { top = 81;
  277.         key.shape = "MODK";
  278.         keys {  <LCTL>,
  279.             { <LALT>, 20 },
  280.             { <SPCE>, "SPCE" },
  281.             <RALT>,
  282.             { <RCTL>, 21 }
  283.         };
  284.         };
  285.     };
  286. };
  287.  
  288. xkb_geometry "pcxaj" {
  289.     include "digital/pc(common)"
  290.  
  291.     shape.cornerRadius = 1;
  292.     shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  293.     shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  294.     shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
  295.     shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  296.     shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
  297.     shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
  298.     shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  299.     shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  300.     shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
  301.  
  302.     section.left       = 17;
  303.     row.left           = 1;
  304.     key.shape           = "NORM";
  305.     key.gap           =  1;
  306.  
  307.     section "Alpha" { top = 80;
  308.         row { top = 1;
  309.         keys {  <AE00>, 
  310.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  311.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  312.             { <BKSP>, "BKSP" }
  313.         };
  314.         };
  315.         row { top = 21;
  316.         keys {  { <TAB>, "TABK" },
  317.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  318.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  319.             { <BKSL>, "BKSL" }
  320.         };
  321.         };
  322.         row { top = 41;
  323.         keys {  { <CAPS>, "CAPS" },
  324.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  325.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
  326.             { <RTRN>, "RTRN" }
  327.         };
  328.         };
  329.         row { top = 61;
  330.         keys {  { <LFSH>, "LFSH" },
  331.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>, 
  332.             <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
  333.             { <RTSH>, "RTSH" }
  334.         };
  335.         };
  336.         row { top = 81;
  337.         key.shape = "MODK";
  338.         keys {  <LCTL>, <LALT>, 
  339.             { <MUHE>, "NORM" }, 
  340.             { <SPCE>, "SPCE" },
  341.             { <KANJ>, "NORM" },
  342.             { <HIRA>, "NORM" },
  343.             <RALT>, <RCTL>
  344.         };
  345.         };
  346.     };
  347. };
  348.