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. * ' , . P Y F G C R L / = \
  24. *
  25. * A O E U I D H T N S -
  26. *
  27. * ; Q J K X B M W V Z
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define DV_GRV KC_GRV // `
  34. #define DV_1 KC_1 // 1
  35. #define DV_2 KC_2 // 2
  36. #define DV_3 KC_3 // 3
  37. #define DV_4 KC_4 // 4
  38. #define DV_5 KC_5 // 5
  39. #define DV_6 KC_6 // 6
  40. #define DV_7 KC_7 // 7
  41. #define DV_8 KC_8 // 8
  42. #define DV_9 KC_9 // 9
  43. #define DV_0 KC_0 // 0
  44. #define DV_LBRC KC_MINS // [
  45. #define DV_RBRC KC_EQL // ]
  46. // Row 2
  47. #define DV_QUOT KC_Q // '
  48. #define DV_COMM KC_W // ,
  49. #define DV_DOT KC_E // .
  50. #define DV_P KC_R // P
  51. #define DV_Y KC_T // Y
  52. #define DV_F KC_Y // F
  53. #define DV_G KC_U // G
  54. #define DV_C KC_I // C
  55. #define DV_R KC_O // R
  56. #define DV_L KC_P // L
  57. #define DV_SLSH KC_LBRC // /
  58. #define DV_EQL KC_RBRC // =
  59. #define DV_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define DV_A KC_A // A
  62. #define DV_O KC_S // O
  63. #define DV_E KC_D // E
  64. #define DV_U KC_F // U
  65. #define DV_I KC_G // I
  66. #define DV_D KC_H // D
  67. #define DV_H KC_J // H
  68. #define DV_T KC_K // T
  69. #define DV_N KC_L // N
  70. #define DV_S KC_SCLN // S
  71. #define DV_MINS KC_QUOT // -
  72. // Row 4
  73. #define DV_SCLN KC_Z // ;
  74. #define DV_Q KC_X // Q
  75. #define DV_J KC_C // J
  76. #define DV_K KC_V // K
  77. #define DV_X KC_B // X
  78. #define DV_B KC_N // B
  79. #define DV_M KC_M // M
  80. #define DV_W KC_COMM // W
  81. #define DV_V KC_DOT // V
  82. #define DV_Z KC_SLSH // Z
  83. /* Shifted symbols
  84. *
  85. * ~ ! @ # $ % ^ & * ( ) { }
  86. *
  87. * " │ < │ > │ │ │ │ │ │ │ │ ? │ + │ | │
  88. *
  89. * _
  90. *
  91. * :
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define DV_TILD S(DV_GRV) // ~
  98. #define DV_EXLM S(DV_1) // !
  99. #define DV_AT S(DV_2) // @
  100. #define DV_HASH S(DV_3) // #
  101. #define DV_DLR S(DV_4) // $
  102. #define DV_PERC S(DV_5) // %
  103. #define DV_CIRC S(DV_6) // ^
  104. #define DV_AMPR S(DV_7) // &
  105. #define DV_ASTR S(DV_8) // *
  106. #define DV_LPRN S(DV_9) // (
  107. #define DV_RPRN S(DV_0) // )
  108. #define DV_LCBR S(DV_LBRC) // {
  109. #define DV_RCBR S(DV_RBRC) // }
  110. // Row 2
  111. #define DV_DQUO S(DV_QUOT) // "
  112. #define DV_LABK S(DV_COMM) // <
  113. #define DV_RABK S(DV_DOT) // >
  114. #define DV_QUES S(DV_SLSH) // ?
  115. #define DV_PLUS S(DV_EQL) // +
  116. #define DV_PIPE S(DV_BSLS) // |
  117. // Row 3
  118. #define DV_UNDS S(DV_MINS) // _
  119. // Row 4
  120. #define DV_COLN S(DV_SCLN) // :