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.

125 lines
5.9 KiB

  1. /* Copyright 2018 Jacob Jerrell
  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 D R W B J F U P ; [ ] \
  24. *
  25. * A S H T G Y N E O I '
  26. *
  27. * Z X C V M K L , . /
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define WK_GRV KC_GRV // `
  34. #define WK_1 KC_1 // 1
  35. #define WK_2 KC_2 // 2
  36. #define WK_3 KC_3 // 3
  37. #define WK_4 KC_4 // 4
  38. #define WK_5 KC_5 // 5
  39. #define WK_6 KC_6 // 6
  40. #define WK_7 KC_7 // 7
  41. #define WK_8 KC_8 // 8
  42. #define WK_9 KC_9 // 9
  43. #define WK_0 KC_0 // 0
  44. #define WK_MINS KC_MINS // -
  45. #define WK_EQL KC_EQL // =
  46. // Row 2
  47. #define WK_Q KC_Q // Q
  48. #define WK_D KC_W // D
  49. #define WK_R KC_E // R
  50. #define WK_W KC_R // W
  51. #define WK_B KC_T // B
  52. #define WK_J KC_Y // J
  53. #define WK_F KC_U // F
  54. #define WK_U KC_I // U
  55. #define WK_P KC_O // P
  56. #define WK_SCLN KC_P // ;
  57. #define WK_LBRC KC_LBRC // [
  58. #define WK_RBRC KC_RBRC // ]
  59. #define WK_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define WK_A KC_A // A
  62. #define WK_S KC_S // S
  63. #define WK_H KC_D // H
  64. #define WK_T KC_F // T
  65. #define WK_G KC_G // G
  66. #define WK_Y KC_H // Y
  67. #define WK_N KC_J // N
  68. #define WK_E KC_K // E
  69. #define WK_O KC_L // O
  70. #define WK_I KC_SCLN // I
  71. #define WK_QUOT KC_QUOT // '
  72. // Row 4
  73. #define WK_Z KC_Z // Z
  74. #define WK_X KC_X // X
  75. #define WK_C KC_C // C
  76. #define WK_V KC_V // V
  77. #define WK_M KC_B // M
  78. #define WK_K KC_N // K
  79. #define WK_L KC_M // L
  80. #define WK_COMM KC_COMM // ,
  81. #define WK_DOT KC_DOT // .
  82. #define WK_SLSH KC_SLSH // /
  83. /* Shifted symbols
  84. *
  85. * ~ ! @ # $ % ^ & * ( ) _ +
  86. *
  87. * : { } |
  88. *
  89. * " │ │
  90. *
  91. * < > ?
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define WK_TILD S(WK_GRV) // ~
  98. #define WK_EXLM S(WK_1) // !
  99. #define WK_AT S(WK_2) // @
  100. #define WK_HASH S(WK_3) // #
  101. #define WK_DLR S(WK_4) // $
  102. #define WK_PERC S(WK_5) // %
  103. #define WK_CIRC S(WK_6) // ^
  104. #define WK_AMPR S(WK_7) // &
  105. #define WK_ASTR S(WK_8) // *
  106. #define WK_LPRN S(WK_9) // (
  107. #define WK_RPRN S(WK_0) // )
  108. #define WK_UNDS S(WK_MINS) // _
  109. #define WK_PLUS S(WK_EQL) // +
  110. // Row 2
  111. #define WK_COLN S(WK_SCLN) // :
  112. #define WK_LCBR S(WK_LBRC) // {
  113. #define WK_RCBR S(WK_RBRC) // }
  114. #define WK_PIPE S(WK_BSLS) // |
  115. // Row 3
  116. #define WK_DQUO S(WK_QUOT) // "
  117. // Row 4
  118. #define WK_LABK S(WK_COMM) // <
  119. #define WK_RABK S(WK_DOT) // >
  120. #define WK_QUES S(WK_SLSH) // ?