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


  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:10:12 erik
  31. // use flags correctly, assorted cleanups and consortium fixes
  32. //
  33. // Revision 1.1.6.4 1995/12/19 19:55:58 William_Walker
  34. // Update to XKB 0.65
  35. // [1995/12/17 02:37:07 William_Walker]
  36. //
  37. // Revision 1.1.6.3 1995/10/25 21:01:09 William_Walker
  38. // Make sure we use DIN 2137 and VT510 Spec for Group Semantics
  39. // [1995/10/23 15:49:03 William_Walker]
  40. //
  41. // Revision 1.1.6.2 1995/08/07 17:40:40 William_Walker
  42. // Upgrade XKB to protocol 0.62 (dual submit from decx11)
  43. // [1995/08/06 14:06:32 William_Walker]
  44. //
  45. // Revision 1.1.2.7 1995/08/05 15:25:57 William_Walker
  46. // Sync up with Erik's pool.
  47. // [1995/08/03 20:17:15 William_Walker]
  48. //
  49. // Revision 1.1.2.6 1995/06/27 12:18:25 William_Walker
  50. // Add LK201 and LK450 support as well as TW and DP variants.
  51. // [1995/06/26 20:29:52 William_Walker]
  52. //
  53. // Revision 1.1.2.5 1995/06/08 17:10:28 William_Walker
  54. // Make RALT default to Mode_switch
  55. // [1995/06/08 17:08:50 William_Walker]
  56. //
  57. // Revision 1.1.2.4 1995/06/05 19:24:14 William_Walker
  58. // New file. I love keymaps.
  59. // [1995/06/05 18:17:03 William_Walker]
  60. //
  61. // EndLog
  62. //
  63. // @(#)RCSfile: pc Revision: /main/4 (DEC) Date: 1996/01/24 12:15:02
  64. //
  65. // **************************************************************
  66. // * *
  67. // * The symbols common to all Extended PC layouts. *
  68. // * *
  69. // **************************************************************
  70. xkb_symbols "pc" {
  71. // Modifier mappings
  72. //
  73. modifier_map Shift { Shift_L, Shift_R };
  74. modifier_map Lock { Caps_Lock };
  75. modifier_map Control { Control_L, Control_R };
  76. modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
  77. modifier_map Mod3 { Mode_switch };
  78. modifier_map Mod4 { Num_Lock };
  79. modifier_map Mod5 { Scroll_Lock };
  80. // Common keys
  81. //
  82. key <BKSP> { [ BackSpace, Delete ] };
  83. key <TAB> { [ Tab, ISO_Left_Tab ] };
  84. key <CAPS> { [ Caps_Lock ] };
  85. key <RTRN> { [ Return ] };
  86. key <LFSH> { [ Shift_L ] };
  87. key <RTSH> { [ Shift_R ] };
  88. key <LCTL> { [ Control_L ] };
  89. key <LALT> { [ Alt_L, Meta_L ] };
  90. key <SPCE> { [ space ] };
  91. key <RALT> { [ Mode_switch ] };
  92. key <RCTL> { [ Control_R ] };
  93. // "Function" keys
  94. //
  95. key <ESC> { [ Escape ] };
  96. key <FK01> { [ F1 ] };
  97. key <FK02> { [ F2 ] };
  98. key <FK03> { [ F3 ] };
  99. key <FK04> { [ F4 ] };
  100. key <FK05> { [ F5 ] };
  101. key <FK06> { [ F6 ] };
  102. key <FK07> { [ F7 ] };
  103. key <FK08> { [ F8 ] };
  104. key <FK09> { [ F9 ] };
  105. key <FK10> { [ F10 ] };
  106. key <FK11> { [ F11 ] };
  107. key <FK12> { [ F12 ] };
  108. key <PRSC> {
  109. type= "PC_ALT_LEVEL2",
  110. symbols[Group1]= [ Print, Sys_Req ]
  111. };
  112. key <SCLK> { [ Scroll_Lock ] };
  113. key <PAUS> {
  114. type= "PC_CONTROL_LEVEL2",
  115. symbols[Group1]= [ Pause, Break ]
  116. };
  117. // "Editing" keys
  118. //
  119. key <INS> { [ Insert ] };
  120. key <HOME> { [ Home ] };
  121. key <PGUP> { [ Prior ] };
  122. key <DELE> { [ Delete ] };
  123. key <END> { [ End ] };
  124. key <PGDN> { [ Next ] };
  125. key <UP> { [ Up ] };
  126. key <LEFT> { [ Left ] };
  127. key <DOWN> { [ Down ] };
  128. key <RGHT> { [ Right ] };
  129. // "Keypad" keys
  130. //
  131. key <NMLK> {
  132. type= "SHIFT+ALT",
  133. symbols[Group1]= [ Num_Lock,Pointer_EnableKeys]
  134. };
  135. key <KPDV> { [ KP_Divide ] };
  136. key <KPMU> { [ KP_Multiply ] };
  137. key <KPSU> { [ KP_Subtract ] };
  138. key <KP7> { [ KP_Home, KP_7 ] };
  139. key <KP8> { [ KP_Up, KP_8 ] };
  140. key <KP9> { [ KP_Prior, KP_9 ] };
  141. key <KPAD> { [ KP_Add ] };
  142. key <KP4> { [ KP_Left, KP_4 ] };
  143. key <KP5> { [ KP_5 ] };
  144. key <KP6> { [ KP_Right, KP_6 ] };
  145. key <KP1> { [ KP_End, KP_1 ] };
  146. key <KP2> { [ KP_Down, KP_2 ] };
  147. key <KP3> { [ KP_Next, KP_3 ] };
  148. key <KPEN> { [ KP_Enter ] };
  149. key <KP0> { [ KP_Insert, KP_0 ] };
  150. key <KPDL> { [ KP_Delete, KP_Decimal ] };
  151. // Key to support Lock-Down Modifier descriptions for R5
  152. //
  153. key <LDM> { [ NoSymbol ] };
  154. };
  155. xkb_symbols "pc104" {
  156. include "digital_vndr/pc(pc)"
  157. replace key <LALT> { [ Alt_L ] };
  158. key <LWIN> { [ Meta_L ] };
  159. key <RWIN> { [ Meta_R ] };
  160. key <MENU> { [ Menu ] };
  161. };