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 2015-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 F P G J L U Y ; [ ] \
  24. *
  25. * A R S T D H N E I O '
  26. *
  27. * Z X C V B K M , . /
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define CM_GRV KC_GRV // `
  34. #define CM_1 KC_1 // 1
  35. #define CM_2 KC_2 // 2
  36. #define CM_3 KC_3 // 3
  37. #define CM_4 KC_4 // 4
  38. #define CM_5 KC_5 // 5
  39. #define CM_6 KC_6 // 6
  40. #define CM_7 KC_7 // 7
  41. #define CM_8 KC_8 // 8
  42. #define CM_9 KC_9 // 9
  43. #define CM_0 KC_0 // 0
  44. #define CM_MINS KC_MINS // -
  45. #define CM_EQL KC_EQL // =
  46. // Row 2
  47. #define CM_Q KC_Q // Q
  48. #define CM_W KC_W // W
  49. #define CM_F KC_E // F
  50. #define CM_P KC_R // P
  51. #define CM_G KC_T // G
  52. #define CM_J KC_Y // J
  53. #define CM_L KC_U // L
  54. #define CM_U KC_I // U
  55. #define CM_Y KC_O // Y
  56. #define CM_SCLN KC_P // ;
  57. #define CM_LBRC KC_LBRC // [
  58. #define CM_RBRC KC_RBRC // ]
  59. #define CM_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define CM_A KC_A // A
  62. #define CM_R KC_S // R
  63. #define CM_S KC_D // S
  64. #define CM_T KC_F // T
  65. #define CM_D KC_G // D
  66. #define CM_H KC_H // H
  67. #define CM_N KC_J // N
  68. #define CM_E KC_K // E
  69. #define CM_I KC_L // I
  70. #define CM_O KC_SCLN // O
  71. #define CM_QUOT KC_QUOT // '
  72. // Row 4
  73. #define CM_Z KC_Z // Z
  74. #define CM_X KC_X // X
  75. #define CM_C KC_C // C
  76. #define CM_V KC_V // V
  77. #define CM_B KC_B // B
  78. #define CM_K KC_N // K
  79. #define CM_M KC_M // M
  80. #define CM_COMM KC_COMM // ,
  81. #define CM_DOT KC_DOT // .
  82. #define CM_SLSH KC_SLSH // /
  83. /* Shifted symbols
  84. *
  85. * ~ ! @ # $ % ^ & * ( ) _ +
  86. *
  87. * : { } |
  88. *
  89. * " │ │
  90. *
  91. * < > ?
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define CM_TILD S(CM_GRV) // ~
  98. #define CM_EXLM S(CM_1) // !
  99. #define CM_AT S(CM_2) // @
  100. #define CM_HASH S(CM_3) // #
  101. #define CM_DLR S(CM_4) // $
  102. #define CM_PERC S(CM_5) // %
  103. #define CM_CIRC S(CM_6) // ^
  104. #define CM_AMPR S(CM_7) // &
  105. #define CM_ASTR S(CM_8) // *
  106. #define CM_LPRN S(CM_9) // (
  107. #define CM_RPRN S(CM_0) // )
  108. #define CM_UNDS S(CM_MINS) // _
  109. #define CM_PLUS S(CM_EQL) // +
  110. // Row 2
  111. #define CM_COLN S(CM_SCLN) // :
  112. #define CM_LCBR S(CM_LBRC) // {
  113. #define CM_RCBR S(CM_RBRC) // }
  114. #define CM_PIPE S(CM_BSLS) // |
  115. // Row 3
  116. #define CM_DQUO S(CM_QUOT) // "
  117. // Row 4
  118. #define CM_LABK S(CM_COMM) // <
  119. #define CM_RABK S(CM_DOT) // >
  120. #define CM_QUES S(CM_SLSH) // /