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.

160 lines
8.1 KiB

  1. /* Copyright 2017 Potiguar Faga
  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 BR_QUOT KC_GRV // '
  34. #define BR_1 KC_1 // 1
  35. #define BR_2 KC_2 // 2
  36. #define BR_3 KC_3 // 3
  37. #define BR_4 KC_4 // 4
  38. #define BR_5 KC_5 // 5
  39. #define BR_6 KC_6 // 6
  40. #define BR_7 KC_7 // 7
  41. #define BR_8 KC_8 // 8
  42. #define BR_9 KC_9 // 9
  43. #define BR_0 KC_0 // 0
  44. #define BR_MINS KC_MINS // -
  45. #define BR_EQL KC_EQL // =
  46. // Row 2
  47. #define BR_Q KC_Q // Q
  48. #define BR_W KC_W // W
  49. #define BR_E KC_E // E
  50. #define BR_R KC_R // R
  51. #define BR_T KC_T // T
  52. #define BR_Y KC_Y // Y
  53. #define BR_U KC_U // U
  54. #define BR_I KC_I // I
  55. #define BR_O KC_O // O
  56. #define BR_P KC_P // P
  57. #define BR_ACUT KC_LBRC // ´ (dead)
  58. #define BR_LBRC KC_RBRC // [
  59. // Row 3
  60. #define BR_A KC_A // A
  61. #define BR_S KC_S // S
  62. #define BR_D KC_D // D
  63. #define BR_F KC_F // F
  64. #define BR_G KC_G // G
  65. #define BR_H KC_H // H
  66. #define BR_J KC_J // J
  67. #define BR_K KC_K // K
  68. #define BR_L KC_L // L
  69. #define BR_CCED KC_SCLN // Ç
  70. #define BR_TILD KC_QUOT // ~ (dead)
  71. #define BR_RBRC KC_BSLS // ]
  72. // Row 4
  73. #define BR_BSLS KC_NUBS // (backslash)
  74. #define BR_Z KC_Z // Z
  75. #define BR_X KC_X // X
  76. #define BR_C KC_C // C
  77. #define BR_V KC_V // V
  78. #define BR_B KC_B // B
  79. #define BR_N KC_N // N
  80. #define BR_M KC_M // M
  81. #define BR_COMM KC_COMM // ,
  82. #define BR_DOT KC_DOT // .
  83. #define BR_SCLN KC_SLSH // ;
  84. #define BR_SLSH KC_INT1 // /
  85. // Numpad
  86. #define BR_PDOT KC_PCMM // .
  87. #define BR_PCMM KC_PDOT // ,
  88. /* Shifted symbols
  89. *
  90. * " │ ! │ @ │ # │ $ │ % │ ¨ │ & │ * │ ( │ ) │ _ │ + │ │
  91. *
  92. * ` {
  93. *
  94. * ^ }
  95. *
  96. * | < > : ?
  97. *
  98. *
  99. *
  100. */
  101. // Row 1
  102. #define BR_DQUO S(BR_QUOT) // "
  103. #define BR_EXLM S(BR_1) // !
  104. #define BR_AT S(BR_2) // @
  105. #define BR_HASH S(BR_3) // #
  106. #define BR_DLR S(BR_4) // $
  107. #define BR_PERC S(BR_5) // %
  108. #define BR_DIAE S(BR_6) // ¨ (dead)
  109. #define BR_AMPR S(BR_7) // &
  110. #define BR_ASTR S(BR_8) // *
  111. #define BR_LPRN S(BR_9) // (
  112. #define BR_RPRN S(BR_0) // )
  113. #define BR_UNDS S(BR_MINS) // _
  114. #define BR_PLUS S(BR_EQL) // +
  115. // Row 2
  116. #define BR_GRV S(BR_ACUT) // ` (dead)
  117. #define BR_LCBR S(BR_LBRC) // {
  118. // Row 3
  119. #define BR_CIRC S(BR_TILD) // ^ (dead)
  120. #define BR_RCBR S(BR_RBRC) // }
  121. // Row 4
  122. #define BR_PIPE S(BR_BSLS) // |
  123. #define BR_LABK S(BR_COMM) // <
  124. #define BR_RABK S(BR_DOT) // >
  125. #define BR_COLN S(BR_SCLN) // :
  126. #define BR_QUES S(BR_SLSH) // ?
  127. /* AltGr symbols
  128. *
  129. * ¹ ² ³ £ ¢ ¬ §
  130. *
  131. * ° ª
  132. *
  133. * º
  134. *
  135. *
  136. *
  137. *
  138. *
  139. */
  140. // Row 1
  141. #define BR_SUP1 ALGR(BR_1) // ¹
  142. #define BR_SUP2 ALGR(BR_2) // ²
  143. #define BR_SUP3 ALGR(BR_3) // ³
  144. #define BR_PND ALGR(BR_4) // £
  145. #define BR_CENT ALGR(BR_5) // ¢
  146. #define BR_NOT ALGR(BR_6) // ¬
  147. #define BR_SECT ALGR(BR_EQL) // §
  148. // Row 2
  149. #define BR_DEG ALGR(BR_E) // °
  150. #define BR_FORD ALGR(BR_LBRC) // ª
  151. // Row 3
  152. #define BR_MORD ALGR(BR_RBRC) // º
  153. // Row 4
  154. #define BR_CRUZ ALGR(BR_C) // ₢