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

sun (5076B)


  1. // Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
  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. xkb_keycodes "type6" {
  28. minimum= 8;
  29. maximum= 132;
  30. <ESC> = 36;
  31. <AE01> = 37;
  32. <AE02> = 38;
  33. <AE03> = 39;
  34. <AE04> = 40;
  35. <AE05> = 41;
  36. <AE06> = 42;
  37. <AE07> = 43;
  38. <AE08> = 44;
  39. <AE09> = 45;
  40. <AE10> = 46;
  41. <AE11> = 47;
  42. <AE12> = 48;
  43. <TLDE> = 49;
  44. <BKSP> = 50;
  45. <TAB> = 60;
  46. <AD01> = 61;
  47. <AD02> = 62;
  48. <AD03> = 63;
  49. <AD04> = 64;
  50. <AD05> = 65;
  51. <AD06> = 66;
  52. <AD07> = 67;
  53. <AD08> = 68;
  54. <AD09> = 69;
  55. <AD10> = 70;
  56. <AD11> = 71;
  57. <AD12> = 72;
  58. <DELE> = 73;
  59. <COMP> = 74;
  60. <ALGR> = 20;
  61. alias <RALT> = <ALGR>;
  62. <LCTL> = 83;
  63. <AC01> = 84;
  64. <AC02> = 85;
  65. <AC03> = 86;
  66. <AC04> = 87;
  67. <AC05> = 88;
  68. <AC06> = 89;
  69. <AC07> = 90;
  70. <AC08> = 91;
  71. <AC09> = 92;
  72. <AC10> = 93;
  73. <AC11> = 94;
  74. <BKSL> = 95;
  75. <RTRN> = 96;
  76. <LFSH> = 106;
  77. <AB01> = 107;
  78. <AB02> = 108;
  79. <AB03> = 109;
  80. <AB04> = 110;
  81. <AB05> = 111;
  82. <AB06> = 112;
  83. <AB07> = 113;
  84. <AB08> = 114;
  85. <AB09> = 115;
  86. <AB10> = 116;
  87. <RTSH> = 117;
  88. <LALT> = 26;
  89. <CAPS> = 126;
  90. <LMTA> = 127;
  91. <SPCE> = 128;
  92. <RMTA> = 129;
  93. <FK01> = 12;
  94. <FK02> = 13;
  95. <FK03> = 15;
  96. <FK04> = 17;
  97. <FK05> = 19;
  98. <FK06> = 21;
  99. <FK07> = 23;
  100. <FK08> = 24;
  101. <FK09> = 25;
  102. <FK10> = 14;
  103. <FK11> = 16;
  104. <FK12> = 18;
  105. <STOP> = 8;
  106. <AGAI> = 10;
  107. <PROP> = 32;
  108. <UNDO> = 33;
  109. <FRNT> = 56;
  110. <COPY> = 58;
  111. <OPEN> = 79;
  112. <PAST> = 80;
  113. <FIND> = 102;
  114. <CUT> = 104;
  115. <PRSC> = 29;
  116. <SCLK> = 30;
  117. <PAUS> = 28;
  118. <NMLK> = 105;
  119. <KPDV> = 53;
  120. <KPMU> = 54;
  121. <KPSU> = 78;
  122. <KP7> = 75;
  123. <KP8> = 76;
  124. <KP9> = 77;
  125. <KPAD> = 132;
  126. <KP4> = 98;
  127. <KP5> = 99;
  128. <KP6> = 100;
  129. <KP1> = 119;
  130. <KP2> = 120;
  131. <KP3> = 121;
  132. <KPEN> = 97;
  133. <KP0> = 101;
  134. <KPDL> = 57;
  135. <UP> = 27;
  136. <LEFT> = 31;
  137. <DOWN> = 34;
  138. <RGHT> = 35;
  139. <INS> = 51;
  140. <HOME> = 59;
  141. <END> = 81;
  142. <PGUP> = 103;
  143. <PGDN> = 130;
  144. <HELP> = 125;
  145. <MUTE> = 52;
  146. <VOL-> = 9;
  147. <VOL+> = 11;
  148. <POWR> = 55;
  149. indicator 4 = "Caps Lock";
  150. indicator 3 = "Compose";
  151. indicator 2 = "Scroll Lock";
  152. indicator 1 = "Num Lock";
  153. };
  154. xkb_keycodes "type6tuv" {
  155. include "sun(type6)"
  156. <LSGT> = 131;
  157. };
  158. xkb_keycodes "type6_jp" {
  159. include "sun(type6)"
  160. <EXEC> = 122;
  161. <KANJ> = 123;
  162. <HENK> = 124;
  163. <UNDR> = 118;
  164. };
  165. xkb_keycodes "type6_euro" {
  166. include "sun(type6)"
  167. <LSGT> = 131;
  168. };
  169. xkb_keycodes "type6unix" {
  170. include "sun(type6)"
  171. };
  172. // Even though this is labeled as _usb, I verified these keycodes as accurate
  173. // on my type5 serial and type6 serial keyboards as well on linux-2.6 boxes.
  174. // I'm not sure where the "type6" keycodes above are coming from...
  175. default xkb_keycodes "type6_usb" {
  176. include "xfree86"
  177. // <STOP> = 232;
  178. // <AGAI> = 133;
  179. // <PROP> = 134;
  180. // <UNDO> = 135;
  181. // <FRNT> = 140;
  182. // <COPY> = 248;
  183. // <OPEN> = 191;
  184. // <PAST> = 192;
  185. // <FIND> = 122;
  186. // <CUT> = 188;
  187. // <HELP> = 245;
  188. // The blank has keycode 239 on my type6 serial kb, but 134 on
  189. // my type6 usb keyboard (same as <PROP>)
  190. // <BLNK> = 239;
  191. // AltGr + PrScr actually sends a different keycode
  192. // <SYRQ> = 92;
  193. // <MUTE> = 160;
  194. // <VOL-> = 174;
  195. // <VOL+> = 176;
  196. // <POWR> = 222;
  197. <I150> = 155;
  198. <I160> = 160;
  199. <I235> = 235;
  200. indicator 4 = "Compose";
  201. };
  202. xkb_keycodes "type6tuv_usb" {
  203. include "sun(type6_usb)"
  204. // <LSGT> = 94;
  205. // <BKSL> = 51;
  206. };
  207. xkb_keycodes "type6_jp_usb" {
  208. include "sun(type6_usb)"
  209. alias <UNDR> = <KPDC>; // 123
  210. alias <EXEC> = <NFER>; // 131
  211. alias <KANJ> = <XFER>; // 129
  212. alias <HENK> = <HKTG>; // 208
  213. indicator 5 = "Kana";
  214. };