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

  1. // $XConsortium: lk /main/2 1996/01/24 12:16:00 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:16  William_Walker
  32. //     Upgrade XKB to Protocol Rev. 0.64
  33. //     [1995/08/18  20:41:46  William_Walker]
  34. //
  35. // Revision 1.1.2.5  1995/08/11  19:35:47  William_Walker
  36. //     Sync up with Erik's pool.
  37. //     [1995/08/11  18:35:58  William_Walker]
  38. // 
  39. // Revision 1.1.2.4  1995/06/27  12:17:28  William_Walker
  40. //     Rename <TLDE> to ISO9995 compliant <AE00>.
  41. //     [1995/06/26  20:23:07  William_Walker]
  42. // 
  43. // Revision 1.1.2.3  1995/06/09  20:54:36  William_Walker
  44. //     Add VT105 layout support and ISO group support
  45. //     [1995/06/09  20:40:38  William_Walker]
  46. // 
  47. // Revision 1.1.2.2  1995/06/05  19:21:16  William_Walker
  48. //     New file.  I love keymaps.
  49. //     [1995/06/05  18:05:43  William_Walker]
  50. // 
  51. // $EndLog$
  52. // 
  53. // @(#)$RCSfile: lk $ $Revision: /main/2 $ (DEC) $Date: 1996/01/24 12:16:00 $
  54. // 
  55. xkb_geometry "lk201" {
  56.     width           = 530;
  57.     height           = 170;
  58.     shape.cornerRadius = 1;
  59.  
  60.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  61.     shape "RTRN" {
  62.     approx = { [0,0],[23,19] },
  63.         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
  64.         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
  65.     };
  66.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  67.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  68.     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
  69.     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
  70.     shape "SPCE" { { [171,19] },{ [3,2], [168,16]} };
  71.     shape "LEDS" { [ 30,15] };
  72.     shape "LED"  { [  5, 2] };
  73.  
  74.     section.left= 27;
  75.     row.left    = 1;
  76.     key.shape    = "NORM";
  77.     key.gap    =  1;
  78.  
  79.     section "Function" { top = 20;
  80.         row { top = 1;
  81.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  82.             { <FK06>, 19 }, <FK07>, <FK08>, <FK09>, <FK10>,
  83.             { <FK11>, 19 }, <FK12>, <FK13>, <FK14>,
  84.             { <FK17>, 98 }, <FK18>, <FK19>, <FK20>
  85.         };
  86.         };
  87.     };
  88.  
  89.     section "Editing" { top = 20; left = 350;
  90.         row { top = 1;
  91.         keys { <HELP>, { <DO>, "LONG" } };
  92.         };
  93.         row { top = 41;
  94.         keys { <FIND>, <INS>, <DELE> };
  95.         };
  96.         row { top = 61;
  97.         keys { <SELE>, <PGUP>, <PGDN> };
  98.         };
  99.         row { top = 81; left = 20;
  100.         keys { <UP> };
  101.         };
  102.         row { top = 101;
  103.         keys { <LEFT>, <DOWN>, <RGHT> };
  104.         };
  105.     };
  106.  
  107.     section "Keypad" { top = 60; left = 426;
  108.         row { top = 1;
  109.         keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
  110.         };
  111.         row { top = 21;
  112.         keys { <KP7>, <KP8>, <KP9>, <KPSU> };
  113.         };
  114.         row { top = 41;
  115.         keys { <KP4>, <KP5>, <KP6>, <KPCO> };
  116.         };
  117.         row { top = 61;
  118.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
  119.         };
  120.         row { top = 81;
  121.         keys { { <KP0>, "LONG" }, <KPDL> };
  122.         };
  123.     };
  124.  
  125.     section "Alpha" { top = 60;
  126.         row { top = 1; left = 15;
  127.         keys {  <AE00>, 
  128.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  129.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  130.             { <BKSP>, "MED" }
  131.         };
  132.         };
  133.         row { top = 21; left = 15;
  134.         keys {  { <TAB>, "MED" },
  135.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  136.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  137.             { <RTRN>, "RTRN" }
  138.         };
  139.  
  140.         };
  141.         row { top = 41;
  142.         keys {  <LCTL>,
  143.             { <CAPS>, "CAPS" },
  144.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  145.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  146.         };
  147.         };
  148.         row { top = 61;
  149.         keys {  { <LFSH>, "LONG" },
  150.             <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  151.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  152.             { <RTSH>, "LONG" }
  153.         };
  154.         };
  155.         row { top = 81;    left = 26;
  156.         keys {  { <LCMP>, "LONG" },
  157.                 { <SPCE>, "SPCE" }
  158.         };
  159.         };
  160.     };
  161.  
  162.     section.left = 341;
  163.     section.top  = 3;
  164.  
  165.     section "Indicators" {
  166.         indicator.onColor = "#00ff00";
  167.         indicator.offColor= "#001000";
  168.         indicator.top = 10;
  169.         indicator.shape= "LED";
  170.         indicator "Scroll Lock" { left = 9;  };
  171.         indicator "Caps Lock"   { left = 27; };
  172.         indicator "Compose"     { left = 45; };
  173.         indicator "Wait"        { left = 63; };
  174.         text.top = 4;
  175.         text.color = "black";
  176.         text "HoldScreenLabel" {left = 5; text="Hold\n"; };
  177.         text "CapsLockLabel" {left = 23; text="Lock\n"; };
  178.         text "ComposeLabel" {left = 37; text="Compose\n"; };
  179.         text "WaitLabel" {left = 60; text="Wait\n"; };
  180.     };
  181. };
  182.  
  183. xkb_geometry "lk401" {
  184.  
  185.     width        = 480;
  186.     height        = 180;
  187.     shape.cornerRadius    = 1;
  188.  
  189.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  190.     shape "RTRN" {
  191.     approx = { [0,0],[23,19] },
  192.         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
  193.         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
  194.     };
  195.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  196.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  197.     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
  198.     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
  199.     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
  200.     shape "LEDS" { [ 36,15] };
  201.     shape "LED"  { [  5, 2] };
  202.  
  203.     section.left= 17;
  204.     row.left    = 1;
  205.     key.shape    = "NORM";
  206.     key.gap    =  1;
  207.  
  208.     text "Logo" {left = 20; top = 10; text="digital\n"; };
  209.  
  210.     section "Function" { top = 20;
  211.         row { top = 1;
  212.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  213.                 { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
  214.             { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
  215.             { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
  216.         };
  217.         };
  218.     };
  219.  
  220.     section "Editing" { top = 20; left = 320;
  221.         row { top = 1;
  222.         keys { <HELP>, { <DO>, "LONG" } };
  223.         };
  224.         row { top = 41;
  225.         keys { <FIND>, <INS>, <DELE> };
  226.         };
  227.         row { top = 61;
  228.         keys { <SELE>, <PGUP>, <PGDN> };
  229.         };
  230.         row { top = 81; left= 20;
  231.         keys { <UP> };
  232.         };
  233.         row { top = 101;
  234.         keys { <LEFT>, <DOWN>, <RGHT> };
  235.         };
  236.     };
  237.  
  238.     section "Keypad" { top = 60; left = 385;
  239.         row { top = 1;
  240.         keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
  241.         };
  242.         row {
  243.         top = 21;
  244.         keys { <KP7>, <KP8>, <KP9>, <KPSU> };
  245.         };
  246.         row { top = 41;
  247.         keys { <KP4>, <KP5>, <KP6>, <KPCO> };
  248.         };
  249.         row { top = 61;
  250.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
  251.         };
  252.         row { top = 81;
  253.         keys { { <KP0>, "LONG" }, <KPDL> };
  254.         };
  255.     };
  256.  
  257.     section "Alpha" { top = 60;
  258.         row { top = 1; left = 15;
  259.         keys {  <AE00>, 
  260.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  261.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  262.             { <BKSP>, "MED" }
  263.         };
  264.         };
  265.         row { top = 21; left = 15;
  266.         keys {    { <TAB>, "MED" },
  267.                 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  268.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  269.             { <RTRN>, "RTRN" }
  270.         };
  271.  
  272.         };
  273.         row { top = 41;
  274.         keys {  <LCTL>,
  275.                 { <CAPS>, "CAPS" },
  276.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  277.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  278.         };
  279.         };
  280.         row { top = 61;
  281.         keys {     { <LFSH>, "LONG" },
  282.             <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  283.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  284.             { <RTSH>, "LONG" }
  285.         };
  286.         };
  287.         row { top = 81; left = 29;
  288.         keys {     { <LCMP>, "MED" },
  289.             { <LALT>, "MED" },
  290.             { <SPCE>, "SPCE" },
  291.             { <RALT>, "MED" },
  292.             { <RCMP>, "MED" }
  293.         };
  294.         };
  295.     };
  296.  
  297.     section.left = 69;
  298.     section.top  = 3;
  299.     section "Indicators" {
  300.         solid "led_panel" { top = 0; left = 0;
  301.         cornerRadius = 1;
  302.         shape = "LEDS";
  303.         color = "grey";
  304.         };
  305.         indicator.onColor = "#00ff00";
  306.         indicator.offColor= "#001000";
  307.         indicator.shape   = "LED";
  308.         indicator.top       = 1;
  309.         indicator "Scroll Lock" { left = 3;  };
  310.         indicator "Caps Lock"   { left = 22; };
  311.     };
  312.     section "IndicatorLabels" {
  313.     text.top = 4;
  314.     text.color = "black";
  315.     text "ScrollLockLabel" {left = 3;  text="Scroll\nLock"; };
  316.     text "CapsLockLabel"   {left = 22; text="Caps\nLock"; };
  317.     };
  318. };
  319.  
  320. xkb_geometry "lk450" {
  321.  
  322.     width        = 480;
  323.     height        = 180;
  324.     shape.cornerRadius    = 1;
  325.  
  326.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  327.     shape "RTRN" {
  328.     approx = { [0,0],[23,19] },
  329.         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
  330.         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
  331.     };
  332.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  333.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  334.     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
  335.     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
  336.     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
  337.     shape "LEDS" { [ 36,15] };
  338.     shape "LED"  { [  5, 2] };
  339.  
  340.     section.left= 17;
  341.     row.left    = 1;
  342.     key.shape    = "NORM";
  343.     key.gap    =  1;
  344.  
  345.     text "Logo" {left = 20; top = 10; text="digital\n"; };
  346.  
  347.     section "Function" { top = 20;
  348.         row { top = 1;
  349.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  350.                 { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
  351.             { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
  352.             { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
  353.         };
  354.         };
  355.     };
  356.  
  357.     section "Editing" { top = 20; left = 320;
  358.         row { top = 1;
  359.         keys { <HELP>, { <DO>, "LONG" } };
  360.         };
  361.         row { top = 41;
  362.         keys { <FIND>, <INS>, <DELE> };
  363.         };
  364.         row { top = 61;
  365.         keys { <SELE>, <PGUP>, <PGDN> };
  366.         };
  367.         row { top = 81; left= 20;
  368.         keys { <UP> };
  369.         };
  370.         row { top = 101;
  371.         keys { <LEFT>, <DOWN>, <RGHT> };
  372.         };
  373.     };
  374.  
  375.     section "Keypad" { top = 60; left = 385;
  376.         row { top = 1;
  377.         keys { <KPF1>, <KPF2>, <KPF3>, <KPF4> };
  378.         };
  379.         row {
  380.         top = 21;
  381.         keys { <KP7>, <KP8>, <KP9>, <KPSU> };
  382.         };
  383.         row { top = 41;
  384.         keys { <KP4>, <KP5>, <KP6>, <KPCO> };
  385.         };
  386.         row { top = 61;
  387.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
  388.         };
  389.         row { top = 81;
  390.         keys { { <KP0>, "LONG" }, <KPDL> };
  391.         };
  392.     };
  393.  
  394.     section "Alpha" { top = 60;
  395.         row { top = 1; left = 15;
  396.         keys {  <AE00>, 
  397.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  398.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  399.             { <BKSP>, "MED" }
  400.         };
  401.         };
  402.         row { top = 21; left = 15;
  403.         keys {    { <TAB>, "MED" },
  404.                 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  405.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  406.             { <RTRN>, "RTRN" }
  407.         };
  408.  
  409.         };
  410.         row { top = 41;
  411.         keys {  <LCTL>,
  412.                 { <CAPS>, "CAPS" },
  413.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  414.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  415.         };
  416.         };
  417.         row { top = 61;
  418.         keys {     { <LFSH>, "LONG" },
  419.             <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  420.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  421.             { <RTSH>, "LONG" }
  422.         };
  423.         };
  424.         row { top = 81; left = 29;
  425.         keys {     { <LCMP>, "MED" },
  426.             { <LALT>, "MED" },
  427.             { <SPCE>, "SPCE" },
  428.             { <RALT>, "MED" },
  429.             { <RCMP>, "MED" }
  430.         };
  431.         };
  432.     };
  433.  
  434.     section.left = 69;
  435.     section.top  = 3;
  436.     section "Indicators" {
  437.         solid "led_panel" { top = 0; left = 0;
  438.         cornerRadius = 1;
  439.         shape = "LEDS";
  440.         color = "grey";
  441.         };
  442.         indicator.onColor = "#00ff00";
  443.         indicator.offColor= "#001000";
  444.         indicator.shape   = "LED";
  445.         indicator.top       = 1;
  446.         indicator "Scroll Lock" { left = 3;  };
  447.         indicator "Caps Lock"   { left = 22; };
  448.     };
  449.     section "IndicatorLabels" {
  450.     text.top = 4;
  451.     text.color = "black";
  452.     text "ScrollLockLabel" {left = 3;  text="Scroll\nLock"; };
  453.     text "CapsLockLabel"   {left = 22; text="Caps\nLock"; };
  454.     };
  455. };
  456.  
  457. xkb_geometry "lk401bj"
  458. {
  459.     width        = 480;
  460.     height        = 180;
  461.     shape.cornerRadius  = 1;
  462.  
  463.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  464.     shape "RTRN" {
  465.         approx = { [0,0],[23,19] },
  466.         { [0,0], [23,0], [23,39], [5,39], [5,19], [0,19] },
  467.         { [3,2], [20,2], [20,36], [8,36], [8,16], [3,16] }
  468.     };
  469.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  470.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  471.     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
  472.     shape "CAPS" { { [28,19] }, { [3,2], [18,16] } };
  473.     shape "SPCE" { { [131,19] },{ [3,2], [128,16]} };
  474.     shape "LEDS" { [ 30,15] };
  475.     shape "LED"  { [  5, 2] };
  476.  
  477.     section.left= 17;
  478.     row.left    = 1;
  479.     key.shape    = "NORM";
  480.     key.gap    =  1;
  481.  
  482.     text "Logo" {left = 20; top = 10; text="digital\n"; };
  483.  
  484.     section "Function" { top = 20;
  485.         row { top = 1;
  486.             keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  487.             { <FK06>, 15 }, <FK07>, <FK08>, <FK09>, <FK10>,
  488.             { <FK11>, 15 }, <FK12>, <FK13>, <FK14>,
  489.             { <FK17>, 75 }, <FK18>, <FK19>, <FK20>
  490.         };
  491.         };
  492.     };
  493.  
  494.     section "Editing" { top = 20; left = 320;
  495.         row { top = 1;
  496.         keys { <HELP>, { <DO>, "LONG" } };
  497.         };
  498.         row { top = 41;
  499.         keys { <FIND>, <INS>, <DELE> };
  500.         };
  501.         row { top = 61;
  502.         keys { <SELE>, <PGUP>, <PGDN> };
  503.         };
  504.         row { top = 81;    left = 20;
  505.         keys { <UP> };
  506.         };
  507.         row { top = 101;
  508.         keys { <LEFT>, <DOWN>, <RGHT> };
  509.         };
  510.     };
  511.  
  512.     section "Keypad" { top = 60; left = 385;
  513.         row { top = 1;
  514.         keys { <PF1>, <PF2>, <PF3>, <PF4> };
  515.         };
  516.         row { top = 21;
  517.         keys { <KP7>, <KP8>, <KP9>, <KPSU> };
  518.         };
  519.         row { top = 41;
  520.         keys { <KP4>, <KP5>, <KP6>, <KPCO> };
  521.         };
  522.         row { top = 61;
  523.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
  524.         };
  525.         row { top = 81;
  526.         keys { { <KP0>, "LONG" }, <KPDL> };
  527.         };
  528.     };
  529.  
  530.     section "Alpha" { top = 60;
  531.         row { top = 1; left = 15;
  532.         keys {  <AE00>, 
  533.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  534.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  535.             { <BKSP>, "MED" }
  536.         };
  537.         };
  538.         row { top = 21;    left = 15;
  539.         keys {  { <TAB>, "MED" },
  540.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  541.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  542.             { <RTRN>, "RTRN" }
  543.         };
  544.         };
  545.         row { top = 41;
  546.         keys {  <LCTL>,
  547.             { <CAPS>, "CAPS" },
  548.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  549.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  550.         };
  551.         };
  552.         row { top = 61;
  553.         keys {  { <LFSH>, "LONG" },
  554.             <AB00>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  555.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  556.             { <RTSH>, "LONG" }
  557.         };
  558.         };
  559.         row { top = 81;    left = 29;
  560.         keys {  { <LCMP>, "MED" },
  561.             { <LALT>, "MED" },
  562.             { <SPCE>, "SPCE" },
  563.             { <RALT>, "MED" },
  564.             { <RCMP>, "MED" }
  565.         };
  566.         };
  567.     };
  568.  
  569.     section.left = 69;
  570.     section.top  = 3;
  571.  
  572.     section "Indicators" {
  573.         solid "led_panel" { top = 0; left = 0;
  574.         cornerRadius = 1;
  575.         shape = "LEDS";
  576.         color = "grey";
  577.         };
  578.         indicator.onColor = "#00ff00";
  579.         indicator.offColor= "#001000";
  580.         indicator.top = 1;
  581.         indicator.shape= "LED";
  582.         indicator "Scroll Lock" { left = 3; };
  583.         indicator "Caps Lock" { left = 22; };
  584.         text.top = 4;
  585.         text.color = "black";
  586.         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
  587.         text "CapsLockLabel" {left = 19; text="Caps\nLock"; };
  588.     };
  589. };
  590.  
  591. xkb_geometry "lk401jj" {
  592.  
  593.     width        = 460;
  594.     height        = 180;
  595.     shape.cornerRadius  = 1;
  596.  
  597.     shape "NORM" { { [18,19] }, { [3,2], [15,16] } };
  598.     shape "RTRN" {
  599.     approx = { [0,0],[28,23] },
  600.         { [0,0], [28,0], [28,39], [5,39], [5,19], [0,19] },
  601.         { [3,2], [25,2], [25,36], [8,36], [8,16], [3,16] }
  602.     };
  603.     shape "LONG"  { { [37,19] }, { [3,2], [34,16] } };
  604.     shape "LONG1" { { [32,19] }, { [3,2], [29,16] } };
  605.     shape "TALL" { { [18,39] }, { [3,2], [15,36] } };
  606.     shape "MED" { { [28,19] }, { [3,2], [25,16] } };
  607.     shape "MED1" { { [23,19] }, { [3,2], [20,16] } };
  608.     shape "CTRL" { { [43,19] }, { [3,2], [38,16] } };
  609.     shape "SPCE" { { [55,19] },{ [3,2], [53,16]} };
  610.     shape "LEDS" { [ 56,15] };
  611.     shape "LED"  { [  5, 2] };
  612.  
  613.     section.left    = 5;
  614.     row.left    = 1;
  615.     key.shape    = "NORM";
  616.     key.gap        =  1;
  617.  
  618.     text "Logo" {left = 7; top = 10; text="digital\n"; };
  619.  
  620.     section "Function" { top = 40;
  621.         row { top = 1;
  622.         keys {  <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  623.             { <FK06>, 18 }, <FK07>, <FK08>, <FK09>, <FK10>,
  624.             { <FK11>, 18 }, <FK12>, <FK13>, <FK14>,
  625.             { <FK17>, 73 }, <FK18>, <FK19>, <FK20>
  626.         };
  627.         };
  628.     };
  629.  
  630.     section "Editing" { top = 40; left = 313;
  631.         row { top = 1;
  632.         keys { <HELP>, { <DO>, "LONG" } };
  633.         };
  634.         row { top = 31;
  635.         keys { <FIND>, <INS>, <DELE> };
  636.         };
  637.         row { top = 51;
  638.         keys { <SELE>, <PGUP>, <PGDN> };
  639.         };
  640.         row { top = 71;    left= 20;
  641.         keys { <UP> };
  642.         };
  643.         row { top = 91;
  644.         keys { <LEFT>, <DOWN>, <RGHT> };
  645.         };
  646.     };
  647.  
  648.     section "Keypad" { top = 70; left = 377;
  649.         row { top = 1;
  650.         keys { <PF1>, <PF2>, <PF3>, <PF4> };
  651.         };
  652.         row { top = 21;
  653.         keys { <KP7>, <KP8>, <KP9>, <KPSU> };
  654.         };
  655.         row { top = 41;
  656.         keys { <KP4>, <KP5>, <KP6>, <KPCO> };
  657.         };
  658.         row { top = 61;
  659.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "TALL" } };
  660.         };
  661.         row { top = 81;
  662.         keys { { <KP0>, "LONG" }, <KPDL> };
  663.         };
  664.     };
  665.  
  666.     section "Alpha" { top = 70;
  667.         row { top = 1; left = 7;
  668.         keys {  { <AE00>, "MED1" }, 
  669.             <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>, 
  670.             <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>, 
  671.             <AB00>, { <BKSP>, "MED1" }
  672.         };
  673.         };
  674.         row { top = 21; left = 7;
  675.         keys {  { <TAB>, "LONG1" },
  676.             <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>, 
  677.             <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>, 
  678.             { <RTRN>, "RTRN" }
  679.         };
  680.         };
  681.         row { top = 41;
  682.         keys {  { <LCTL>, "CTRL" },
  683.             <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>, 
  684.             <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <BKSL>
  685.         };
  686.         };
  687.         row { top = 61;
  688.         keys {  <CAPS>, { <LFSH>, "LONG1" },
  689.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  690.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  691.             <AB11>, { <RTSH>, "MED" }
  692.         };
  693.         };
  694.         row { top = 81;    left = 7;
  695.         keys {  { <LCMP>, "LONG" },
  696.             { <LALT>, "LONG" },
  697.             { <MUHE>, "LONG" },
  698.             { <SPCE>, "SPCE" },
  699.             { <KANJ>, "LONG" },
  700.             { <HIRA>, "LONG" },
  701.             <RALT>, <RCMP>
  702.         };
  703.         };
  704.     };
  705.  
  706.     section.left = 315;
  707.     section.top  = 20;
  708.  
  709.     section "Indicators" {
  710.         solid "led_panel" { top = 0; left = 0;
  711.         cornerRadius = 1;
  712.         shape = "LEDS";
  713.         color = "grey";
  714.         };
  715.         indicator.onColor = "#00ff00";
  716.         indicator.offColor= "#001000";
  717.         indicator.top = 11;
  718.         indicator.shape= "LED";
  719.         indicator "Scroll Lock" { left = 6;  };
  720.         indicator "Caps Lock"   { left = 26; };
  721.         text.top = 4;
  722.         text.color = "black";
  723.         text "ScrollLockLabel" {left = 3; text="Scroll\nLock"; };
  724.         text "CapsLockLabel" {left = 22; text="Caps\nLock"; };
  725.     };
  726. };
  727.  
  728.