keymap_spanish.h 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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 │ E │ R │ T │ Y │ U │ I │ O │ P │ ` │ + │ │
  24. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
  25. * │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ñ │ ´ │ Ç │ │
  26. * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
  27. * │ │ < │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ - │ │
  28. * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  29. * │ │ │ │ │ │ │ │ │
  30. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  31. */
  32. // Row 1
  33. #define ES_MORD KC_GRV // º
  34. #define ES_1 KC_1 // 1
  35. #define ES_2 KC_2 // 2
  36. #define ES_3 KC_3 // 3
  37. #define ES_4 KC_4 // 4
  38. #define ES_5 KC_5 // 5
  39. #define ES_6 KC_6 // 6
  40. #define ES_7 KC_7 // 7
  41. #define ES_8 KC_8 // 8
  42. #define ES_9 KC_9 // 9
  43. #define ES_0 KC_0 // 0
  44. #define ES_QUOT KC_MINS // '
  45. #define ES_IEXL KC_EQL // ¡
  46. // Row 2
  47. #define ES_Q KC_Q // Q
  48. #define ES_W KC_W // W
  49. #define ES_E KC_E // E
  50. #define ES_R KC_R // R
  51. #define ES_T KC_T // T
  52. #define ES_Y KC_Y // Y
  53. #define ES_U KC_U // U
  54. #define ES_I KC_I // I
  55. #define ES_O KC_O // O
  56. #define ES_P KC_P // P
  57. #define ES_GRV KC_LBRC // ` (dead)
  58. #define ES_PLUS KC_RBRC // +
  59. // Row 3
  60. #define ES_A KC_A // A
  61. #define ES_S KC_S // S
  62. #define ES_D KC_D // D
  63. #define ES_F KC_F // F
  64. #define ES_G KC_G // G
  65. #define ES_H KC_H // H
  66. #define ES_J KC_J // J
  67. #define ES_K KC_K // K
  68. #define ES_L KC_L // L
  69. #define ES_NTIL KC_SCLN // Ñ
  70. #define ES_ACUT KC_QUOT // ´ (dead)
  71. #define ES_CCED KC_NUHS // Ç
  72. // Row 4
  73. #define ES_LABK KC_NUBS // <
  74. #define ES_Z KC_Z // Z
  75. #define ES_X KC_X // X
  76. #define ES_C KC_C // C
  77. #define ES_V KC_V // V
  78. #define ES_B KC_B // B
  79. #define ES_N KC_N // N
  80. #define ES_M KC_M // M
  81. #define ES_COMM KC_COMM // ,
  82. #define ES_DOT KC_DOT // .
  83. #define ES_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
  86. * │ ª │ ! │ " │ · │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ ¿ │ │
  87. * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
  88. * │ │ │ │ │ │ │ │ │ │ │ │ ^ │ * │ │
  89. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
  90. * │ │ │ │ │ │ │ │ │ │ │ │ ¨ │ │ │
  91. * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
  92. * │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │
  93. * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  94. * │ │ │ │ │ │ │ │ │
  95. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  96. */
  97. // Row 1
  98. #define ES_FORD S(ES_MORD) // ª
  99. #define ES_EXLM S(ES_1) // !
  100. #define ES_DQUO S(ES_2) // "
  101. #define ES_BULT S(ES_3) // ·
  102. #define ES_DLR S(ES_4) // $
  103. #define ES_PERC S(ES_5) // %
  104. #define ES_AMPR S(ES_6) // &
  105. #define ES_SLSH S(ES_7) // /
  106. #define ES_LPRN S(ES_8) // (
  107. #define ES_RPRN S(ES_9) // )
  108. #define ES_EQL S(ES_0) // =
  109. #define ES_QUES S(ES_QUOT) // ?
  110. #define ES_IQUE S(ES_IEXL) // ¿
  111. // Row 2
  112. #define ES_CIRC S(ES_GRV) // ^ (dead)
  113. #define ES_ASTR S(ES_PLUS) // *
  114. // Row 3
  115. #define ES_DIAE S(ES_ACUT) // ¨ (dead)
  116. // Row 4
  117. #define ES_RABK S(ES_LABK) // >
  118. #define ES_SCLN S(KC_COMM) // ;
  119. #define ES_COLN S(KC_DOT) // :
  120. #define ES_UNDS S(ES_MINS) // _
  121. /* AltGr symbols
  122. * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
  123. * │ \ │ | │ @ │ # │ ~ │ € │ ¬ │ │ │ │ │ │ │ │
  124. * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
  125. * │ │ │ │ │ │ │ │ │ │ │ │ [ │ ] │ │
  126. * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
  127. * │ │ │ │ │ │ │ │ │ │ │ │ { │ } │ │
  128. * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
  129. * │ │ │ │ │ │ │ │ │ │ │ │ │ │
  130. * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
  131. * │ │ │ │ │ │ │ │ │
  132. * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
  133. */
  134. // Row 1
  135. #define ES_BSLS ALGR(ES_MORD) // (backslash)
  136. #define ES_PIPE ALGR(ES_1) // |
  137. #define ES_AT ALGR(ES_2) // @
  138. #define ES_HASH ALGR(ES_3) // #
  139. #define ES_TILD ALGR(ES_4) // ~
  140. #define ES_EURO ALGR(ES_5) // €
  141. #define ES_NOT ALGR(ES_6) // ¬
  142. // Row 2
  143. #define ES_LBRC ALGR(ES_GRV) // [
  144. #define ES_RBRC ALGR(ES_PLUS) // ]
  145. // Row 3
  146. #define ES_LCBR ALGR(ES_ACUT) // {
  147. #define ES_RCBR ALGR(ES_CCED) // }