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.

164 lines
8.4 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 Z U I O P Š Đ
  24. *
  25. * A S D F G H J K L Č Ć Ž
  26. *
  27. * < Y X C V B N M , . -
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define RS_SLQU KC_GRV // ‚ (dead)
  34. #define RS_1 KC_1 // 1
  35. #define RS_2 KC_2 // 2
  36. #define RS_3 KC_3 // 3
  37. #define RS_4 KC_4 // 4
  38. #define RS_5 KC_5 // 5
  39. #define RS_6 KC_6 // 6
  40. #define RS_7 KC_7 // 7
  41. #define RS_8 KC_8 // 8
  42. #define RS_9 KC_9 // 9
  43. #define RS_0 KC_0 // 0
  44. #define RS_QUOT KC_MINS // '
  45. #define RS_PLUS KC_EQL // +
  46. // Row 2
  47. #define RS_Q KC_Q // Q
  48. #define RS_W KC_W // W
  49. #define RS_E KC_E // E
  50. #define RS_R KC_R // R
  51. #define RS_T KC_T // T
  52. #define RS_Z KC_Y // Z
  53. #define RS_U KC_U // U
  54. #define RS_I KC_I // I
  55. #define RS_O KC_O // O
  56. #define RS_P KC_P // P
  57. #define RS_SCAR KC_LBRC // Š
  58. #define RS_DSTR KC_RBRC // Đ
  59. // Row 3
  60. #define RS_A KC_A // A
  61. #define RS_S KC_S // S
  62. #define RS_D KC_D // D
  63. #define RS_F KC_F // F
  64. #define RS_G KC_G // G
  65. #define RS_H KC_H // H
  66. #define RS_J KC_J // J
  67. #define RS_K KC_K // K
  68. #define RS_L KC_L // L
  69. #define RS_CCAR KC_SCLN // Č
  70. #define RS_CACU KC_QUOT // Ć
  71. #define RS_ZCAR KC_NUHS // Ž
  72. // Row 4
  73. #define RS_LABK KC_NUBS // <
  74. #define RS_Y KC_Z // Y
  75. #define RS_X KC_X // X
  76. #define RS_C KC_C // C
  77. #define RS_V KC_V // V
  78. #define RS_B KC_B // B
  79. #define RS_N KC_N // N
  80. #define RS_M KC_M // M
  81. #define RS_COMM KC_COMM // ,
  82. #define RS_DOT KC_DOT // .
  83. #define RS_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * ~ ! " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │ │
  87. *
  88. *
  89. *
  90. *
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define RS_TILD S(RS_SLQU) // ~
  99. #define RS_EXLM S(RS_1) // !
  100. #define RS_DQUO S(RS_2) // "
  101. #define RS_HASH S(RS_3) // #
  102. #define RS_DLR S(RS_4) // $
  103. #define RS_PERC S(RS_5) // %
  104. #define RS_AMPR S(RS_6) // &
  105. #define RS_SLSH S(RS_7) // /
  106. #define RS_LPRN S(RS_8) // (
  107. #define RS_RPRN S(RS_9) // )
  108. #define RS_EQL S(RS_0) // =
  109. #define RS_QUES S(RS_QUOT) // ?
  110. #define RS_ASTR S(RS_PLUS) // *
  111. // Row 4
  112. #define RS_RABK S(RS_LABK) // >
  113. #define RS_SCLN S(RS_COMM) // ;
  114. #define RS_COLN S(RS_DOT) // :
  115. #define RS_UNDS S(RS_MINS) // _
  116. /* AltGr symbols
  117. *
  118. * ˇ ^ ˘ ° ˛ ` ˙ ´ ˝ ¨ ¸
  119. *
  120. * \ | ÷ ×
  121. *
  122. * [ ] ł Ł ß ¤
  123. *
  124. * @ { } §
  125. *
  126. *
  127. *
  128. */
  129. // Row 1
  130. #define RS_CARN ALGR(RS_2) // ˇ (dead)
  131. #define RS_CIRC ALGR(RS_3) // ^ (dead)
  132. #define RS_BREV ALGR(RS_4) // ˘ (dead)
  133. #define RS_RNGA ALGR(RS_5) // ° (dead)
  134. #define RS_OGON ALGR(RS_6) // ˛ (dead)
  135. #define RS_GRV ALGR(RS_7) // `
  136. #define RS_DOTA ALGR(RS_8) // ˙ (dead)
  137. #define RS_ACUT ALGR(RS_9) // ´ (dead)
  138. #define RS_DACU ALGR(RS_0) // ˝ (dead)
  139. #define RS_DIAE ALGR(RS_QUOT) // ¨ (dead)
  140. #define RS_CEDL ALGR(RS_PLUS) // ¸ (dead)
  141. // Row 2
  142. #define RS_BSLS ALGR(RS_Q) // (backslash)
  143. #define RS_PIPE ALGR(RS_W) // |
  144. #define RS_EURO ALGR(RS_E) // €
  145. #define RS_DIV ALGR(RS_SCAR) // ÷
  146. #define RS_MUL ALGR(RS_DSTR) // ×
  147. // Row 3
  148. #define RS_LBRC ALGR(RS_F) // [
  149. #define RS_RBRC ALGR(RS_G) // ]
  150. #define RS_LLST ALGR(RS_K) // ł
  151. #define RS_CLST ALGR(RS_L) // Ł
  152. #define RS_SS ALGR(RS_CACU) // ß
  153. #define RS_CURR ALGR(RS_ZCAR) // ¤
  154. // Row 4
  155. #define RS_AT ALGR(RS_V) // @
  156. #define RS_LCBR ALGR(RS_B) // {
  157. #define RS_RCBR ALGR(RS_N) // }
  158. #define RS_SECT ALGR(RS_M) // §