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

pc (10864B)


  1. //
  2. //Copyright (c) 1996 Digital Equipment Corporation
  3. //
  4. //Permission is hereby granted, free of charge, to any person obtaining
  5. //a copy of this software and associated documentation files (the
  6. //"Software"), to deal in the Software without restriction, including
  7. //without limitation the rights to use, copy, modify, merge, publish,
  8. //distribute, sublicense, and sell copies of the Software, and to
  9. //permit persons to whom the Software is furnished to do so, subject to
  10. //the following conditions:
  11. //
  12. //The above copyright notice and this permission notice shall be included
  13. //in all copies or substantial portions of the Software.
  14. //
  15. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  16. //OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  17. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  18. //IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
  19. //DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  20. //OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
  21. //THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  22. //
  23. //Except as contained in this notice, the name of the Digital Equipment
  24. //Corporation shall not be used in advertising or otherwise to promote
  25. //the sale, use or other dealings in this Software without prior written
  26. //authorization from Digital Equipment Corporation.
  27. //
  28. // HISTORY
  29. // Log: pc,v
  30. // Revision 1.2 1996/06/18 09:12:50 erik
  31. // use flags correctly, assorted cleanups and consortium fixes
  32. //
  33. // Revision 1.1.6.2 1995/08/18 21:15:18 William_Walker
  34. // Upgrade XKB to Protocol Rev. 0.64
  35. // [1995/08/18 20:41:49 William_Walker]
  36. //
  37. // Revision 1.1.2.4 1995/08/11 19:35:48 William_Walker
  38. // Sync up with Erik's pool.
  39. // [1995/08/11 18:36:03 William_Walker]
  40. //
  41. // Revision 1.1.2.3 1995/06/27 12:17:29 William_Walker
  42. // Rename <TLDE> to ISO9995 compliant <AE00>.
  43. // [1995/06/26 20:23:10 William_Walker]
  44. //
  45. // Revision 1.1.2.2 1995/06/05 19:21:19 William_Walker
  46. // New file. I love keymaps.
  47. // [1995/06/05 18:05:51 William_Walker]
  48. //
  49. // EndLog
  50. //
  51. // @(#)RCSfile: pc,v Revision: 1.2 (DEC) Date: 1996/02/02 14:40:25
  52. //
  53. partial xkb_geometry "common" {
  54. width = 480;
  55. height = 200;
  56. shape.cornerRadius = 1;
  57. shape "NORM" { primary = { [18,19] }, { [3,2], [15,16] } };
  58. shape "KP0" { primary = { [37,19] }, { [3,2], [34,16] } };
  59. shape "KPAD" { primary = { [18,39] }, { [3,2], [15,36] } };
  60. shape "LEDS" { [78,22] };
  61. shape "LED" { [5,2] };
  62. text.color = "black";
  63. section.left = 17;
  64. row.left = 1;
  65. key.shape = "NORM";
  66. key.gap = 1;
  67. section "Function" { top = 40;
  68. row { top = 1;
  69. keys { <ESC>,
  70. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  71. { <FK05>, 10 }, <FK06>, <FK07>, <FK08>,
  72. { <FK09>, 10 }, <FK10>, <FK11>, <FK12>
  73. };
  74. };
  75. };
  76. section "Editing" { top = 40; left = 308;
  77. row { top = 1;
  78. keys { <PRSC>, <SCLK>, <PAUS> };
  79. };
  80. row { top = 41;
  81. keys { <INS>, <HOME>, <PGUP> };
  82. };
  83. row { top = 61;
  84. keys { <DELE>, <END>, <PGDN> };
  85. };
  86. row { top = 101; left = 20;
  87. keys { <UP> };
  88. };
  89. row { top = 121;
  90. keys { <LEFT>, <DOWN>, <RGHT> };
  91. };
  92. };
  93. section "Keypad" { top = 80; left = 374;
  94. row { top = 1;
  95. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  96. };
  97. row { top = 21;
  98. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD" } };
  99. };
  100. row { top = 41;
  101. keys { <KP4>, <KP5>, <KP6> };
  102. };
  103. row { top = 61;
  104. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD" } };
  105. };
  106. row { top = 81;
  107. keys { { <KP0>, "KP0" }, <KPDL> };
  108. };
  109. };
  110. };
  111. partial xkb_geometry "leds_on_keys" {
  112. section.top = 40;
  113. section.left = 17;
  114. section "LedPanel" {
  115. indicator.onColor = "#00ff00";
  116. indicator.offColor = "#001000";
  117. indicator.shape = "LED";
  118. indicator "Scroll Lock" { left = 317; top = 5; };
  119. indicator "Num Lock" { left = 364; top = 45; };
  120. indicator "Caps Lock" { left = 10; top = 85; };
  121. };
  122. section.left = 375;
  123. section.top = 40;
  124. section "LogoPanel" {
  125. solid "logo_panel" { top = 0; left = 0;
  126. shape = "LEDS";
  127. color = "grey";
  128. };
  129. text "Logo" {left = 28; top = 10; text="digital\n"; };
  130. };
  131. };
  132. partial xkb_geometry "leds_alone" {
  133. section.left = 375;
  134. section.top = 40;
  135. section "Indicators" {
  136. solid "led_panel" { top = 0; left = 0;
  137. shape = "LEDS";
  138. color = "grey";
  139. };
  140. indicator.top = 16;
  141. indicator.onColor = "#00ff00";
  142. indicator.offColor = "#001000";
  143. indicator.shape = "LED";
  144. indicator "Num Lock" { left = 3; };
  145. indicator "Caps Lock" { left = 26; };
  146. indicator "Scroll Lock" { left = 50; };
  147. text "Logo" {left = 2; top = 3; text="digital\n"; };
  148. };
  149. section "IndicatorLabels" {
  150. text.top = 11;
  151. text "NumLockLabel" {left = 10; text="Num\nLock"; };
  152. text "CapsLockLabel" {left = 33; text="Caps\nLock"; };
  153. text "ScrollLockLabel" {left = 58; text="Scroll\nLock"; };
  154. };
  155. };
  156. xkb_geometry "pc101" {
  157. include "digital_vndr/pc(common)"
  158. shape.cornerRadius = 1;
  159. shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  160. shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  161. shape "RTRN" { primary = { [41,19] }, { [3,2], [38,16] } };
  162. shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  163. shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
  164. shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
  165. shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  166. shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  167. shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
  168. section.left = 17;
  169. row.left = 1;
  170. key.shape = "NORM";
  171. key.gap = 1;
  172. section "Alpha" { top = 80;
  173. row { top = 1;
  174. keys { <AE00>,
  175. <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
  176. <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
  177. { <BKSP>, "BKSP" }
  178. };
  179. };
  180. row { top = 21;
  181. keys { { <TAB>, "TABK" },
  182. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
  183. <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
  184. { <BKSL>, "BKSL" }
  185. };
  186. };
  187. row { top = 41;
  188. keys { { <CAPS>, "CAPS" },
  189. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
  190. <AC07>, <AC08>, <AC09>, <AC10>, <AC11>,
  191. { <RTRN>, "RTRN" }
  192. };
  193. };
  194. row { top = 61;
  195. keys { { <LFSH>, "LFSH" },
  196. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
  197. <AB07>, <AB08>, <AB09>, <AB10>,
  198. { <RTSH>, "RTSH" }
  199. };
  200. };
  201. row { top = 81;
  202. key.shape = "MODK";
  203. keys { <LCTL>,
  204. { <LALT>, 20 },
  205. { <SPCE>, "SPCE" },
  206. <RALT>,
  207. { <RCTL>, 21 }
  208. };
  209. };
  210. };
  211. };
  212. xkb_geometry "pc102" {
  213. include "digital_vndr/pc(common)"
  214. shape.cornerRadius = 1;
  215. shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  216. shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  217. shape "RTRN" {
  218. approx = { [0,0],[28,19] },
  219. { [0,0], [27,0], [27,39], [5,39], [5,19], [0,19] },
  220. { [3,2], [24,2], [24,36], [8,36], [8,16], [3,16] }
  221. };
  222. shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  223. shape "LFSH" { primary = { [22,19] }, { [3,2], [19,16] } };
  224. shape "RTSH" { primary = { [51,19] }, { [3,2], [49,16] } };
  225. shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  226. shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  227. shape "SPCE" { primary = { [132,19] },{ [3,2], [129,16]} };
  228. section.left = 17;
  229. row.left = 1;
  230. key.shape = "NORM";
  231. key.gap = 1;
  232. section "Alpha" { top = 80;
  233. row { top = 1;
  234. keys { <AE00>,
  235. <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
  236. <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
  237. { <BKSP>, "BKSP" }
  238. };
  239. };
  240. row { top = 21;
  241. keys { { <TAB>, "TABK" },
  242. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
  243. <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
  244. { <RTRN>, "RTRN" }
  245. };
  246. };
  247. row { top = 41;
  248. keys { { <CAPS>, "CAPS" },
  249. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
  250. <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>
  251. };
  252. };
  253. row { top = 61;
  254. keys { { <LFSH>, "LFSH" },
  255. <BKSL>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  256. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  257. { <RTSH>, "RTSH" }
  258. };
  259. };
  260. row { top = 81;
  261. key.shape = "MODK";
  262. keys { <LCTL>,
  263. { <LALT>, 20 },
  264. { <SPCE>, "SPCE" },
  265. <RALT>,
  266. { <RCTL>, 21 }
  267. };
  268. };
  269. };
  270. };
  271. xkb_geometry "pcxaj" {
  272. include "digital_vndr/pc(common)"
  273. shape.cornerRadius = 1;
  274. shape "BKSP" { primary = { [36,19] }, { [3,2], [33,16] } };
  275. shape "TABK" { primary = { [27,19] }, { [3,2], [24,16] } };
  276. shape "RTRN" { primary = { [22,19] }, { [3,2], [19,16] } };
  277. shape "CAPS" { primary = { [32,19] }, { [3,2], [29,16] } };
  278. shape "LFSH" { primary = { [41,19] }, { [3,2], [38,16] } };
  279. shape "RTSH" { primary = { [32,19] }, { [3,2], [29,16] } };
  280. shape "MODK" { primary = { [27,19] }, { [3,2], [24,16] } };
  281. shape "BKSL" { primary = { [27,19] }, { [3,2], [24,16] } };
  282. shape "SPCE" { primary = { [114,19]}, { [3,2], [111,16]} };
  283. section.left = 17;
  284. row.left = 1;
  285. key.shape = "NORM";
  286. key.gap = 1;
  287. section "Alpha" { top = 80;
  288. row { top = 1;
  289. keys { <AE00>,
  290. <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
  291. <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
  292. { <BKSP>, "BKSP" }
  293. };
  294. };
  295. row { top = 21;
  296. keys { { <TAB>, "TABK" },
  297. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
  298. <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
  299. { <BKSL>, "BKSL" }
  300. };
  301. };
  302. row { top = 41;
  303. keys { { <CAPS>, "CAPS" },
  304. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, <AC06>,
  305. <AC07>, <AC08>, <AC09>, <AC10>, <AC11>, <AC12>,
  306. { <RTRN>, "RTRN" }
  307. };
  308. };
  309. row { top = 61;
  310. keys { { <LFSH>, "LFSH" },
  311. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, <AB06>,
  312. <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
  313. { <RTSH>, "RTSH" }
  314. };
  315. };
  316. row { top = 81;
  317. key.shape = "MODK";
  318. keys { <LCTL>, <LALT>,
  319. { <MUHE>, "NORM" },
  320. { <SPCE>, "SPCE" },
  321. { <KANJ>, "NORM" },
  322. { <HIRA>, "NORM" },
  323. <RALT>, <RCTL>
  324. };
  325. };
  326. };
  327. };