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.9 KiB

  1. /* Copyright 2016 Jack Humbert
  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 NO_PIPE KC_GRV // |
  34. #define NO_1 KC_1 // 1
  35. #define NO_2 KC_2 // 2
  36. #define NO_3 KC_3 // 3
  37. #define NO_4 KC_4 // 4
  38. #define NO_5 KC_5 // 5
  39. #define NO_6 KC_6 // 6
  40. #define NO_7 KC_7 // 7
  41. #define NO_8 KC_8 // 8
  42. #define NO_9 KC_9 // 9
  43. #define NO_0 KC_0 // 0
  44. #define NO_PLUS KC_MINS // +
  45. #define NO_BSLS KC_EQL // (backslash)
  46. // Row 2
  47. #define NO_Q KC_Q // Q
  48. #define NO_W KC_W // W
  49. #define NO_E KC_E // E
  50. #define NO_R KC_R // R
  51. #define NO_T KC_T // T
  52. #define NO_Y KC_Y // Y
  53. #define NO_U KC_U // U
  54. #define NO_I KC_I // I
  55. #define NO_O KC_O // O
  56. #define NO_P KC_P // P
  57. #define NO_ARNG KC_LBRC // Å
  58. #define NO_DIAE KC_RBRC // ¨ (dead)
  59. // Row 3
  60. #define NO_A KC_A // A
  61. #define NO_S KC_S // S
  62. #define NO_D KC_D // D
  63. #define NO_F KC_F // F
  64. #define NO_G KC_G // G
  65. #define NO_H KC_H // H
  66. #define NO_J KC_J // J
  67. #define NO_K KC_K // K
  68. #define NO_L KC_L // L
  69. #define NO_OSTR KC_SCLN // Ø
  70. #define NO_AE KC_QUOT // Æ
  71. #define NO_QUOT KC_NUHS // '
  72. // Row 4
  73. #define NO_LABK KC_NUBS // <
  74. #define NO_Z KC_Z // Z
  75. #define NO_X KC_X // X
  76. #define NO_C KC_C // C
  77. #define NO_V KC_V // V
  78. #define NO_B KC_B // B
  79. #define NO_N KC_N // N
  80. #define NO_M KC_M // M
  81. #define NO_COMM KC_COMM // ,
  82. #define NO_DOT KC_DOT // .
  83. #define NO_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * § ! " │ # │ ¤ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │
  87. *
  88. * ^
  89. *
  90. * *
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define NO_SECT S(NO_PIPE) // §
  99. #define NO_EXLM S(NO_1) // !
  100. #define NO_DQUO S(NO_2) // "
  101. #define NO_HASH S(NO_3) // #
  102. #define NO_CURR S(NO_4) // ¤
  103. #define NO_PERC S(NO_5) // %
  104. #define NO_AMPR S(NO_6) // &
  105. #define NO_SLSH S(NO_7) // /
  106. #define NO_LPRN S(NO_8) // (
  107. #define NO_RPRN S(NO_9) // )
  108. #define NO_EQL S(NO_0) // =
  109. #define NO_QUES S(NO_PLUS) // ?
  110. #define NO_GRV S(NO_BSLS) // ` (dead)
  111. // Row 2
  112. #define NO_CIRC S(NO_DIAE) // ^ (dead)
  113. // Row 3
  114. #define NO_ASTR S(NO_QUOT) // *
  115. // Row 4
  116. #define NO_RABK S(NO_LABK) // >
  117. #define NO_SCLN S(NO_COMM) // ;
  118. #define NO_COLN S(NO_DOT) // :
  119. #define NO_UNDS S(NO_MINS) // _
  120. /* AltGr symbols
  121. *
  122. * @ £ $ { [ ] } ´
  123. *
  124. * ~
  125. *
  126. *
  127. *
  128. * µ
  129. *
  130. *
  131. *
  132. */
  133. // Row 1
  134. #define NO_AT ALGR(NO_2) // @
  135. #define NO_PND ALGR(NO_3) // £
  136. #define NO_DLR ALGR(NO_4) // $
  137. #define NO_EURO ALGR(NO_5) // €
  138. #define NO_LCBR ALGR(NO_7) // {
  139. #define NO_LBRC ALGR(NO_8) // [
  140. #define NO_RBRC ALGR(NO_9) // ]
  141. #define NO_RCBR ALGR(NO_0) // }
  142. #define NO_ACUT ALGR(NO_BSLS) // ´ (dead)
  143. // Row 2
  144. #define NO_TILD ALGR(NO_DIAE) // ~ (dead)
  145. // Row 4
  146. #define NO_MICR ALGR(NO_M) // µ