logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

keytronic (6500B)


  1. //
  2. //Copyright 1996, 1998 The Open Group
  3. //
  4. //Permission to use, copy, modify, distribute, and sell this software and its
  5. //documentation for any purpose is hereby granted without fee, provided that
  6. //the above copyright notice appear in all copies and that both that
  7. //copyright notice and this permission notice appear in supporting
  8. //documentation.
  9. //
  10. //The above copyright notice and this permission notice shall be
  11. //included in all copies or substantial portions of the Software.
  12. //
  13. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  14. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  15. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  16. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. //OTHER DEALINGS IN THE SOFTWARE.
  20. //
  21. //Except as contained in this notice, the name of The Open Group shall
  22. //not be used in advertising or otherwise to promote the sale, use or
  23. //other dealings in this Software without prior written authorization
  24. //from The Open Group.
  25. //
  26. default xkb_geometry "FlexPro" {
  27. // This is an approximate layout for a Key Tronic FlexPro
  28. // keyboard. I just took a similar layout (101 key PC keyboard)
  29. // and adjusted the sizes of a few keys by eye. I didn't actually
  30. // *measure* a real keyboard.
  31. description= "Key Tronic FlexPro keyboard";
  32. width= 515;
  33. height= 200;
  34. shape "EDGE" { cornerRadius= 2, { [ 515, 200 ] } };
  35. shape.cornerRadius= 1;
  36. shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } };
  37. shape "BKSP" { { [ 32,18] }, { [2,1], [30,17] } };
  38. shape "TABK" { { [ 32,18] }, { [2,1], [30,17] } };
  39. shape "BKSL" { { [ 23,18] }, { [2,1], [21,17] } };
  40. shape "RTRN" {
  41. approx = { [16, 0], [38,37] },
  42. { [16, 0], [38, 0], [38,37],
  43. [ 0,37], [ 0,19], [16,19] },
  44. { [18, 1], [36, 1], [36,36],
  45. [ 2,36], [ 2,20], [18,20] } };
  46. shape "CAPS" { { [36,18] }, { [2,1], [34,17] } };
  47. shape "SHFT" { { [46,18] }, { [2,1], [44,17] } };
  48. shape "LCTL" { { [32,18] }, { [2,1], [30,17] } };
  49. shape "RCTL" { { [38,18] }, { [2,1], [36,17] } };
  50. shape "LALT" { { [28,18] }, { [2,1], [26,17] } };
  51. shape "RALT" { { [33,18] }, { [2,1], [31,17] } };
  52. shape "LSPC" { { [66,22] }, { [0,0], [66,22] } };
  53. shape "RSPC" { { [76,22] }, { [0,0], [76,22] } };
  54. shape "KP0" { { [37,18] }, { [2,1], [35,17] } };
  55. shape "KPEN" { { [18,37] }, { [2,1], [16,36] } };
  56. shape "LOGO" { cornerRadius= 3, { [80,35] } };
  57. outline "Edges" {
  58. top= 0;
  59. left= 0;
  60. shape= "EDGE";
  61. };
  62. section.left= 9;
  63. row.left= 1;
  64. key.shape= "NORM";
  65. key.gap= 1;
  66. section "Function" {
  67. top= 56;
  68. row {
  69. top = 1;
  70. key.color= "grey20";
  71. keys { <FK01>, <FK02> };
  72. };
  73. row {
  74. top = 20;
  75. key.color= "grey20";
  76. keys { <FK03>, <FK04> };
  77. };
  78. row {
  79. top = 39;
  80. keys { <FK05>, <FK06> };
  81. };
  82. row {
  83. top = 58;
  84. key.color= "grey20";
  85. keys { <FK07>, <FK08> };
  86. };
  87. row {
  88. top = 77;
  89. key.color= "grey20";
  90. keys { <FK09>, <FK10> };
  91. };
  92. row {
  93. top = 96;
  94. keys { <FK11>, <FK12> };
  95. };
  96. }; // End of "Function" section
  97. section "Alpha" {
  98. top= 56;
  99. left= 53;
  100. row {
  101. top= 1;
  102. keys {
  103. { <ESC>, color="grey20" }, { <BKSL>, "BKSL", color="grey20" },
  104. <AE01>, <AE02>, <AE03>, <AE04>,
  105. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  106. <AE10>, <AE11>, <AE12>,
  107. { <BKSP>, "BKSP", color="grey20" }
  108. };
  109. };
  110. row {
  111. top= 20;
  112. keys {
  113. { <TLDE>, color="grey20" }, { <TAB>, "TABK", color="grey20" },
  114. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  115. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  116. <AD11>, <AD12>,
  117. { <RTRN>, "RTRN", -14, color="grey20" }
  118. };
  119. };
  120. row {
  121. top= 39;
  122. keys {
  123. { <LCTL>, color="grey20" }, { <CAPS>, "CAPS", color="grey20" },
  124. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  125. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, <AC11>
  126. };
  127. };
  128. row {
  129. top= 58;
  130. keys {
  131. { <LFSH>, color="grey20" },
  132. { <LFSH>, "SHFT", color="grey20" },
  133. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  134. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  135. { <RTSH>, "SHFT", color="grey20" }
  136. };
  137. };
  138. row {
  139. top= 77;
  140. key.color= "grey20";
  141. keys {
  142. <LALT>,
  143. { <LCTL>, shape="LCTL" },
  144. { <LALT>, shape="LALT" },
  145. { <SPCE>, shape="LSPC", 4, color="white" },
  146. { <SPCE>, shape="RSPC",color="white" },
  147. { <RALT>, shape="RALT", 4 },
  148. { <RCTL>, shape="RCTL" }
  149. };
  150. };
  151. }; // End of "Alpha" section
  152. section "Editing" {
  153. top= 12;
  154. left= 365;
  155. key.color= "grey20";
  156. row {
  157. top= 1;
  158. keys { <PRSC>, <SCLK>, <PAUS> };
  159. };
  160. row {
  161. top= 45;
  162. keys { <INS>, <HOME>, <PGUP> };
  163. };
  164. row {
  165. top= 64;
  166. keys { <DELE>, <END>, <PGDN> };
  167. };
  168. row {
  169. top= 102;
  170. left= 20;
  171. keys { <UP> };
  172. };
  173. row {
  174. top= 121;
  175. keys { <LEFT>, <DOWN>, <RGHT> };
  176. };
  177. }; // End of "Editing" section
  178. shape "LEDS" { cornerRadius= 3, { [ 76, 20 ] } };
  179. shape "LED" { cornerRadius= 0, { [ 7, 4 ] } };
  180. solid "LedPanel" {
  181. shape= "LEDS";
  182. top= 11;
  183. left= 430;
  184. color= "grey10";
  185. };
  186. indicator.onColor= "green";
  187. indicator.offColor= "green30";
  188. indicator.top= 13;
  189. indicator.shape= "LED";
  190. indicator "Num Lock" { left= 440; };
  191. indicator "Caps Lock" { left= 467; };
  192. indicator "Scroll Lock" { left= 489; };
  193. text.top= 22;
  194. text.color= "black";
  195. text "NumLockLabel" { left= 438; text="Num\nLock"; };
  196. text "CapsLockLabel" { left= 465; text="Caps\nLock"; };
  197. text "ScrollLockLabel" { left= 487; text="Scroll\nLock"; };
  198. logo "FlexProLogoImage" {
  199. top= 12;
  200. left= 45;
  201. name= "KeyTronic";
  202. shape= "LOGO";
  203. };
  204. text "KeyTronicLogoText" {
  205. top= 15;
  206. left= 50;
  207. width= 55;
  208. text= "FlexPro";
  209. font= "times";
  210. slant= "o";
  211. weight= "bold";
  212. fontWidth= "narrow";
  213. fontSize= 36;
  214. };
  215. section "Keypad" {
  216. top= 56;
  217. left= 430;
  218. row {
  219. top= 1;
  220. key.color= "grey20";
  221. keys { <NMLK>, <KPDV>, <KPMU>, <LEFT> };
  222. };
  223. row {
  224. top= 20;
  225. keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color= "grey20" } };
  226. };
  227. row {
  228. top= 39;
  229. keys { <KP4>, <KP5>, <KP6>, { <KPAD>, color= "grey20" } };
  230. };
  231. row {
  232. top= 58;
  233. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color= "grey20" } };
  234. };
  235. row {
  236. top= 77;
  237. keys { { <KP0>, "KP0" }, <KPDL> };
  238. };
  239. }; // End of "Keypad" section
  240. };