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.

134 lines
7.4 KiB

  1. /* Copyright 2022
  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. * Й Ц У К Е Н Г Ш Щ З Х Ї \
  24. *
  25. * Ф І В А П Р О Л Д Ж Є
  26. *
  27. * Я Ч С М И Т Ь Б Ю .
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define UA_QUOT KC_GRV // '
  34. #define UA_1 KC_1 // 1
  35. #define UA_2 KC_2 // 2
  36. #define UA_3 KC_3 // 3
  37. #define UA_4 KC_4 // 4
  38. #define UA_5 KC_5 // 5
  39. #define UA_6 KC_6 // 6
  40. #define UA_7 KC_7 // 7
  41. #define UA_8 KC_8 // 8
  42. #define UA_9 KC_9 // 9
  43. #define UA_0 KC_0 // 0
  44. #define UA_MINS KC_MINS // -
  45. #define UA_EQL KC_EQL // =
  46. // Row 2
  47. #define UA_YOT KC_Q // Й
  48. #define UA_TSE KC_W // Ц
  49. #define UA_U KC_E // У
  50. #define UA_KA KC_R // К
  51. #define UA_E KC_T // Е
  52. #define UA_EN KC_Y // Н
  53. #define UA_HE KC_U // Г
  54. #define UA_SHA KC_I // Ш
  55. #define UA_SHCH KC_O // Щ
  56. #define UA_ZE KC_P // З
  57. #define UA_KHA KC_LBRC // Х
  58. #define UA_YI KC_RBRC // Ї
  59. #define UA_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define UA_EF KC_A // Ф
  62. #define UA_I KC_S // І
  63. #define UA_VE KC_D // В
  64. #define UA_A KC_F // А
  65. #define UA_PE KC_G // П
  66. #define UA_ER KC_H // Р
  67. #define UA_O KC_J // О
  68. #define UA_EL KC_K // Л
  69. #define UA_DE KC_L // Д
  70. #define UA_ZHE KC_SCLN // Ж
  71. #define UA_YE KC_QUOT // Є
  72. // Row 4
  73. #define UA_YA KC_Z // Я
  74. #define UA_CHE KC_X // Ч
  75. #define UA_ES KC_C // С
  76. #define UA_EM KC_V // М
  77. #define UA_Y KC_B // И
  78. #define UA_TE KC_N // Т
  79. #define UA_SOFT KC_M // Ь
  80. #define UA_BE KC_COMM // Б
  81. #define UA_YU KC_DOT // Ю
  82. #define UA_DOT KC_SLSH // .
  83. /* Shifted symbols
  84. *
  85. * ! " │ № │ ; │ % │ : │ ? │ * │ ( │ ) │ _ │ + │ │
  86. *
  87. * /
  88. *
  89. *
  90. *
  91. * ,
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define UA_HRYV S(UA_QUOT) // ₴
  98. #define UA_EXLM S(UA_1) // !
  99. #define UA_DQUO S(UA_2) // "
  100. #define UA_NUM S(UA_3) // №
  101. #define UA_SCLN S(UA_4) // ;
  102. #define UA_PERC S(UA_5) // %
  103. #define UA_COLN S(UA_6) // :
  104. #define UA_QUES S(UA_7) // ?
  105. #define UA_ASTR S(UA_8) // *
  106. #define UA_LPRN S(UA_9) // (
  107. #define UA_RPRN S(UA_0) // )
  108. #define UA_UNDS S(UA_MINS) // _
  109. #define UA_PLUS S(UA_EQL) // +
  110. // Row 2
  111. #define UA_SLSH S(UA_BSLS) // /
  112. // Row 4
  113. #define UA_COMM S(UA_DOT) // ,
  114. /* AltGr symbols
  115. *
  116. *
  117. *
  118. * ґ
  119. *
  120. *
  121. *
  122. *
  123. *
  124. *
  125. *
  126. */
  127. // Row 2
  128. #define UA_GE ALGR(UA_HE) // ґ