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.

176 lines
9.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. *  ;  +  ľ  š  č  ť  ž  ý  á  í  é  =  ´        
  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 SK_SCLN KC_GRV // ;
  34. #define SK_PLUS KC_1 // +
  35. #define SK_LCAR KC_2 // ľ
  36. #define SK_SCAR KC_3 // š
  37. #define SK_CCAR KC_4 // č
  38. #define SK_TCAR KC_5 // ť
  39. #define SK_ZCAR KC_6 // ž
  40. #define SK_YACU KC_7 // ý
  41. #define SK_AACU KC_8 // á
  42. #define SK_IACU KC_9 // í
  43. #define SK_EACU KC_0 // é
  44. #define SK_EQL KC_MINS // =
  45. #define SK_ACUT KC_EQL // ´ (dead)
  46. // Row 2
  47. #define SK_Q KC_Q // Q
  48. #define SK_W KC_W // W
  49. #define SK_E KC_E // E
  50. #define SK_R KC_R // R
  51. #define SK_T KC_T // T
  52. #define SK_Z KC_Y // Z
  53. #define SK_U KC_U // U
  54. #define SK_I KC_I // I
  55. #define SK_O KC_O // O
  56. #define SK_P KC_P // P
  57. #define SK_UACU KC_LBRC // ú
  58. #define SK_ADIA KC_RBRC // ä
  59. // Row 3
  60. #define SK_A KC_A // A
  61. #define SK_S KC_S // S
  62. #define SK_D KC_D // D
  63. #define SK_F KC_F // F
  64. #define SK_G KC_G // G
  65. #define SK_H KC_H // H
  66. #define SK_J KC_J // J
  67. #define SK_K KC_K // K
  68. #define SK_L KC_L // L
  69. #define SK_OCIR KC_SCLN // ô
  70. #define SK_SECT KC_QUOT // §
  71. #define SK_NCAR KC_NUHS // ň
  72. // Row 4
  73. #define SK_AMPR KC_NUBS // &
  74. #define SK_Y KC_Z // Y
  75. #define SK_X KC_X // X
  76. #define SK_C KC_C // C
  77. #define SK_V KC_V // V
  78. #define SK_B KC_B // B
  79. #define SK_N KC_N // N
  80. #define SK_M KC_M // M
  81. #define SK_COMM KC_COMM // ,
  82. #define SK_DOT KC_DOT // .
  83. #define SK_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. *  °  1  2  3  4  5  6  7  8  9  0  %  ˇ        
  87. *
  88. *                                     /  (      
  89. *     
  90. *                                   " │ ! │ ) │    │
  91. *
  92. *      *                       ?  :  _           
  93. *
  94. *                                                     
  95. *
  96. */
  97. // Row 1
  98. #define SK_RNGA S(SK_SCLN) // ° (dead)
  99. #define SK_1 S(SK_PLUS) // 1
  100. #define SK_2 S(SK_LACU) // 2
  101. #define SK_3 S(SK_SCAR) // 3
  102. #define SK_4 S(SK_CCAR) // 4
  103. #define SK_5 S(SK_TACU) // 5
  104. #define SK_6 S(SK_ZCAR) // 6
  105. #define SK_7 S(SK_YACU) // 7
  106. #define SK_8 S(SK_AACU) // 8
  107. #define SK_9 S(SK_IACU) // 9
  108. #define SK_0 S(SK_EACU) // 0
  109. #define SK_PERC S(SK_EQL) // %
  110. #define SK_CARN S(SK_ACUT) // ˇ (dead)
  111. // Row 2
  112. #define SK_SLSH S(SK_UACU) // /
  113. #define SK_LPRN S(SK_ADIA) // (
  114. // Row 3
  115. #define SK_DQUO S(SK_OCIR) // "
  116. #define SK_EXLM S(SK_SECT) // !
  117. #define SK_RPRN S(SK_NCAR) // )
  118. // Row 4
  119. #define SK_ASTR S(SK_AMPR) // *
  120. #define SK_QUES S(SK_COMM) // ?
  121. #define SK_COLN S(SK_DOT) // :
  122. #define SK_UNDS S(SK_MINS) // _
  123. /* AltGr symbols
  124. *
  125. *     ~     ^  ˘  °  ˛  `  ˙     ˝  ¨  ¸        
  126. *
  127. *       \  |                      '  ÷  ×      
  128. *     
  129. *           đ  Đ  [  ]        ł  Ł  $  ß  ¤     
  130. *
  131. *      <  >  #     @  {  }                       
  132. *
  133. *                                                     
  134. *
  135. */
  136. // Row 1
  137. #define SK_TILD ALGR(SK_PLUS) // ~
  138. #define SK_CIRC ALGR(SK_LCAR) // ^ (dead)
  139. #define SK_BREV ALGR(SK_SCAR) // ˘ (dead)
  140. #define SK_RNGA ALGR(SK_CCAR) // ° (dead)
  141. #define SK_OGON ALGR(SK_TCAR) // ˛ (dead)
  142. #define SK_GRV ALGR(SK_ZCAR) // `
  143. #define SK_DOTA ALGR(SK_YACU) // ˙ (dead)
  144. #define SK_DACU ALGR(SK_EACU) // ˝ (dead)
  145. #define SK_DIAE ALGR(SK_EQL) // ¨ (dead)
  146. #define SK_CEDL ALGR(SK_ACUT) // ¸ (dead)
  147. // Row 2
  148. #define SK_BSLS ALGR(SK_Q) // (backslash)
  149. #define SK_PIPE ALGR(SK_W) // |
  150. #define SK_EURO ALGR(SK_E) // €
  151. #define SK_QUOT ALGR(SK_P) // '
  152. #define SK_DIV ALGR(SK_UACU) // ÷
  153. #define SK_MUL ALGR(SK_ADIA) // ×
  154. // Row 3
  155. #define SK_LDST ALGR(SK_S) // đ
  156. #define SK_CDST ALGR(SK_D) // Đ
  157. #define SK_LBRC ALGR(SK_F) // [
  158. #define SK_RBRC ALGR(SK_G) // ]
  159. #define SK_LLST ALGR(SK_K) // ł
  160. #define SK_CLST ALGR(SK_L) // Ł
  161. #define SK_DLR ALGR(SK_OCIR) // $
  162. #define SK_SS ALGR(SK_SECT) // ß
  163. #define SK_CURR ALGR(SK_NCAR) // ¤
  164. // Row 4
  165. #define SK_LABK ALGR(SK_AMPR) // <
  166. #define SK_RABK ALGR(SK_Y) // >
  167. #define SK_HASH ALGR(SK_X) // #
  168. #define SK_AT ALGR(SK_V) // @
  169. #define SK_LCBR ALGR(SK_B) // {
  170. #define SK_RCBR ALGR(SK_N) // }