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 2018 Žan Pevec
  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 SI_CEDL KC_GRV // ¸ (dead)
  34. #define SI_1 KC_1 // 1
  35. #define SI_2 KC_2 // 2
  36. #define SI_3 KC_3 // 3
  37. #define SI_4 KC_4 // 4
  38. #define SI_5 KC_5 // 5
  39. #define SI_6 KC_6 // 6
  40. #define SI_7 KC_7 // 7
  41. #define SI_8 KC_8 // 8
  42. #define SI_9 KC_9 // 9
  43. #define SI_0 KC_0 // 0
  44. #define SI_QUOT KC_MINS // '
  45. #define SI_PLUS KC_EQL // +
  46. // Row 2
  47. #define SI_Q KC_Q // Q
  48. #define SI_W KC_W // W
  49. #define SI_E KC_E // E
  50. #define SI_R KC_R // R
  51. #define SI_T KC_T // T
  52. #define SI_Z KC_Y // Z
  53. #define SI_U KC_U // U
  54. #define SI_I KC_I // I
  55. #define SI_O KC_O // O
  56. #define SI_P KC_P // P
  57. #define SI_SCAR KC_LBRC // Š
  58. #define SI_DSTR KC_RBRC // Đ
  59. // Row 3
  60. #define SI_A KC_A // A
  61. #define SI_S KC_S // S
  62. #define SI_D KC_D // D
  63. #define SI_F KC_F // F
  64. #define SI_G KC_G // G
  65. #define SI_H KC_H // H
  66. #define SI_J KC_J // J
  67. #define SI_K KC_K // K
  68. #define SI_L KC_L // L
  69. #define SI_CCAR KC_SCLN // Č
  70. #define SI_CACU KC_QUOT // Ć
  71. #define SI_ZCAR KC_NUHS // Ž
  72. // Row 4
  73. #define SI_LABK KC_NUBS // <
  74. #define SI_Y KC_Z // Y
  75. #define SI_X KC_X // X
  76. #define SI_C KC_C // C
  77. #define SI_V KC_V // V
  78. #define SI_B KC_B // B
  79. #define SI_N KC_N // N
  80. #define SI_M KC_M // M
  81. #define SI_COMM KC_COMM // ,
  82. #define SI_DOT KC_DOT // .
  83. #define SI_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * ¨ ! " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │ │
  87. *
  88. *
  89. *
  90. *
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define SI_DIAE S(SI_CEDL) // ¨ (dead)
  99. #define SI_EXLM S(SI_1) // !
  100. #define SI_DQUO S(SI_2) // "
  101. #define SI_HASH S(SI_3) // #
  102. #define SI_DLR S(SI_4) // $
  103. #define SI_PERC S(SI_5) // %
  104. #define SI_AMPR S(SI_6) // &
  105. #define SI_SLSH S(SI_7) // /
  106. #define SI_LPRN S(SI_8) // (
  107. #define SI_RPRN S(SI_9) // )
  108. #define SI_EQL S(SI_0) // =
  109. #define SI_QUES S(SI_QUOT) // ?
  110. #define SI_ASTR S(SI_PLUS) // *
  111. // Row 4
  112. #define SI_RABK S(SI_LABK) // >
  113. #define SI_SCLN S(SI_COMM) // ;
  114. #define SI_COLN S(SI_DOT) // :
  115. #define SI_UNDS S(SI_MINS) // _
  116. /* AltGr symbols
  117. *
  118. * ~ ˇ ^ ˘ ° ˛ ` ˙ ´ ˝
  119. *
  120. * \ | ÷ ×
  121. *
  122. * [ ] ł Ł ß ¤
  123. *
  124. * @ { } §
  125. *
  126. *
  127. *
  128. */
  129. // Row 1
  130. #define SI_TILD ALGR(SI_1) // ~
  131. #define SI_CARN ALGR(SI_2) // ˇ (dead)
  132. #define SI_CIRC ALGR(SI_3) // ^ (dead)
  133. #define SI_BREV ALGR(SI_4) // ˘ (dead)
  134. #define SI_RNGA ALGR(SI_5) // ° (dead)
  135. #define SI_OGON ALGR(SI_6) // ˛ (dead)
  136. #define SI_GRV ALGR(SI_7) // `
  137. #define SI_DOTA ALGR(SI_8) // ˙ (dead)
  138. #define SI_ACUT ALGR(SI_9) // ´ (dead)
  139. #define SI_DACU ALGR(SI_0) // ˝ (dead)
  140. // Row 2
  141. #define SI_BSLS ALGR(SI_Q) // (backslash)
  142. #define SI_PIPE ALGR(SI_W) // |
  143. #define SI_EURO ALGR(SI_E) // €
  144. #define SI_DIV ALGR(SI_SCAR) // ÷
  145. #define SI_MUL ALGR(SI_DSTR) // ×
  146. // Row 3
  147. #define SI_LBRC ALGR(SI_F) // [
  148. #define SI_RBRC ALGR(SI_G) // ]
  149. #define SI_LLST ALGR(SI_K) // ł
  150. #define SI_CLST ALGR(SI_L) // Ł
  151. #define SI_SS ALGR(SI_CACU) // ß
  152. #define SI_CURR ALGR(SI_ZCAR) // ¤
  153. // Row 4
  154. #define SI_AT ALGR(SI_V) // @
  155. #define SI_LCBR ALGR(SI_B) // {
  156. #define SI_RCBR ALGR(SI_N) // }
  157. #define SI_SECT ALGR(SI_M) // §