You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

188 lines
10 KiB

  1. /* Copyright 2020
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #include "keymap.h"
  18. // clang-format off
  19. /*
  20. *
  21. * 1 2 3 4 5 6 7 8 9 0 - =
  22. *
  23. * Q W E R T Y U I O P Ă Î
  24. *
  25. * A S D F G H J K L Ș Ț Â
  26. *
  27. * \ Z X C V B N M , . /
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define RO_DLQU KC_GRV // „
  34. #define RO_1 KC_1 // 1
  35. #define RO_2 KC_2 // 2
  36. #define RO_3 KC_3 // 3
  37. #define RO_4 KC_4 // 4
  38. #define RO_5 KC_5 // 5
  39. #define RO_6 KC_6 // 6
  40. #define RO_7 KC_7 // 7
  41. #define RO_8 KC_8 // 8
  42. #define RO_9 KC_9 // 9
  43. #define RO_0 KC_0 // 0
  44. #define RO_MINS KC_MINS // -
  45. #define RO_EQL KC_EQL // =
  46. // Row 2
  47. #define RO_Q KC_Q // Q
  48. #define RO_W KC_W // W
  49. #define RO_E KC_E // E
  50. #define RO_R KC_R // R
  51. #define RO_T KC_T // T
  52. #define RO_Y KC_Y // Y
  53. #define RO_U KC_U // U
  54. #define RO_I KC_I // I
  55. #define RO_O KC_O // O
  56. #define RO_P KC_P // P
  57. #define RO_ABRV KC_LBRC // Ă
  58. #define RO_ICIR KC_RBRC // Î
  59. // Row 3
  60. #define RO_A KC_A // A
  61. #define RO_S KC_S // S
  62. #define RO_D KC_D // D
  63. #define RO_F KC_F // F
  64. #define RO_G KC_G // G
  65. #define RO_H KC_H // H
  66. #define RO_J KC_J // J
  67. #define RO_K KC_K // K
  68. #define RO_L KC_L // L
  69. #define RO_SCOM KC_SCLN // Ș
  70. #define RO_TCOM KC_QUOT // Ț
  71. #define RO_ACIR KC_NUHS // Â
  72. // Row 4
  73. #define RO_BSLS KC_NUBS // (backslash)
  74. #define RO_Z KC_Z // Z
  75. #define RO_X KC_X // X
  76. #define RO_C KC_C // C
  77. #define RO_V KC_V // V
  78. #define RO_B KC_B // B
  79. #define RO_N KC_N // N
  80. #define RO_M KC_M // M
  81. #define RO_COMM KC_COMM // ,
  82. #define RO_DOT KC_DOT // .
  83. #define RO_SLSH KC_SLSH // /
  84. /* Shifted symbols
  85. *
  86. * ! @ # $ % ^ & * ( ) _ +
  87. *
  88. *
  89. *
  90. *
  91. *
  92. * | ; : ?
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define RO_RDQU S(RO_DLQU) // ”
  99. #define RO_EXLM S(RO_1) // !
  100. #define RO_AT S(RO_2) // @
  101. #define RO_HASH S(RO_3) // #
  102. #define RO_DLR S(RO_4) // $
  103. #define RO_PERC S(RO_5) // %
  104. #define RO_CIRC S(RO_6) // ^
  105. #define RO_AMPR S(RO_7) // &
  106. #define RO_ASTR S(RO_8) // *
  107. #define RO_LPRN S(RO_9) // (
  108. #define RO_RPRN S(RO_0) // )
  109. #define RO_UNDS S(RO_MINS) // _
  110. #define RO_PLUS S(RO_EQL) // +
  111. // Row 4
  112. #define RO_PIPE S(RO_BSLS) // |
  113. #define RO_SCLN S(RO_COMM) // ;
  114. #define RO_COLN S(RO_DOT) // :
  115. #define RO_QUES S(RO_SLSH) // ?
  116. /* AltGr symbols
  117. *
  118. * ` ~ ˇ ^ ˘ ° ˛ ` ˙ ´ ˝ ¨ ¸
  119. *
  120. * § [ ]
  121. *
  122. * ß Đ Ł '
  123. *
  124. * © < >
  125. *
  126. *
  127. *
  128. */
  129. // Row 1
  130. #define RO_GRV ALGR(RO_DLQU) // `
  131. #define RO_DTIL ALGR(RO_1) // ~ (dead)
  132. #define RO_CARN ALGR(RO_2) // ˇ (dead)
  133. #define RO_DCIR ALGR(RO_3) // ^ (dead)
  134. #define RO_BREV ALGR(RO_4) // ˘ (dead)
  135. #define RO_RNGA ALGR(RO_5) // ° (dead)
  136. #define RO_OGON ALGR(RO_6) // ˛ (dead)
  137. #define RO_DGRV ALGR(RO_7) // ` (dead)
  138. #define RO_DOTA ALGR(RO_8) // ˙ (dead)
  139. #define RO_ACUT ALGR(RO_9) // ´ (dead)
  140. #define RO_DACU ALGR(RO_0) // ˝ (dead)
  141. #define RO_DIAE ALGR(RO_MINS) // ¨ (dead)
  142. #define RO_CEDL ALGR(RO_EQL) // ¸ (dead)
  143. // Row 2
  144. #define RO_EURO ALGR(RO_E) // €
  145. #define RO_SECT ALGR(RO_P) // §
  146. #define RO_LBRC ALGR(RO_ABRV) // [
  147. #define RO_RBRC ALGR(RO_ICIR) // ]
  148. // Row 3
  149. #define RO_SS ALGR(RO_S) // ß
  150. #define RO_DSTR ALGR(RO_D) // Đ
  151. #define RO_LSTR ALGR(RO_L) // Ł
  152. #define RO_QUOT ALGR(RO_TCOM) // '
  153. // Row 4
  154. #define RO_COPY ALGR(RO_C) // ©
  155. #define RO_LABK ALGR(RO_COMM) // <
  156. #define RO_RABK ALGR(RO_DOT) // >
  157. /* Shift+AltGr symbols
  158. *
  159. * ~ ±
  160. *
  161. * { }
  162. *
  163. * " │ │ │
  164. *
  165. * « »
  166. *
  167. *
  168. *
  169. */
  170. // Row 1
  171. #define RO_TILD S(ALGR(RO_DLQU)) // ~
  172. #define RO_NDSH S(ALGR(RO_MINS)) // –
  173. #define RO_PLMN S(ALGR(RO_EQL)) // ±
  174. // Row 2
  175. #define RO_LCBR S(ALGR(RO_ABRV)) // {
  176. #define RO_RCBR S(ALGR(RO_ICIR)) // }
  177. // Row 3
  178. #define RO_DQUO S(ALGR(RO_TCOM)) // "
  179. // Row 4
  180. #define RO_LDAQ S(ALGR(RO_COMM)) // «
  181. #define RO_RDAQ S(ALGR(RO_DOT)) // »