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.

152 lines
7.8 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 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 IE_GRV KC_GRV // `
  34. #define IE_1 KC_1 // 1
  35. #define IE_2 KC_2 // 2
  36. #define IE_3 KC_3 // 3
  37. #define IE_4 KC_4 // 4
  38. #define IE_5 KC_5 // 5
  39. #define IE_6 KC_6 // 6
  40. #define IE_7 KC_7 // 7
  41. #define IE_8 KC_8 // 8
  42. #define IE_9 KC_9 // 9
  43. #define IE_0 KC_0 // 0
  44. #define IE_MINS KC_MINS // -
  45. #define IE_EQL KC_EQL // =
  46. // Row 2
  47. #define IE_Q KC_Q // Q
  48. #define IE_W KC_W // W
  49. #define IE_E KC_E // E
  50. #define IE_R KC_R // R
  51. #define IE_T KC_T // T
  52. #define IE_Y KC_Y // Y
  53. #define IE_U KC_U // U
  54. #define IE_I KC_I // I
  55. #define IE_O KC_O // O
  56. #define IE_P KC_P // P
  57. #define IE_LBRC KC_LBRC // [
  58. #define IE_RBRC KC_RBRC // ]
  59. // Row 3
  60. #define IE_A KC_A // A
  61. #define IE_S KC_S // S
  62. #define IE_D KC_D // D
  63. #define IE_F KC_F // F
  64. #define IE_G KC_G // G
  65. #define IE_H KC_H // H
  66. #define IE_J KC_J // J
  67. #define IE_K KC_K // K
  68. #define IE_L KC_L // L
  69. #define IE_SCLN KC_SCLN // ;
  70. #define IE_QUOT KC_QUOT // '
  71. #define IE_HASH KC_NUHS // #
  72. // Row 4
  73. #define IE_BSLS KC_NUBS // (backslash)
  74. #define IE_Z KC_Z // Z
  75. #define IE_X KC_X // X
  76. #define IE_C KC_C // C
  77. #define IE_V KC_V // V
  78. #define IE_B KC_B // B
  79. #define IE_N KC_N // N
  80. #define IE_M KC_M // M
  81. #define IE_COMM KC_COMM // ,
  82. #define IE_DOT KC_DOT // .
  83. #define IE_SLSH KC_SLSH // /
  84. /* Shifted symbols
  85. *
  86. * ¬ ! " │ £ │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │
  87. *
  88. * { }
  89. *
  90. * : @ ~
  91. *
  92. * | < > ?
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define IE_NOT S(IE_GRV) // ¬
  99. #define IE_EXLM S(IE_1) // !
  100. #define IE_DQUO S(IE_2) // "
  101. #define IE_PND S(IE_3) // £
  102. #define IE_DLR S(IE_4) // $
  103. #define IE_PERC S(IE_5) // %
  104. #define IE_CIRC S(IE_6) // ^
  105. #define IE_AMPR S(IE_7) // &
  106. #define IE_ASTR S(IE_8) // *
  107. #define IE_LPRN S(IE_9) // (
  108. #define IE_RPRN S(IE_0) // )
  109. #define IE_UNDS S(IE_MINS) // _
  110. #define IE_PLUS S(IE_EQL) // +
  111. // Row 2
  112. #define IE_LCBR S(IE_LBRC) // {
  113. #define IE_RCBR S(IE_RBRC) // }
  114. // Row 3
  115. #define IE_COLN S(IE_SCLN) // :
  116. #define IE_AT S(IE_QUOT) // @
  117. #define IE_TILD S(IE_HASH) // ~
  118. // Row 4
  119. #define IE_PIPE S(IE_BSLS) // |
  120. #define IE_LABK S(IE_COMM) // <
  121. #define IE_RABK S(IE_DOT) // >
  122. #define IE_QUES S(IE_SLSH) // ?
  123. /* AltGr symbols
  124. *
  125. * ¦
  126. *
  127. * É Ú Í Ó
  128. *
  129. * Á ´
  130. *
  131. *
  132. *
  133. *
  134. *
  135. */
  136. // Row 1
  137. #define IE_BRKP ALGR(IE_GRV) // ¦
  138. #define IE_EURO ALGR(IE_4) // €
  139. // Row 2
  140. #define IE_EACU ALGR(IE_E) // É
  141. #define IE_UACU ALGR(IE_U) // Ú
  142. #define IE_IACU ALGR(IE_I) // Í
  143. #define IE_OACU ALGR(IE_O) // Ó
  144. // Row 3
  145. #define IE_AACU ALGR(IE_A) // Á
  146. #define IE_ACUT ALGR(IE_QUOT) // ´ (dead)