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 (6102B)


  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
  30. // Revision 1.2 1996/06/18 09:13:25 erik
  31. // use flags correctly, assorted cleanups and consortium fixes
  32. //
  33. // Revision 1.1.6.3 1995/10/25 21:00:14 William_Walker
  34. // Add pc104-key support
  35. // [1995/10/23 15:46:21 William_Walker]
  36. //
  37. // Revision 1.1.6.2 1995/08/07 17:40:37 William_Walker
  38. // Upgrade XKB to protocol 0.62 (dual submit from decx11)
  39. // [1995/08/06 14:06:28 William_Walker]
  40. //
  41. // Revision 1.1.2.4 1995/08/05 15:25:56 William_Walker
  42. // Upgrade to XKB protocol 0.62
  43. // [1995/08/05 14:40:02 William_Walker]
  44. //
  45. // Revision 1.1.2.3 1995/06/27 12:17:32 William_Walker
  46. // Rename <TLDE> to ISO9995 compliant <AE00>.
  47. // [1995/06/26 20:24:07 William_Walker]
  48. //
  49. // Revision 1.1.2.2 1995/06/05 19:21:31 William_Walker
  50. // New file. I love keymaps.
  51. // [1995/06/05 18:07:34 William_Walker]
  52. //
  53. // EndLog
  54. //
  55. // @(#)RCSfile: pc Revision: /main/3 (DEC) Date: 1996/01/24 12:13:36
  56. //
  57. xkb_keycodes "pc_common" {
  58. // "Function" keys
  59. <FK01> = 9;
  60. <FK02> = 15;
  61. <FK03> = 23;
  62. <FK04> = 31;
  63. <FK05> = 39;
  64. <FK06> = 47;
  65. <FK07> = 55;
  66. <FK08> = 63;
  67. <FK09> = 71;
  68. <FK10> = 79;
  69. <FK11> = 86;
  70. <FK12> = 94;
  71. // "Editing" keys
  72. <UP> = 99;
  73. <LEFT> = 97;
  74. <DOWN> = 96;
  75. <RGHT> = 106;
  76. // "Keypad" keys
  77. <KP7> = 108;
  78. <KP8> = 117;
  79. <KP9> = 125;
  80. <KP4> = 107;
  81. <KP5> = 115;
  82. <KP6> = 116;
  83. <KP1> = 105;
  84. <KP2> = 114;
  85. <KP3> = 122;
  86. <KPEN> = 121;
  87. <KP0> = 112;
  88. <KPDL> = 113;
  89. // "Alphanumeric" keys
  90. <AE01> = 22;
  91. <AE02> = 30;
  92. <AE03> = 38;
  93. <AE04> = 37;
  94. <AE05> = 46;
  95. <AE06> = 54;
  96. <AE07> = 61;
  97. <AE08> = 62;
  98. <AE09> = 70;
  99. <AE10> = 69;
  100. <AE11> = 78;
  101. <AE12> = 85;
  102. <BKSP> = 102;
  103. <TAB> = 13;
  104. <AD01> = 21;
  105. <AD02> = 29;
  106. <AD03> = 36;
  107. <AD04> = 45;
  108. <AD05> = 44;
  109. <AD06> = 53;
  110. <AD07> = 60;
  111. <AD08> = 67;
  112. <AD09> = 68;
  113. <AD10> = 77;
  114. <AD11> = 84;
  115. <AD12> = 91;
  116. <CAPS> = 20;
  117. <AC01> = 28;
  118. <AC02> = 27;
  119. <AC03> = 35;
  120. <AC04> = 43;
  121. <AC05> = 52;
  122. <AC06> = 51;
  123. <AC07> = 59;
  124. <AC08> = 66;
  125. <AC09> = 75;
  126. <AC10> = 76;
  127. <AC11> = 82;
  128. <RTRN> = 90;
  129. <LFSH> = 18;
  130. <AB01> = 26;
  131. <AB02> = 34;
  132. <AB03> = 33;
  133. <AB04> = 42;
  134. <AB05> = 50;
  135. <AB06> = 49;
  136. <AB07> = 58;
  137. <AB08> = 65;
  138. <AB09> = 73;
  139. <AB10> = 74;
  140. <RTSH> = 89;
  141. <LCTL> = 17;
  142. <LALT> = 25;
  143. <SPCE> = 41;
  144. <RALT> = 57;
  145. <LDM> = 255; // Support R5 Lock Down Modifiers
  146. };
  147. xkb_keycodes "pc10x" {
  148. include "digital_vndr/pc(pc_common)"
  149. <ESC> = 8;
  150. <AE00> = 14;
  151. <PRSC> = 87;
  152. <SCLK> = 95;
  153. <PAUS> = 98;
  154. <INS> = 103;
  155. <HOME> = 110;
  156. <PGUP> = 111;
  157. <DELE> = 100;
  158. <END> = 101;
  159. <PGDN> = 109;
  160. <NMLK> = 118;
  161. <KPDV> = 119;
  162. <KPMU> = 126;
  163. <KPSU> = 132;
  164. <KPAD> = 124;
  165. <RCTL> = 88;
  166. alias <TLDE> = <AE00>;
  167. indicator 3 = "Caps Lock";
  168. indicator 4 = "Scroll Lock";
  169. };
  170. xkb_keycodes "pc101" {
  171. include "digital_vndr/pc(pc10x)"
  172. <BKSL> = 92;
  173. indicator 5 = "Num Lock";
  174. };
  175. xkb_keycodes "pc102" {
  176. include "digital_vndr/pc(pc10x)"
  177. <BKSL> = 19;
  178. <AC12> = 83;
  179. indicator 5 = "Num Lock";
  180. };
  181. xkb_keycodes "pc104" {
  182. include "digital_vndr/pc(pc101)"
  183. <LWIN> = 139;
  184. <RWIN> = 140;
  185. <MENU> = 141;
  186. };
  187. xkb_keycodes "lk411_common" {
  188. include "digital_vndr/pc(pc_common)"
  189. <AE00> = 8;
  190. <AB00> = 14;
  191. <FK13> = 24;
  192. <FK14> = 10;
  193. <FK17> = 16;
  194. <FK18> = 87;
  195. <FK19> = 95;
  196. <FK20> = 98;
  197. <HELP> = 11;
  198. <DO> = 12;
  199. <FIND> = 110;
  200. <INS> = 103;
  201. <DELE> = 100;
  202. <SELE> = 101;
  203. <PGUP> = 111;
  204. <PGDN> = 109;
  205. <KPF1> = 118;
  206. <KPF2> = 119;
  207. <KPF3> = 126;
  208. <KPF4> = 132;
  209. <KPSU> = 19;
  210. <KPCO> = 124;
  211. <LCMP> = 40;
  212. <RCMP> = 88;
  213. alias <TLDE> = <AE00>;
  214. indicator 3 = "Caps Lock";
  215. indicator 4 = "Scroll Lock";
  216. };
  217. xkb_keycodes "lk411" {
  218. include "digital_vndr/pc(lk411_common)"
  219. <BKSL> = 92;
  220. };
  221. xkb_keycodes "lk450" {
  222. include "digital_vndr/pc(lk411)"
  223. indicator 2 = "Compose";
  224. indicator 1 = "Wait";
  225. };
  226. // Japanese variants
  227. //
  228. // PCXAJ-AA = pc+BKSL+AC12+AB11+MUHE+KANJ+HIRA+indicator
  229. // LK411-AJ = lk411+MUHE+KANJ+HIRA
  230. // LK411-JJ = lk411+BKSL+AZ01+MUHE+KANJ+HIRA
  231. // LK411-LT = lk411
  232. xkb_keycodes "pcxajaa" {
  233. include "digital_vndr/pc(pc10x)"
  234. <BKSL> = 93;
  235. <AC12> = 83;
  236. <AB11> = 81;
  237. <MUHE> = 133;
  238. <KANJ> = 134;
  239. <HIRA> = 135;
  240. indicator 5 = "Group 2";
  241. };
  242. xkb_keycodes "lk411jj" {
  243. include "digital_vndr/pc(lk411_common)"
  244. <AB11> = 81;
  245. <BKSL> = 83;
  246. <MUHE> = 133;
  247. <KANJ> = 134;
  248. <HIRA> = 135;
  249. };