keymap_norman.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* Copyright 2019 Torben Hoffmann
  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 │ D │ F │ K │ J │ U │ R │ L │ ; │ [ │ ] │ \ │
  24. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
  25. * │ │ A │ S │ E │ T │ G │ Y │ N │ I │ O │ H │ ' │ │
  26. * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
  27. * │ │ Z │ X │ C │ V │ B │ P │ M │ , │ . │ / │ │
  28. * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  29. * │ │ │ │ │ │ │ │ │
  30. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  31. */
  32. // Row 1
  33. #define NM_GRV KC_GRV // `
  34. #define NM_1 KC_1 // 1
  35. #define NM_2 KC_2 // 2
  36. #define NM_3 KC_3 // 3
  37. #define NM_4 KC_4 // 4
  38. #define NM_5 KC_5 // 5
  39. #define NM_6 KC_6 // 6
  40. #define NM_7 KC_7 // 7
  41. #define NM_8 KC_8 // 8
  42. #define NM_9 KC_9 // 9
  43. #define NM_0 KC_0 // 0
  44. #define NM_MINS KC_MINS // -
  45. #define NM_EQL KC_EQL // =
  46. // Row 2
  47. #define NM_Q KC_Q // Q
  48. #define NM_W KC_W // W
  49. #define NM_D KC_E // D
  50. #define NM_F KC_R // F
  51. #define NM_K KC_T // K
  52. #define NM_J KC_Y // J
  53. #define NM_U KC_U // U
  54. #define NM_R KC_I // R
  55. #define NM_L KC_O // L
  56. #define NM_SCLN KC_P // ;
  57. #define NM_LBRC KC_LBRC // [
  58. #define NM_RBRC KC_RBRC // ]
  59. #define NM_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define NM_A KC_A // A
  62. #define NM_S KC_S // S
  63. #define NM_E KC_D // E
  64. #define NM_T KC_F // T
  65. #define NM_G KC_G // G
  66. #define NM_Y KC_H // Y
  67. #define NM_N KC_J // N
  68. #define NM_I KC_K // I
  69. #define NM_O KC_L // O
  70. #define NM_H KC_SCLN // H
  71. #define NM_QUOT KC_QUOT // '
  72. // Row 4
  73. #define NM_Z KC_Z // Z
  74. #define NM_X KC_X // X
  75. #define NM_C KC_C // C
  76. #define NM_V KC_V // V
  77. #define NM_B KC_B // B
  78. #define NM_P KC_N // P
  79. #define NM_M KC_M // M
  80. #define NM_COMM KC_COMM // ,
  81. #define NM_DOT KC_DOT // .
  82. #define NM_SLSH KC_SLSH // /
  83. /* Shifted symbols
  84. * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
  85. * │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │
  86. * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
  87. * │ │ │ │ │ │ │ │ │ │ │ : │ { │ } │ | │
  88. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
  89. * │ │ │ │ │ │ │ │ │ │ │ │ " │ │
  90. * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
  91. * │ │ │ │ │ │ │ │ │ < │ > │ ? │ │
  92. * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  93. * │ │ │ │ │ │ │ │ │
  94. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  95. */
  96. // Row 1
  97. #define NM_TILD S(NM_GRV) // ~
  98. #define NM_EXLM S(NM_1) // !
  99. #define NM_AT S(NM_2) // @
  100. #define NM_HASH S(NM_3) // #
  101. #define NM_DLR S(NM_4) // $
  102. #define NM_PERC S(NM_5) // %
  103. #define NM_CIRC S(NM_6) // ^
  104. #define NM_AMPR S(NM_7) // &
  105. #define NM_ASTR S(NM_8) // *
  106. #define NM_LPRN S(NM_9) // (
  107. #define NM_RPRN S(NM_0) // )
  108. #define NM_UNDS S(NM_MINS) // _
  109. #define NM_PLUS S(NM_EQL) // +
  110. // Row 2
  111. #define NM_COLN S(NM_SCLN) // :
  112. #define NM_LCBR S(NM_LBRC) // {
  113. #define NM_RCBR S(NM_RBRC) // }
  114. #define NM_PIPE S(NM_BSLS) // |
  115. // Row 3
  116. #define NM_DQUO S(NM_QUOT) // "
  117. // Row 4
  118. #define NM_LABK S(NM_COMM) // <
  119. #define NM_RABK S(NM_DOT) // >
  120. #define NM_QUES S(NM_SLSH) // ?