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

sony (4961B)


  1. //
  2. //Copyright 1996, 1998 The Open Group
  3. //
  4. //Permission to use, copy, modify, distribute, and sell this software and its
  5. //documentation for any purpose is hereby granted without fee, provided that
  6. //the above copyright notice appear in all copies and that both that
  7. //copyright notice and this permission notice appear in supporting
  8. //documentation.
  9. //
  10. //The above copyright notice and this permission notice shall be
  11. //included in all copies or substantial portions of the Software.
  12. //
  13. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  14. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  15. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  16. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. //OTHER DEALINGS IN THE SOFTWARE.
  20. //
  21. //Except as contained in this notice, the name of The Open Group shall
  22. //not be used in advertising or otherwise to promote the sale, use or
  23. //other dealings in this Software without prior written authorization
  24. //from The Open Group.
  25. //
  26. default xkb_geometry "nwp5461" {
  27. description= "Sony NEWS NWS-5000 Keyboard";
  28. width= 425;
  29. height= 190;
  30. shape.cornerRadius= 1;
  31. shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
  32. shape "BKSP" { { [28,18] }, { [2,1], [26,17] } };
  33. shape "TABK" { { [28,18] }, { [2,1], [26,17] } };
  34. shape "BKSL" { { [28,18] }, { [2,1], [26,17] } };
  35. shape "RTRN" {
  36. approx = { [15, 0], [33,37] },
  37. { [15, 0], [33, 0], [33,37],
  38. [ 0,37], [ 0,19], [15,19] },
  39. { [17, 1], [31, 1], [31,36],
  40. [ 2,36], [ 2,20], [17,20] }
  41. };
  42. shape "SHFT" { { [42,18] }, { [2,1], [40,17] } };
  43. shape "MODK" { { [33,18] }, { [2,1], [31,17] } };
  44. shape "SPCE" { { [85,18] }, { [2,1], [83,17] } };
  45. shape "KPEN" { { [18,38] }, { [2,1], [16,37] } };
  46. shape "STOP" { { [28,18] }, { [2,1], [26,17] } };
  47. shape "CUT" { { [55,18] }, { [2,1], [53,17] } };
  48. shape "EXEC" { { [32,18] }, { [2,1], [30,17] } };
  49. shape "UNK" { { [18,18] }, { [2,1], [16,17] } };
  50. shape "CAPS" { { [18,18] }, { [2,1], [16,17] } };
  51. shape "FKEY" { { [23,18] }, { [2,1], [21,17] } };
  52. section.left= 13;
  53. row.left= 1;
  54. key.shape= "NORM";
  55. key.gap= 1;
  56. section "Function" {
  57. top= 55;
  58. row {
  59. top= 1;
  60. left= 37;
  61. key.shape="FKEY";
  62. keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
  63. { <FK06>, 5 }, <FK07>, <FK08>, <FK09>, <FK10>,
  64. { <FK11>, 5 }, <FK12>
  65. };
  66. };
  67. }; // End of "Function" section
  68. section "Alpha" {
  69. top= 80;
  70. row {
  71. top= 1;
  72. keys { { <ESC>, color="grey20" } ,
  73. <AE01>, <AE02>, <AE03>, <AE04>,
  74. <AE05>, <AE06>, <AE07>, <AE08>,
  75. <AE09>, <AE10>, <AE11>, <AE12>,
  76. <BKSL>, { <BKSP>, "BKSP", color="grey20" }
  77. };
  78. };
  79. row {
  80. top= 20;
  81. keys { { <TAB>, "TABK", color="grey20" },
  82. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  83. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  84. <AD11>, <AD12>, { <DELE>, color="grey20" },
  85. { <RTRN>, "RTRN", -14, color="grey20" }
  86. };
  87. };
  88. row {
  89. top= 39;
  90. keys { { <LCTL>, "MODK", color="grey20" },
  91. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  92. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  93. <AC11>, <TLDE>
  94. };
  95. };
  96. row {
  97. top= 58;
  98. keys { { <LFSH>, "SHFT", color="grey20" },
  99. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  100. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
  101. { <RTSH>, "SHFT", color="grey20" }
  102. };
  103. };
  104. row {
  105. top= 77;
  106. key.shape= "MODK";
  107. key.color= "grey20";
  108. keys { <LALT>, { <CAPS>, "CAPS" },
  109. { <STOP>, "STOP", color="white" },
  110. { <SPCE>, "SPCE", color="white" },
  111. { <CUT>, "CUT", color="white" },
  112. { <UNK0>, "UNK" }, { <UNK1>, "UNK" },
  113. { <EXEC>, "EXEC" }
  114. };
  115. };
  116. }; // End of "Alpha" section
  117. section "Editing" {
  118. top= 80;
  119. left= 312;
  120. key.color= "grey20";
  121. row {
  122. top= 1;
  123. keys { <HELP> };
  124. };
  125. row {
  126. top= 20;
  127. keys { <INS> };
  128. };
  129. row {
  130. top= 39;
  131. keys { <CLR> };
  132. };
  133. row {
  134. top= 58;
  135. keys { <PGUP> };
  136. };
  137. row {
  138. top= 77;
  139. keys { <PGDN> };
  140. };
  141. }; // End of "Editing" section
  142. section "Keypad" {
  143. top= 61;
  144. left= 334;
  145. row {
  146. top= 1;
  147. key.color= "grey20";
  148. keys { { <KPMU>, 19 }, <KPDV>, <KPAD> };
  149. };
  150. row {
  151. top= 20;
  152. keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color="grey20" } };
  153. };
  154. row {
  155. top= 39;
  156. keys { <KP4>, <KP5>, <KP6>, { <KPSP>, color="grey20" } };
  157. };
  158. row {
  159. top= 58;
  160. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color="grey20" } };
  161. };
  162. row {
  163. top= 77;
  164. keys { <KP0>, { <KPDC>, color="grey20" }, <UP> };
  165. };
  166. row {
  167. top= 96;
  168. key.color= "grey20";
  169. keys { <KPTB>, <LEFT>, <DOWN>, <RGHT> };
  170. };
  171. }; // End of "Keypad" section
  172. }; // End of "default" geometry