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.

163 lines
8.3 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 HR_CEDL KC_GRV // ¸ (dead)
  34. #define HR_1 KC_1 // 1
  35. #define HR_2 KC_2 // 2
  36. #define HR_3 KC_3 // 3
  37. #define HR_4 KC_4 // 4
  38. #define HR_5 KC_5 // 5
  39. #define HR_6 KC_6 // 6
  40. #define HR_7 KC_7 // 7
  41. #define HR_8 KC_8 // 8
  42. #define HR_9 KC_9 // 9
  43. #define HR_0 KC_0 // 0
  44. #define HR_QUOT KC_MINS // '
  45. #define HR_PLUS KC_EQL // +
  46. // Row 2
  47. #define HR_Q KC_Q // Q
  48. #define HR_W KC_W // W
  49. #define HR_E KC_E // E
  50. #define HR_R KC_R // R
  51. #define HR_T KC_T // T
  52. #define HR_Z KC_Y // Z
  53. #define HR_U KC_U // U
  54. #define HR_I KC_I // I
  55. #define HR_O KC_O // O
  56. #define HR_P KC_P // P
  57. #define HR_SCAR KC_LBRC // Š
  58. #define HR_DSTR KC_RBRC // Đ
  59. // Row 3
  60. #define HR_A KC_A // A
  61. #define HR_S KC_S // S
  62. #define HR_D KC_D // D
  63. #define HR_F KC_F // F
  64. #define HR_G KC_G // G
  65. #define HR_H KC_H // H
  66. #define HR_J KC_J // J
  67. #define HR_K KC_K // K
  68. #define HR_L KC_L // L
  69. #define HR_CCAR KC_SCLN // Č
  70. #define HR_CACU KC_QUOT // Ć
  71. #define HR_ZCAR KC_NUHS // Ž
  72. // Row 4
  73. #define HR_LABK KC_NUBS // <
  74. #define HR_Y KC_Z // Y
  75. #define HR_X KC_X // X
  76. #define HR_C KC_C // C
  77. #define HR_V KC_V // V
  78. #define HR_B KC_B // B
  79. #define HR_N KC_N // N
  80. #define HR_M KC_M // M
  81. #define HR_COMM KC_COMM // ,
  82. #define HR_DOT KC_DOT // .
  83. #define HR_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * ¨ ! " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │ │
  87. *
  88. *
  89. *
  90. *
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define HR_DIAE S(HR_CEDL) // ¨ (dead)
  99. #define HR_EXLM S(HR_1) // !
  100. #define HR_DQUO S(HR_2) // "
  101. #define HR_HASH S(HR_3) // #
  102. #define HR_DLR S(HR_4) // $
  103. #define HR_PERC S(HR_5) // %
  104. #define HR_AMPR S(HR_6) // &
  105. #define HR_SLSH S(HR_7) // /
  106. #define HR_LPRN S(HR_8) // (
  107. #define HR_RPRN S(HR_9) // )
  108. #define HR_EQL S(HR_0) // =
  109. #define HR_QUES S(HR_QUOT) // ?
  110. #define HR_ASTR S(HR_PLUS) // *
  111. // Row 4
  112. #define HR_RABK S(HR_LABK) // >
  113. #define HR_SCLN S(HR_COMM) // ;
  114. #define HR_COLN S(HR_DOT) // :
  115. #define HR_UNDS S(HR_MINS) // _
  116. /* AltGr symbols
  117. *
  118. * ~ ˇ ^ ˘ ° ˛ ` ˙ ´ ˝
  119. *
  120. * \ | ÷ ×
  121. *
  122. * [ ] ł Ł ß ¤
  123. *
  124. * @ { } §
  125. *
  126. *
  127. *
  128. */
  129. // Row 1
  130. #define HR_TILD ALGR(HR_1) // ~
  131. #define HR_CARN ALGR(HR_2) // ˇ (dead)
  132. #define HR_CIRC ALGR(HR_3) // ^ (dead)
  133. #define HR_BREV ALGR(HR_4) // ˘ (dead)
  134. #define HR_RNGA ALGR(HR_5) // ° (dead)
  135. #define HR_OGON ALGR(HR_6) // ˛ (dead)
  136. #define HR_GRV ALGR(HR_7) // `
  137. #define HR_DOTA ALGR(HR_8) // ˙ (dead)
  138. #define HR_ACUT ALGR(HR_9) // ´ (dead)
  139. #define HR_DACU ALGR(HR_0) // ˝ (dead)
  140. // Row 2
  141. #define HR_BSLS ALGR(HR_Q) // (backslash)
  142. #define HR_PIPE ALGR(HR_W) // |
  143. #define HR_EURO ALGR(HR_E) // €
  144. #define HR_DIV ALGR(HR_SCAR) // ÷
  145. #define HR_MUL ALGR(HR_DSTR) // ×
  146. // Row 3
  147. #define HR_LBRC ALGR(HR_F) // [
  148. #define HR_RBRC ALGR(HR_G) // ]
  149. #define HR_LLST ALGR(HR_K) // ł
  150. #define HR_CLST ALGR(HR_L) // Ł
  151. #define HR_SS ALGR(HR_CACU) // ß
  152. #define HR_CURR ALGR(HR_ZCAR) // ¤
  153. // Row 4
  154. #define HR_AT ALGR(HR_V) // @
  155. #define HR_LCBR ALGR(HR_B) // {
  156. #define HR_RCBR ALGR(HR_N) // }
  157. #define HR_SECT ALGR(HR_M) // §