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

ro (11693B)


  1. //
  2. // Complete set of Romanian keyboards as described in the new Romanian standard
  3. // SR 13392:2004 adopted in December 2004 by ASRO, "Asociatia de Standardizare
  4. // din Romania".
  5. //
  6. // The default mapping is the Programmers layout (also known as RO_US) because
  7. // of the lack of Romanian hardware keyboards. The primary standard layout is
  8. // implemented as the "std" variant.
  9. //
  10. // Diacritics with cedillas, as in ISO-8859-2, are no longer supported. This
  11. // error has been corrected in ISO-889-16 through using commabelow accents.
  12. // Pre-Vista MS compatible layout ("winkeys" variant) generates commabelow
  13. // accents too now.
  14. //
  15. // Created by Cristian Gafton, <gafton@redhat.com> (C) 2000
  16. // Modified by Marius Andreiana, <mandreiana@yahoo.com> (C) 2001
  17. // Completed by Dumitru Moldovan, <dumol@gnome.org> (C) 2001, 2004-2008, 2020
  18. default partial alphanumeric_keys
  19. xkb_symbols "basic" {
  20. // This RO_US/Programmers layout, although the secondary layout in the
  21. // Romanian standard, has always been the "de facto" standard in the
  22. // Linux/Unix world. It is implemented here as the default layout and it's
  23. // fully compatible with an US keyboard (Euro on AltGr+5 does not count).
  24. include "us"
  25. name[Group1]="Romanian";
  26. key <AE01> { [ 1, exclam, dead_tilde ] };
  27. key <AE02> { [ 2, at, dead_caron ] };
  28. key <AE03> { [ 3, numbersign, dead_circumflex ] };
  29. key <AE04> { [ 4, dollar, dead_breve ] };
  30. key <AE05> { [ 5, percent, dead_abovering ] };
  31. key <AE06> { [ 6, asciicircum, dead_ogonek ] };
  32. key <AE07> { [ 7, ampersand, dead_grave ] };
  33. key <AE08> { [ 8, asterisk, dead_abovedot ] };
  34. key <AE09> { [ 9, parenleft, dead_acute ] };
  35. key <AE10> { [ 0, parenright, dead_doubleacute ] };
  36. key <AE11> { [ minus, underscore, dead_diaeresis, endash ] };
  37. key <AE12> { [ equal, plus, dead_cedilla, plusminus ] };
  38. key <AD01> { [ q, Q, acircumflex, Acircumflex ] };
  39. key <AD02> { [ w, W, ssharp, U1e9e ] };
  40. key <AD03> { [ e, E, EuroSign ] };
  41. key <AD05> { [ t, T, U021b, U021a ] };
  42. key <AD08> { [ i, I, icircumflex, Icircumflex ] };
  43. key <AD10> { [ p, P, section ] };
  44. key <AD11> { [ bracketleft, braceleft, doublelowquotemark ] };
  45. key <AD12> { [ bracketright, braceright, rightdoublequotemark ] };
  46. key <AC01> { [ a, A, abreve, Abreve ] };
  47. key <AC02> { [ s, S, U0219, U0218 ] };
  48. key <AC03> { [ d, D, dstroke, Dstroke ] };
  49. key <AC09> { [ l, L, lstroke, Lstroke ] };
  50. key <LSGT> { [ backslash, bar ] };
  51. key <AB03> { [ c, C, copyright ] };
  52. key <AB08> { [ comma, less, guillemotleft ] };
  53. key <AB09> { [ period, greater, guillemotright ] };
  54. key <KPDL> { [ KP_Delete, KP_Decimal, KP_Separator, KP_Separator ] };
  55. include "level3(ralt_switch)"
  56. };
  57. partial alphanumeric_keys
  58. xkb_symbols "std" {
  59. // Primary layout in the new Romanian standard.
  60. // Implemented here as a variant because of the lack of hardware
  61. // Romanian keyboards and because of the predilection of Romanian
  62. // X users towards the secondary layout from the new standard.
  63. include "us"
  64. name[Group1]="Romanian (standard)";
  65. key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] };
  66. key <AE01> { [ 1, exclam, dead_tilde ] };
  67. key <AE02> { [ 2, at, dead_caron ] };
  68. key <AE03> { [ 3, numbersign, dead_circumflex ] };
  69. key <AE04> { [ 4, dollar, dead_breve ] };
  70. key <AE05> { [ 5, percent, dead_abovering ] };
  71. key <AE06> { [ 6, asciicircum, dead_ogonek ] };
  72. key <AE07> { [ 7, ampersand, dead_grave ] };
  73. key <AE08> { [ 8, asterisk, dead_abovedot ] };
  74. key <AE09> { [ 9, parenleft, dead_acute ] };
  75. key <AE10> { [ 0, parenright, dead_doubleacute ] };
  76. key <AE11> { [ minus, underscore, dead_diaeresis, endash ] };
  77. key <AE12> { [ equal, plus, dead_cedilla, plusminus ] };
  78. key <AD03> { [ e, E, EuroSign ] };
  79. key <AD10> { [ p, P, section ] };
  80. key <AD11> { [ abreve, Abreve, bracketleft, braceleft ] };
  81. key <AD12> { [ icircumflex, Icircumflex, bracketright, braceright ] };
  82. key <BKSL> { [ acircumflex, Acircumflex, backslash, bar ] };
  83. key <AC02> { [ s, S, ssharp, U1e9e ] };
  84. key <AC03> { [ d, D, dstroke, Dstroke ] };
  85. key <AC09> { [ l, L, lstroke, Lstroke ] };
  86. key <AC10> { [ U0219, U0218, semicolon, colon ] };
  87. key <AC11> { [ U021b, U021a, apostrophe, quotedbl ] };
  88. key <LSGT> { [ backslash, bar ] };
  89. key <AB03> { [ c, C, copyright ] };
  90. key <AB08> { [ comma, semicolon, less, guillemotleft ] };
  91. key <AB09> { [ period, colon, greater, guillemotright ] };
  92. key <KPDL> { [ KP_Delete, KP_Separator, KP_Decimal, KP_Decimal ] };
  93. include "level3(ralt_switch)"
  94. };
  95. partial alphanumeric_keys
  96. xkb_symbols "winkeys" {
  97. // Romanian (Legacy) QWERTZ keyboard layout, as available on Windows 10,
  98. // but with the correct commabelow accents and the Euro sign on AltGr+e.
  99. // Some Romanian hardware keyboards are still built like this.
  100. // Older Romanian hardware keyboards might be slightly different.
  101. // Created by Manfred Pohler, <Manfred.Pohler@t-online.de> (C) 2003
  102. // Updated by Dumitru Moldovan, <dumol@gnome.org> (C) 2020
  103. include "us"
  104. name[Group1]="Romanian (Windows)";
  105. key <TLDE> { [ bracketright, bracketleft ] };
  106. key <AE01> { [ 1, exclam, asciitilde ] };
  107. key <AE02> { [ 2, quotedbl, dead_caron ] };
  108. key <AE03> { [ 3, numbersign, dead_circumflex ] };
  109. key <AE04> { [ 4, currency, dead_breve ] };
  110. key <AE05> { [ 5, percent, dead_abovering ] };
  111. key <AE06> { [ 6, ampersand, dead_ogonek ] };
  112. key <AE07> { [ 7, slash, dead_grave ] };
  113. key <AE08> { [ 8, parenleft, dead_abovedot ] };
  114. key <AE09> { [ 9, parenright, dead_acute ] };
  115. key <AE10> { [ 0, equal, dead_doubleacute ] };
  116. key <AE11> { [ plus, question, dead_diaeresis ] };
  117. key <AE12> { [ apostrophe, asterisk, dead_cedilla ] };
  118. key <AD01> { [ q, Q, backslash ] };
  119. key <AD02> { [ w, W, bar ] };
  120. key <AD03> { [ e, E, EuroSign ] };
  121. key <AD06> { [ z, Z ] };
  122. key <AD11> { [ abreve, Abreve, division ] };
  123. key <AD12> { [ icircumflex, Icircumflex, multiply ] };
  124. key <AC02> { [ s, S, dstroke ] };
  125. key <AC03> { [ d, D, Dstroke ] };
  126. key <AC08> { [ k, K, lstroke ] };
  127. key <AC09> { [ l, L, Lstroke ] };
  128. key <AC10> { [ U0219, U0218, dollar ] };
  129. key <AC11> { [ U021b, U021a, ssharp ] };
  130. key <BKSL> { [ acircumflex, Acircumflex ] };
  131. key <LSGT> { [ less, greater ] };
  132. key <AB01> { [ y, Y ] };
  133. key <AB04> { [ v, V, at ] };
  134. key <AB05> { [ b, B, braceleft ] };
  135. key <AB06> { [ n, N, braceright ] };
  136. key <AB07> { [ m, M, section ] };
  137. key <AB08> { [ comma, semicolon, less ] };
  138. key <AB09> { [ period, colon, greater ] };
  139. key <AB10> { [ minus, underscore ] };
  140. key <KPDL> { [ KP_Delete, KP_Separator, KP_Decimal, KP_Decimal ] };
  141. include "level3(ralt_switch)"
  142. };
  143. // EXTRAS:
  144. partial
  145. xkb_symbols "crh_dobruja" {
  146. // Romania-specific Crimean Tatar (Crimean Turkish) Q layout.
  147. // This layout is not yet standard. Common Alt-Q and F layouts are now also
  148. // available right next to this layout in the new language-centric UI.
  149. // Reşat SABIQ <tilde.birlik @ gmail . com>, 2009, 2011
  150. // Özgür Qarahan <qarahan @ gmail . com>, 2009
  151. include "ua(crh)"
  152. name[Group1]="Crimean Tatar (Dobruja Q)";
  153. key <AD02> { [ w, W, abreve, Abreve ] };
  154. key <AD05> { [ t, T, U021b, U021a ] };
  155. key <AD10> { [ p, P, section ] };
  156. key <AC02> { [ s, S, U0219, U0218 ] };
  157. key <AC07> { [ ibreve, Ibreve, j, J ] };
  158. key <AB07> { [ m, M, trademark, masculine ] };
  159. };
  160. partial alphanumeric_keys
  161. xkb_symbols "ergonomic" {
  162. // This layout is optimized for fast touch-typing in Romanian on a
  163. // US keyboard, and works by swapping out symbols infrequently used
  164. // in written Romanian (q,w,y,k) in favor of native ones, thus reducing
  165. // the need to use modifier keys.
  166. // Created by Gabriel Somlo, <somlo@cmu.edu> (C) 2011
  167. include "ro(basic)"
  168. name[Group1]="Romanian (ergonomic Touchtype)";
  169. key <AD01> { [ abreve, Abreve, q, Q ] };
  170. key <AD02> { [ U0219, U0218, w, W ] };
  171. key <AD06> { [ U021b, U021a, y, Y ] };
  172. key <AC01> { [ a, A, acircumflex, Acircumflex ] };
  173. key <AC08> { [ icircumflex, Icircumflex, k, K ] };
  174. };
  175. partial alphanumeric_keys
  176. xkb_symbols "sun_type6" {
  177. include "sun_vndr/ro(sun_type6)"
  178. };