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.

166 lines
9.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. * ` Ą Č Ę Ė Į Š Ų Ū 9 0 - Ž
  22. *
  23. * Q W E R T Y U I O P [ ]
  24. *
  25. * A S D F G H J K L ; ' \
  26. *
  27. * Z X C V B N M , . /
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define LT_GRV KC_GRV // `
  34. #define LT_AOGO KC_1 // Ą
  35. #define LT_CCAR KC_2 // Č
  36. #define LT_EOGO KC_3 // Ę
  37. #define LT_EDOT KC_4 // Ė
  38. #define LT_IOGO KC_5 // Į
  39. #define LT_SCAR KC_6 // Š
  40. #define LT_UOGO KC_7 // Ų
  41. #define LT_UMAC KC_8 // Ū
  42. #define LT_9 KC_9 // 9
  43. #define LT_0 KC_0 // 0
  44. #define LT_MINS KC_MINS // -
  45. #define LT_ZCAR KC_EQL // Ž
  46. // Row 2
  47. #define LT_Q KC_Q // Q
  48. #define LT_W KC_W // W
  49. #define LT_E KC_E // E
  50. #define LT_R KC_R // R
  51. #define LT_T KC_T // T
  52. #define LT_Y KC_Y // Y
  53. #define LT_U KC_U // U
  54. #define LT_I KC_I // I
  55. #define LT_O KC_O // O
  56. #define LT_P KC_P // P
  57. #define LT_LBRC KC_LBRC // [
  58. #define LT_RBRC KC_RBRC // ]
  59. // Row 3
  60. #define LT_A KC_A // A
  61. #define LT_S KC_S // S
  62. #define LT_D KC_D // D
  63. #define LT_F KC_F // F
  64. #define LT_G KC_G // G
  65. #define LT_H KC_H // H
  66. #define LT_J KC_J // J
  67. #define LT_K KC_K // K
  68. #define LT_L KC_L // L
  69. #define LT_SCLN KC_SCLN // ;
  70. #define LT_QUOT KC_QUOT // '
  71. #define LT_BSLS KC_NUHS // (backslash)
  72. // Row 4
  73. #define LT_Z KC_Z // Z
  74. #define LT_X KC_X // X
  75. #define LT_C KC_C // C
  76. #define LT_V KC_V // V
  77. #define LT_B KC_B // B
  78. #define LT_N KC_N // N
  79. #define LT_M KC_M // M
  80. #define LT_COMM KC_COMM // ,
  81. #define LT_DOT KC_DOT // .
  82. #define LT_SLSH KC_SLSH // /
  83. /* Shifted symbols
  84. *
  85. * ~ ( ) _
  86. *
  87. * { }
  88. *
  89. * : " │ | │ │
  90. *
  91. * < > ?
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define LT_TILD S(LT_GRV) // ~
  98. #define LT_LPRN S(LT_9) // (
  99. #define LT_RPRN S(LT_0) // )
  100. #define LT_UNDS S(LT_MINS) // *
  101. // Row 2
  102. #define LT_LCBR S(LT_LBRC) // {
  103. #define LT_RCBR S(LT_RBRC) // }
  104. // Row 3
  105. #define LT_COLN S(LT_SCLN) // ;
  106. #define LT_DQUO S(LT_QUOT) // "
  107. #define LT_PIPE S(LT_BSLS) // |
  108. // Row 4
  109. #define LT_LABK S(LT_COMM) // <
  110. #define LT_RABK S(LT_DOT) // >
  111. #define LT_QUES S(LT_SLSH) // ?
  112. /* AltGr symbols
  113. *
  114. * 1 2 3 4 5 6 7 8 =
  115. *
  116. *
  117. *
  118. *
  119. *
  120. *
  121. *
  122. *
  123. *
  124. */
  125. // Row 1
  126. #define LT_1 ALGR(LT_AOGO) // 1
  127. #define LT_2 ALGR(LT_CCAR) // 2
  128. #define LT_3 ALGR(LT_EOGO) // 3
  129. #define LT_4 ALGR(LT_EDOT) // 4
  130. #define LT_5 ALGR(LT_IOGO) // 5
  131. #define LT_6 ALGR(LT_SCAR) // 6
  132. #define LT_7 ALGR(LT_UOGO) // 7
  133. #define LT_8 ALGR(LT_UMAC) // 8
  134. #define LT_EQL ALGR(LT_PLUS) // =
  135. // Row 2
  136. #define LT_EURO ALGR(LT_E) // €
  137. /* Shift+AltGr symbols
  138. *
  139. * ! @ # $ % ^ & * +
  140. *
  141. *
  142. *
  143. *
  144. *
  145. *
  146. *
  147. *
  148. *
  149. */
  150. // Row 1
  151. #define LT_EXLM S(ALGR(LT_AOGO)) // !
  152. #define LT_AT S(ALGR(LT_CCAR)) // @
  153. #define LT_HASH S(ALGR(LT_EOGO)) // #
  154. #define LT_DLR S(ALGR(LT_EDOT)) // $
  155. #define LT_PERC S(ALGR(LT_IOGO)) // %
  156. #define LT_CIRC S(ALGR(LT_SCAR)) // ^
  157. #define LT_AMPR S(ALGR(LT_UOGO)) // &
  158. #define LT_ASTR S(ALGR(LT_UMAC)) // *
  159. #define LT_PLUS S(ALGR(LT_PLUS)) // +