dell 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. // $XFree86$
  28. //
  29. default xkb_geometry "dell101" {
  30. description= "Dell 101";
  31. width= 470;
  32. height= 210;
  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. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  47. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  48. solid "LedPanel" {
  49. shape= "LEDS";
  50. top= 52;
  51. left= 377;
  52. color= "grey10";
  53. };
  54. indicator.onColor= "green";
  55. indicator.offColor= "green30";
  56. indicator.top= 67;
  57. indicator.shape= "LED";
  58. indicator "Num Lock" { left= 382; };
  59. indicator "Caps Lock" { left= 407; };
  60. indicator "Scroll Lock" { left= 433; };
  61. text.top= 55;
  62. text.color= "black";
  63. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  64. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  65. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  66. section.left= 19;
  67. row.left= 1;
  68. key.shape= "NORM";
  69. key.gap= 1;
  70. section "Function" {
  71. top= 52;
  72. row {
  73. top= 1;
  74. keys { { <ESC>, color="grey20" },
  75. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  76. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  77. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  78. { <PRSC>, 8 }, <SCLK>, <PAUS>
  79. };
  80. };
  81. }; // End of "Function" section
  82. section "Alpha" {
  83. top= 91;
  84. row {
  85. top= 1;
  86. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  87. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  88. <AE10>, <AE11>, <AE12>,
  89. { <BKSP>, "BKSP", color="grey20" }
  90. };
  91. };
  92. row {
  93. top= 20;
  94. keys { { <TAB>, "TABK", color="grey20" },
  95. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  96. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  97. <AD11>, <AD12>, { <BKSL>, "BKSL" }
  98. };
  99. };
  100. row {
  101. top= 39;
  102. keys { { <CAPS>, "CAPS", color="grey20" },
  103. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  104. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  105. <AC11>, { <RTRN>, "RTRN", color="grey20" }
  106. };
  107. };
  108. row {
  109. top= 58;
  110. keys { { <LFSH>, "LFSH", color="grey20" },
  111. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  112. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  113. { <RTSH>, "RTSH", color="grey20" }
  114. };
  115. };
  116. row {
  117. top= 77;
  118. key.shape= "MODK";
  119. key.color= "grey20";
  120. keys { <LCTL>, { <LALT>, 21 },
  121. { <SPCE>, "SPCE", color="white" },
  122. <RALT>, { <RCTL>, 21 }
  123. };
  124. };
  125. }; // End of "Alpha" section
  126. section "Editing" {
  127. top= 91;
  128. left= 312;
  129. key.color= "grey20";
  130. row {
  131. top= 1;
  132. keys { <INS>, <HOME>, <PGUP> };
  133. };
  134. row {
  135. top= 20;
  136. keys { <DELE>, <END>, <PGDN> };
  137. };
  138. row {
  139. top= 58;
  140. left= 20;
  141. keys { <UP> };
  142. };
  143. row {
  144. top= 77;
  145. keys { <LEFT>, <DOWN>, <RGHT> };
  146. };
  147. }; // End of "Editing" section
  148. section "Keypad" {
  149. top= 91;
  150. left= 376;
  151. row {
  152. top= 1;
  153. key.color= "grey20";
  154. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  155. };
  156. row {
  157. top= 20;
  158. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  159. };
  160. row {
  161. top= 39;
  162. keys { <KP4>, <KP5>, <KP6> };
  163. };
  164. row {
  165. top= 58;
  166. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  167. };
  168. row {
  169. top= 77;
  170. keys { { <KP0>, "KP0" }, <KPDL> };
  171. };
  172. }; // End of "Keypad" section
  173. alias <AC00> = <CAPS>;
  174. alias <AA00> = <LCTL>;
  175. }; // End of "default" geometry