home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / X11 / xkb / geometry / dell < prev    next >
Encoding:
Text File  |  2006-11-29  |  5.0 KB  |  184 lines

  1. // $Xorg: dell,v 1.4 2001/02/09 02:05:49 xorgcvs Exp $
  2. //
  3. //Copyright 1996, 1998  The Open Group
  4. //
  5. //Permission to use, copy, modify, distribute, and sell this software and its
  6. //documentation for any purpose is hereby granted without fee, provided that
  7. //the above copyright notice appear in all copies and that both that
  8. //copyright notice and this permission notice appear in supporting
  9. //documentation.
  10. //
  11. //The above copyright notice and this permission notice shall be
  12. //included in all copies or substantial portions of the Software.
  13. //
  14. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  17. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  18. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  19. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  20. //OTHER DEALINGS IN THE SOFTWARE.
  21. //
  22. //Except as contained in this notice, the name of The Open Group shall
  23. //not be used in advertising or otherwise to promote the sale, use or
  24. //other dealings in this Software without prior written authorization
  25. //from The Open Group.
  26. //
  27. default xkb_geometry "dell101" {
  28.  
  29.     description= "Dell 101";
  30.     width= 470;
  31.     height= 210;
  32.  
  33.     shape.cornerRadius= 1;
  34.     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  35.     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  36.     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  37.     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  38.     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
  39.     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
  40.     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  41.     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  42.     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  43.     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
  44.     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
  45.     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  46.  
  47.     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  48.     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
  49.     solid "LedPanel" {
  50.     shape= "LEDS";
  51.     top=  52;
  52.     left= 377;
  53.     color= "grey10";
  54.     };
  55.  
  56.     indicator.onColor= "green";
  57.     indicator.offColor= "green30";
  58.     indicator.top= 67;
  59.     indicator.shape= "LED";
  60.     indicator "Num Lock"     { left= 382; };
  61.     indicator "Caps Lock"    { left= 407; };
  62.     indicator "Scroll Lock"  { left= 433; };
  63.     text.top= 55;
  64.     text.color= "black";
  65.     text "NumLockLabel"        { left= 378; text="Num\nLock"; };
  66.     text "CapsLockLabel"    { left= 403; text="Caps\nLock"; };
  67.     text "ScrollLockLabel"    { left= 428; text="Scroll\nLock"; };
  68.  
  69.     section.left= 19;
  70.     row.left= 1;
  71.     key.shape= "NORM";
  72.     key.gap=  1;
  73.     section "Function" {
  74.     top= 52;
  75.     row {
  76.         top= 1;
  77.         keys {  { <ESC>, color="grey20" },
  78.             { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  79.             { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  80.             { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  81.             { <PRSC>, 8 }, <SCLK>, <PAUS> 
  82.         };
  83.     };
  84.     }; // End of "Function" section
  85.  
  86.     section "Alpha" {
  87.     top= 91;
  88.     row {
  89.         top= 1;
  90.         keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  91.            <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  92.            <AE10>, <AE11>, <AE12>,
  93.            { <BKSP>, "BKSP", color="grey20" }
  94.         };
  95.     };
  96.     row {
  97.         top= 20;
  98.         keys { { <TAB>, "TABK", color="grey20" },
  99.            <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
  100.            <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
  101.            <AD11>, <AD12>, { <BKSL>, "BKSL" }
  102.         };
  103.     };
  104.     row {
  105.         top= 39;
  106.         keys { { <CAPS>, "CAPS", color="grey20" },
  107.            <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
  108.            <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
  109.            <AC11>, { <RTRN>, "RTRN", color="grey20" }
  110.         };
  111.     };
  112.     row {
  113.         top= 58;
  114.         keys { { <LFSH>, "LFSH", color="grey20" },
  115.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  116.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
  117.             { <RTSH>, "RTSH", color="grey20" }
  118.         };
  119.     };
  120.     row {
  121.         top= 77;
  122.         key.shape= "MODK";
  123.         key.color= "grey20";
  124.         keys { <LCTL>, { <LALT>, 21 },
  125.            { <SPCE>, "SPCE", color="white" },
  126.            <RALT>, { <RCTL>, 21 }
  127.         };
  128.     };
  129.     }; // End of "Alpha" section
  130.  
  131.     section "Editing" {
  132.     top= 91;
  133.     left= 312;
  134.     key.color= "grey20";
  135.     row {
  136.         top= 1;
  137.         keys { <INS>, <HOME>, <PGUP> };
  138.     };
  139.         row {
  140.         top= 20;
  141.         keys { <DELE>, <END>, <PGDN> };
  142.     };
  143.     row {
  144.         top= 58;
  145.         left= 20;
  146.         keys { <UP> };
  147.     };
  148.     row {
  149.         top= 77;
  150.         keys { <LEFT>, <DOWN>, <RGHT> };
  151.     };
  152.     }; // End of "Editing" section
  153.  
  154.     section "Keypad" {
  155.     top= 91;
  156.     left= 376;
  157.     row {
  158.         top= 1;
  159.         key.color= "grey20";
  160.         keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  161.     };
  162.     row {
  163.         top= 20;
  164.         keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  165.     };
  166.     row {
  167.         top= 39;
  168.         keys { <KP4>, <KP5>, <KP6> };
  169.     };
  170.     row {
  171.         top= 58;
  172.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  173.     };
  174.     row {
  175.         top= 77;
  176.         keys { { <KP0>, "KP0" }, <KPDL> };
  177.     };
  178.     }; // End of "Keypad" section
  179.  
  180.     alias <AC00> = <CAPS>;
  181.     alias <AA00> = <LCTL>;
  182.  
  183. }; // End of "default" geometry
  184.