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.

153 lines
7.9 KiB

  1. /* Copyright 2015-2016 Matthias Schmidtt
  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 DE_CIRC KC_GRV // ^ (dead)
  34. #define DE_1 KC_1 // 1
  35. #define DE_2 KC_2 // 2
  36. #define DE_3 KC_3 // 3
  37. #define DE_4 KC_4 // 4
  38. #define DE_5 KC_5 // 5
  39. #define DE_6 KC_6 // 6
  40. #define DE_7 KC_7 // 7
  41. #define DE_8 KC_8 // 8
  42. #define DE_9 KC_9 // 9
  43. #define DE_0 KC_0 // 0
  44. #define DE_SS KC_MINS // ß
  45. #define DE_ACUT KC_EQL // ´ (dead)
  46. // Row 2
  47. #define DE_Q KC_Q // Q
  48. #define DE_W KC_W // W
  49. #define DE_E KC_E // E
  50. #define DE_R KC_R // R
  51. #define DE_T KC_T // T
  52. #define DE_Z KC_Y // Z
  53. #define DE_U KC_U // U
  54. #define DE_I KC_I // I
  55. #define DE_O KC_O // O
  56. #define DE_P KC_P // P
  57. #define DE_UDIA KC_LBRC // Ü
  58. #define DE_PLUS KC_RBRC // +
  59. // Row 3
  60. #define DE_A KC_A // A
  61. #define DE_S KC_S // S
  62. #define DE_D KC_D // D
  63. #define DE_F KC_F // F
  64. #define DE_G KC_G // G
  65. #define DE_H KC_H // H
  66. #define DE_J KC_J // J
  67. #define DE_K KC_K // K
  68. #define DE_L KC_L // L
  69. #define DE_ODIA KC_SCLN // Ö
  70. #define DE_ADIA KC_QUOT // Ä
  71. #define DE_HASH KC_NUHS // #
  72. // Row 4
  73. #define DE_LABK KC_NUBS // <
  74. #define DE_Y KC_Z // Y
  75. #define DE_X KC_X // X
  76. #define DE_C KC_C // C
  77. #define DE_V KC_V // V
  78. #define DE_B KC_B // B
  79. #define DE_N KC_N // N
  80. #define DE_M KC_M // M
  81. #define DE_COMM KC_COMM // ,
  82. #define DE_DOT KC_DOT // .
  83. #define DE_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * ° ! " │ § │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │
  87. *
  88. * *
  89. *
  90. * '
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define DE_DEG S(DE_CIRC) // °
  99. #define DE_EXLM S(DE_1) // !
  100. #define DE_DQUO S(DE_2) // "
  101. #define DE_SECT S(DE_3) // §
  102. #define DE_DLR S(DE_4) // $
  103. #define DE_PERC S(DE_5) // %
  104. #define DE_AMPR S(DE_6) // &
  105. #define DE_SLSH S(DE_7) // /
  106. #define DE_LPRN S(DE_8) // (
  107. #define DE_RPRN S(DE_9) // )
  108. #define DE_EQL S(DE_0) // =
  109. #define DE_QUES S(DE_SS) // ?
  110. #define DE_GRV S(DE_ACUT) // ` (dead)
  111. // Row 2
  112. #define DE_ASTR S(DE_PLUS) // *
  113. // Row 3
  114. #define DE_QUOT S(DE_HASH) // '
  115. // Row 4
  116. #define DE_RABK S(DE_LABK) // >
  117. #define DE_SCLN S(DE_COMM) // ;
  118. #define DE_COLN S(DE_DOT) // :
  119. #define DE_UNDS S(DE_MINS) // _
  120. /* AltGr symbols
  121. *
  122. * ² ³ { [ ] } \
  123. *
  124. * @ ~
  125. *
  126. *
  127. *
  128. * | µ
  129. *
  130. *
  131. *
  132. */
  133. // Row 1
  134. #define DE_SUP2 ALGR(DE_2) // ²
  135. #define DE_SUP3 ALGR(DE_3) // ³
  136. #define DE_LCBR ALGR(DE_7) // {
  137. #define DE_LBRC ALGR(DE_8) // [
  138. #define DE_RBRC ALGR(DE_9) // ]
  139. #define DE_RCBR ALGR(DE_0) // }
  140. #define DE_BSLS ALGR(DE_SS) // (backslash)
  141. // Row 2
  142. #define DE_AT ALGR(DE_Q) // @
  143. #define DE_EURO ALGR(DE_E) // €
  144. #define DE_TILD ALGR(DE_PLUS) // ~
  145. // Row 4
  146. #define DE_PIPE ALGR(DE_LABK) // |
  147. #define DE_MICR ALGR(DE_M) // µ