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.

171 lines
8.3 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. * ² & é " │ ' │ ( │ § │ è │ ! │ ç │ à │ ) │ - │ │
  22. *
  23. * A Z E R T Y U I O P ^ $
  24. *
  25. * Q S D F G H J K L M ù µ
  26. *
  27. * < W X C V B N , ; : =
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define BE_SUP2 KC_GRV // ²
  34. #define BE_AMPR KC_1 // &
  35. #define BE_EACU KC_2 // é
  36. #define BE_DQUO KC_3 // "
  37. #define BE_QUOT KC_4 // '
  38. #define BE_LPRN KC_5 // (
  39. #define BE_SECT KC_6 // §
  40. #define BE_EGRV KC_7 // è
  41. #define BE_EXLM KC_8 // !
  42. #define BE_CCED KC_9 // ç
  43. #define BE_AGRV KC_0 // à
  44. #define BE_RPRN KC_MINS // )
  45. #define BE_MINS KC_EQL // -
  46. // Row 2
  47. #define BE_A KC_Q // A
  48. #define BE_Z KC_W // Z
  49. #define BE_E KC_E // E
  50. #define BE_R KC_R // R
  51. #define BE_T KC_T // T
  52. #define BE_Y KC_Y // Y
  53. #define BE_U KC_U // U
  54. #define BE_I KC_I // I
  55. #define BE_O KC_O // O
  56. #define BE_P KC_P // P
  57. #define BE_DCIR KC_LBRC // ^ (dead)
  58. #define BE_DLR KC_RBRC // $
  59. // Row 3
  60. #define BE_Q KC_A // Q
  61. #define BE_S KC_S // S
  62. #define BE_D KC_D // D
  63. #define BE_F KC_F // F
  64. #define BE_G KC_G // G
  65. #define BE_H KC_H // H
  66. #define BE_J KC_J // J
  67. #define BE_K KC_K // K
  68. #define BE_L KC_L // L
  69. #define BE_M KC_SCLN // M
  70. #define BE_UGRV KC_QUOT // ù
  71. #define BE_MICR KC_NUHS // µ
  72. // Row 4
  73. #define BE_LABK KC_NUBS // <
  74. #define BE_W KC_Z // W
  75. #define BE_X KC_X // X
  76. #define BE_C KC_C // C
  77. #define BE_V KC_V // V
  78. #define BE_B KC_B // B
  79. #define BE_N KC_N // N
  80. #define BE_COMM KC_M // ,
  81. #define BE_SCLN KC_COMM // ;
  82. #define BE_COLN KC_DOT // :
  83. #define BE_EQL KC_SLSH // =
  84. /* Shifted symbols
  85. *
  86. * ³ 1 2 3 4 5 6 7 8 9 0 ° _
  87. *
  88. * ¨ *
  89. *
  90. * % £
  91. *
  92. * > ? . / +
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define BE_SUP3 S(BE_SUP2) // ³
  99. #define BE_1 S(BE_AMPR) // 1
  100. #define BE_2 S(BE_EACU) // 2
  101. #define BE_3 S(BE_DQUO) // 3
  102. #define BE_4 S(BE_QUOT) // 4
  103. #define BE_5 S(BE_LPRN) // 5
  104. #define BE_6 S(BE_SECT) // 6
  105. #define BE_7 S(BE_EGRV) // 7
  106. #define BE_8 S(BE_EXLM) // 8
  107. #define BE_9 S(BE_CCED) // 9
  108. #define BE_0 S(BE_AGRV) // 0
  109. #define BE_DEG S(BE_RPRN) // °
  110. #define BE_UNDS S(BE_MINS) // _
  111. // Row 2
  112. #define BE_DIAE S(BE_DCIR) // ¨ (dead)
  113. #define BE_ASTR S(BE_DLR) // *
  114. // Row 3
  115. #define BE_PERC S(BE_UGRV) // %
  116. #define BE_PND S(BE_MICR) // £
  117. // Row 4
  118. #define BE_RABK S(BE_LABK) // >
  119. #define BE_QUES S(BE_COMM) // ?
  120. #define BE_DOT S(BE_SCLN) // .
  121. #define BE_SLSH S(BE_COLN) // /
  122. #define BE_PLUS S(BE_EQL) // +
  123. /* AltGr symbols
  124. *
  125. * | @ # ^ { }
  126. *
  127. * [ ]
  128. *
  129. * ´ `
  130. *
  131. * \ ~
  132. *
  133. *
  134. *
  135. */
  136. // Row 1
  137. #define BE_PIPE ALGR(BE_AMPR) // |
  138. #define BE_AT ALGR(BE_EACU) // @
  139. #define BE_HASH ALGR(BE_DQUO) // #
  140. #define BE_CIRC ALGR(BE_SECT) // ^
  141. #define BE_LCBR ALGR(BE_CCED) // {
  142. #define BE_RCBR ALGR(BE_AGRV) // }
  143. // Row 2
  144. #define BE_EURO ALGR(BE_E) // €
  145. #define BE_LBRC ALGR(BE_DCIR) // [
  146. #define BE_RBRC ALGR(BE_DLR) // ]
  147. // Row 3
  148. #define BE_ACUT ALGR(BE_UGRV) // ´ (dead)
  149. #define BE_GRV ALGR(BE_MICR) // ` (dead)
  150. // Row 4
  151. #define BE_BSLS ALGR(BE_LABK) // (backslash)
  152. #define BE_TILD ALGR(BE_EQL) // ~
  153. // DEPRECATED
  154. #define BE_AMP BE_AMPR
  155. #define BE_APOS BE_QUOT
  156. #define BE_PARA BE_SECT
  157. #define BE_MU BE_MICR
  158. #define BE_LESS BE_LABK
  159. #define BE_OVRR BE_DEG
  160. #define BE_UMLT BE_DIAE
  161. #define BE_GRTR BE_RABK
  162. #define BE_LSBR BE_LBRC
  163. #define BE_RSBR BE_RBRC
  164. #define BE_TILT BE_TILD