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

macintosh (4123B)


  1. //
  2. //Copyright (c) 1996 X Consortium
  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/or 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
  13. //included in all copies or substantial portions of the Software.
  14. //
  15. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  16. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  17. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  18. //IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
  19. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  20. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  21. //OTHER DEALINGS IN THE SOFTWARE.
  22. //
  23. //Except as contained in this notice, the name of the X Consortium shall
  24. //not be used in advertising or otherwise to promote the sale, use or
  25. //other dealings in this Software without prior written authorization
  26. //from the X Consortium.
  27. //
  28. //
  29. default xkb_keycodes "macintosh" {
  30. include "xfree86"
  31. <FK13> = 182;
  32. <FK14> = 183;
  33. <FK15> = 184;
  34. <KPEQ> = 157;
  35. };
  36. xkb_keycodes "old" {
  37. minimum= 8;
  38. maximum= 255;
  39. <ESC> = 61;
  40. <TLDE> = 58;
  41. <AE01> = 26;
  42. <AE02> = 27;
  43. <AE03> = 28;
  44. <AE04> = 29;
  45. <AE05> = 31;
  46. <AE06> = 30;
  47. <AE07> = 34;
  48. <AE08> = 36;
  49. <AE09> = 33;
  50. <AE10> = 37;
  51. <AE11> = 35;
  52. <AE12> = 32;
  53. <BKSP> = 59;
  54. <TAB> = 56;
  55. <AD01> = 20;
  56. <AD02> = 21;
  57. <AD03> = 22;
  58. <AD04> = 23;
  59. <AD05> = 25;
  60. <AD06> = 24;
  61. <AD07> = 40;
  62. <AD08> = 42;
  63. <AD09> = 39;
  64. <AD10> = 43;
  65. <AD11> = 41;
  66. <AD12> = 38;
  67. <BKSL> = 50;
  68. <CAPS> = 65;
  69. <AC01> = 8;
  70. <AC02> = 9;
  71. <AC03> = 10;
  72. <AC04> = 11;
  73. <AC05> = 13;
  74. <AC06> = 12;
  75. <AC07> = 46;
  76. <AC08> = 48;
  77. <AC09> = 45;
  78. <AC10> = 49;
  79. <AC11> = 47;
  80. <RTRN> = 44;
  81. <LSGT> = 18;
  82. <AB01> = 14;
  83. <AB02> = 15;
  84. <AB03> = 16;
  85. <AB04> = 17;
  86. <AB05> = 19;
  87. <AB06> = 53;
  88. <AB07> = 54;
  89. <AB08> = 51;
  90. <AB09> = 55;
  91. <AB10> = 52;
  92. <SPCE> = 57;
  93. <LCTL> = 62; // Left Control
  94. <LALT> = 63; // Left Option
  95. <LFSH> = 64; // Left Shift
  96. <RALT> = 66; // Left Command
  97. // <RTSH> = 131; // Right Shift
  98. // <RALT> = 132; // Right Command
  99. // <RCTL> = 133; // Right Control
  100. // <RMTA> = 134; // Right Option
  101. <FK01> = 130;
  102. <FK02> = 128;
  103. <FK03> = 107;
  104. <FK04> = 126;
  105. <FK05> = 104;
  106. <FK06> = 105;
  107. <FK07> = 106;
  108. <FK08> = 108;
  109. <FK09> = 109;
  110. <FK10> = 117;
  111. <FK11> = 111;
  112. <FK12> = 119;
  113. <PRSC> = 113;
  114. <SCLK> = 115;
  115. <PAUS> = 121;
  116. <INS> = 122;
  117. <HOME> = 123;
  118. <PGUP> = 124;
  119. <DELE> = 125;
  120. <END> = 127;
  121. <PGDN> = 129;
  122. <UP> = 70;
  123. <LEFT> = 67;
  124. <DOWN> = 69;
  125. <RGHT> = 68;
  126. <NMLK> = 79;
  127. <KPEQ> = 89;
  128. <KPDV> = 83;
  129. <KPMU> = 75;
  130. <KP7> = 97;
  131. <KP8> = 99;
  132. <KP9> = 100;
  133. <KPSU> = 86;
  134. <KP4> = 94;
  135. <KP5> = 95;
  136. <KP6> = 96;
  137. <KPAD> = 77;
  138. <KP1> = 91;
  139. <KP2> = 92;
  140. <KP3> = 93;
  141. <KPEN> = 84;
  142. <KP0> = 90;
  143. <KPDL> = 73;
  144. indicator 3 = "Scroll Lock";
  145. indicator 2 = "Num Lock";
  146. indicator 1 = "Caps Lock";
  147. alias <ALGR> = <RALT>;
  148. };
  149. xkb_keycodes "hhk" {
  150. include "macintosh"
  151. <AC12> = 51;
  152. <LWIN> = 49;
  153. <HJCV> = 131;
  154. <HNGL> = 129;
  155. <RWIN> = 208;
  156. <FK13> = 111;
  157. <FK14> = 78;
  158. <FK15> = 110;
  159. };
  160. // Aluminium Keyboards
  161. xkb_keycodes "alukbd" {
  162. include "xfree86"
  163. // Fkeys missing in xfree86 keycodes
  164. <FK18> = 129;
  165. <FK19> = 130;
  166. // Eject key that matches the geometry definition
  167. alias <I169> = <K6C>;
  168. // Japanese keypad separator (KPSP in base, JPCM in evdev)
  169. alias <JPCM> = <KPDC>;
  170. };