keymap_spanish_dvorak.h 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /* Copyright 2020 José Andrés García
  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. /*
  19. * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
  20. * │ º │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ' │ ¡ │       │
  21. * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
  22. * │     │ . │ , │ Ñ │ P │ Y │ F │ G │ C │ H │ L │ ` │ + │     │
  23. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
  24. * │      │ A │ O │ E │ U │ I │ D │ R │ T │ N │ S │ ' │ Ç │    │
  25. * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
  26. * │    │ < │ - │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │          │
  27. * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  28. * │    │    │    │                        │    │    │    │    │
  29. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  30. */
  31. // Row 1
  32. #define DV_MORD KC_GRV // º
  33. #define DV_1 KC_1 // 1
  34. #define DV_2 KC_2 // 2
  35. #define DV_3 KC_3 // 3
  36. #define DV_4 KC_4 // 4
  37. #define DV_5 KC_5 // 5
  38. #define DV_6 KC_6 // 6
  39. #define DV_7 KC_7 // 7
  40. #define DV_8 KC_8 // 8
  41. #define DV_9 KC_9 // 9
  42. #define DV_0 KC_0 // 0
  43. #define DV_QUOT KC_MINS // '
  44. #define DV_IEXL KC_EQL // ¡
  45. // Row 2
  46. #define DV_DOT KC_Q // .
  47. #define DV_COMM KC_W // ,
  48. #define DV_NTIL KC_E // Ñ
  49. #define DV_P KC_R // P
  50. #define DV_Y KC_T // Y
  51. #define DV_F KC_Y // F
  52. #define DV_G KC_U // G
  53. #define DV_C KC_I // C
  54. #define DV_H KC_O // H
  55. #define DV_L KC_P // L
  56. #define DV_GRV KC_LBRC // ` (dead)
  57. #define DV_PLUS KC_RBRC // +
  58. // Row 3
  59. #define DV_A KC_A // A
  60. #define DV_O KC_S // O
  61. #define DV_E KC_D // E
  62. #define DV_U KC_F // U
  63. #define DV_I KC_G // I
  64. #define DV_D KC_H // D
  65. #define DV_R KC_J // R
  66. #define DV_T KC_K // T
  67. #define DV_N KC_L // N
  68. #define DV_S KC_SCLN // S
  69. #define DV_ACUT KC_QUOT // ´ (dead)
  70. #define DV_CCED KC_NUHS // Ç
  71. // Row 4
  72. #define DV_LABK KC_NUBS // <
  73. #define DV_MINS 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_FORD S(DV_MORD) // ª
  98. #define DV_EXLM S(DV_1) // !
  99. #define DV_DQUO S(DV_2) // "
  100. #define DV_BULT S(DV_3) // ·
  101. #define DV_DLR S(DV_4) // $
  102. #define DV_PERC S(DV_5) // %
  103. #define DV_AMPR S(DV_6) // &
  104. #define DV_SLSH S(DV_7) // /
  105. #define DV_LPRN S(DV_8) // (
  106. #define DV_RPRN S(DV_9) // )
  107. #define DV_EQL S(DV_0) // =
  108. #define DV_QUES S(DV_QUOT) // ?
  109. #define DV_IQUE S(DV_IEXL) // ¿
  110. // Row 2
  111. #define DV_COLN S(KC_DOT) // :
  112. #define DV_SCLN S(KC_COMM) // ;
  113. #define DV_CIRC S(DV_GRV) // ^ (dead)
  114. #define DV_ASTR S(DV_PLUS) // *
  115. // Row 3
  116. #define DV_DIAE S(DV_GRV) // ¨ (dead)
  117. // Row 4
  118. #define DV_RABK S(DV_LABK) // >
  119. #define DV_UNDS S(DV_MINS) // _
  120. /* AltGr symbols
  121. * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
  122. * │ \ │ | │ @ │ # │ ~ │ € │ ¬ │   │   │   │   │   │   │       │
  123. * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
  124. * │     │   │   │   │   │   │   │   │   │   │   │ [ │ ] │     │
  125. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
  126. * │      │   │   │   │   │   │   │   │   │   │   │ { │ } │    │
  127. * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
  128. * │    │   │   │   │   │   │   │   │   │   │   │   │          │
  129. * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  130. * │    │    │    │                        │    │    │    │    │
  131. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  132. */
  133. // Row 1
  134. #define DV_BSLS ALGR(DV_MORD) // (backslash)
  135. #define DV_PIPE ALGR(DV_1) // |
  136. #define DV_AT ALGR(DV_2) // @
  137. #define DV_HASH ALGR(DV_3) // #
  138. #define DV_TILD ALGR(DV_4) // ~
  139. #define DV_EURO ALGR(DV_5) // €
  140. #define DV_NOT ALGR(DV_6) // ¬
  141. // Row 2
  142. #define DV_LBRC ALGR(DV_GRV) // [
  143. #define DV_RBRC ALGR(DV_PLUS) // ]
  144. // Row 3
  145. #define DV_LCBR ALGR(DV_ACUT) // {
  146. #define DV_RCBR ALGR(DV_CCED) // }