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.

243 lines
12 KiB

  1. /* Copyright 2016 Stephen Bösebeck
  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. /* Alted symbols
  121. *
  122. * ¡ ¢ [ ] | { } ¿
  123. *
  124. * « ® Ω ¨ Ø π ±
  125. *
  126. * Å ƒ © ª º @ Œ Æ
  127. *
  128. * ¥ Ç ~ µ
  129. *
  130. *
  131. *
  132. */
  133. // Row 1
  134. #define DE_DLQU A(DE_CIRC) // „
  135. #define DE_IEXL A(DE_1) // ¡
  136. #define DE_LDQU A(DE_2) // “
  137. #define DE_PILC A(DE_3) // ¶
  138. #define DE_CENT A(DE_4) // ¢
  139. #define DE_LBRC A(DE_5) // [
  140. #define DE_RBRC A(DE_6) // ]
  141. #define DE_PIPE A(DE_7) // |
  142. #define DE_LCBR A(DE_8) // {
  143. #define DE_RCBR A(DE_9) // }
  144. #define DE_NEQL A(DE_0) // ≠
  145. #define DE_IQUE A(DE_SS) // ¿
  146. // Row 2
  147. #define DE_LDAQ A(DE_Q) // «
  148. #define DE_NARS A(DE_W) // ∑
  149. #define DE_EURO A(DE_E) // €
  150. #define DE_REGD A(DE_R) // ®
  151. #define DE_DAGG A(DE_T) // †
  152. #define DE_OMEG A(DE_Z) // Ω
  153. #define DE_DIAE A(DE_U) // ¨ (dead)
  154. #define DE_FRSL A(DE_I) // ⁄
  155. #define DE_OSTR A(DE_O) // Ø
  156. #define DE_PI A(DE_P) // π
  157. #define DE_BULT A(DE_UDIA) // •
  158. #define DE_PLMN A(DE_PLUS) // ±
  159. // Row 3
  160. #define DE_ARNG A(DE_A) // Å
  161. #define DE_SLQU A(DE_S) // ‚
  162. #define DE_PDIF A(DE_D) // ∂
  163. #define DE_FHK A(DE_F) // ƒ
  164. #define DE_COPY A(DE_G) // ©
  165. #define DE_FORD A(DE_H) // ª
  166. #define DE_MORD A(DE_J) // º
  167. #define DE_INCR A(DE_K) // ∆
  168. #define DE_AT A(DE_L) // @
  169. #define DE_OE A(DE_ODIA) // Œ
  170. #define DE_AE A(DE_ADIA) // Æ
  171. #define DE_LSQU A(DE_HASH) // ‘
  172. // Row 4
  173. #define DE_LTEQ A(DE_LABK) // ≤
  174. #define DE_YEN A(DE_Y) // ¥
  175. #define DE_AEQL A(DE_X) // ≈
  176. #define DE_CCCE A(DE_C) // Ç
  177. #define DE_SQRT A(DE_V) // √
  178. #define DE_INTG A(DE_B) // ∫
  179. #define DE_TILD A(DE_N) // ~ (dead)
  180. #define DE_MICR A(DE_M) // µ
  181. #define DE_INFN A(DE_COMM) // ∞
  182. #define DE_ELLP A(DE_DOT) // …
  183. #define DE_NDSH A(DE_MINS) // –
  184. /* Shift+Alted symbols
  185. *
  186. * ¬ £ \ ˜ · ¯ ˙ ˚
  187. *
  188. * » ¸ ˝ ˇ Á Û
  189. *
  190. * Í Ï Ì Ó ı
  191. *
  192. * Ù ˘ ˛ ÷
  193. *
  194. *
  195. *
  196. */
  197. // Row 1
  198. #define DE_NOT S(A(DE_1)) // ¬
  199. #define DE_RDQU S(A(DE_2)) // ”
  200. #define DE_PND S(A(DE_4)) // £
  201. #define DE_FI S(A(DE_5)) // fi
  202. #define DE_BSLS S(A(DE_7)) // (backslash)
  203. #define DE_STIL S(A(DE_8)) // ˜
  204. #define DE_MDDT S(A(DE_9)) // ·
  205. #define DE_MACR S(A(DE_0)) // ¯
  206. #define DE_DOTA S(A(DE_SS)) // ˙
  207. #define DE_RNGA S(A(DE_ACUT)) // ˚
  208. // Row 2
  209. #define DE_RDAQ S(A(DE_Q)) // »
  210. #define DE_PERM S(A(DE_E)) // ‰
  211. #define DE_CEDL S(A(DE_R)) // ¸
  212. #define DE_DACU S(A(DE_T)) // ˝
  213. #define DE_CARN S(A(DE_Z)) // ˇ
  214. #define DE_AACU S(A(DE_U)) // Á
  215. #define DE_UCIR S(A(DE_I)) // Û
  216. #define DE_NARP S(A(DE_P)) // ∏
  217. #define DE_APPL S(A(DE_PLUS)) //  (Apple logo)
  218. // Row 3
  219. #define DE_IACU S(A(DE_S)) // Í
  220. #define DE_TM S(A(DE_D)) // ™
  221. #define DE_IDIA S(A(DE_F)) // Ï
  222. #define DE_IGRV S(A(DE_G)) // Ì
  223. #define DE_OACU S(A(DE_H)) // Ó
  224. #define DE_DLSI S(A(DE_J)) // ı
  225. #define DE_FL S(A(DE_L)) // fl
  226. // Row 4
  227. #define DE_GTEQ S(A(DE_LABK)) // ≥
  228. #define DE_DDAG S(A(DE_Y)) // ‡
  229. #define DE_UGRV S(A(DE_X)) // Ù
  230. #define DE_LOZN S(A(DE_V)) // ◊
  231. #define DE_LSAQ S(A(DE_B)) // ‹
  232. #define DE_RSAQ S(A(DE_N)) // ›
  233. #define DE_BREV S(A(DE_M)) // ˘
  234. #define DE_OGON S(A(DE_COMM)) // ˛
  235. #define DE_DIV S(A(DE_DOT)) // ÷
  236. #define DE_MDSH S(A(DE_MINS)) // —