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.

234 lines
12 KiB

  1. /* Copyright 2020
  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 PT_SECT KC_GRV // §
  34. #define PT_1 KC_1 // 1
  35. #define PT_2 KC_2 // 2
  36. #define PT_3 KC_3 // 3
  37. #define PT_4 KC_4 // 4
  38. #define PT_5 KC_5 // 5
  39. #define PT_6 KC_6 // 6
  40. #define PT_7 KC_7 // 7
  41. #define PT_8 KC_8 // 8
  42. #define PT_9 KC_9 // 9
  43. #define PT_0 KC_0 // 0
  44. #define PT_QUOT KC_MINS // '
  45. #define PT_PLUS KC_EQL // +
  46. // Row 2
  47. #define PT_Q KC_Q // Q
  48. #define PT_W KC_W // W
  49. #define PT_E KC_E // E
  50. #define PT_R KC_R // R
  51. #define PT_T KC_T // T
  52. #define PT_Y KC_Y // Y
  53. #define PT_U KC_U // U
  54. #define PT_I KC_I // I
  55. #define PT_O KC_O // O
  56. #define PT_P KC_P // P
  57. #define PT_MORD KC_LBRC // º
  58. #define PT_ACUT KC_RBRC // ´ (dead)
  59. // Row 3
  60. #define PT_A KC_A // A
  61. #define PT_S KC_S // S
  62. #define PT_D KC_D // D
  63. #define PT_F KC_F // F
  64. #define PT_G KC_G // G
  65. #define PT_H KC_H // H
  66. #define PT_J KC_J // J
  67. #define PT_K KC_K // K
  68. #define PT_L KC_L // L
  69. #define PT_CCED KC_SCLN // Ç
  70. #define PT_TILD KC_QUOT // ~ (dead)
  71. #define PT_BSLS KC_NUHS // (backslash)
  72. // Row 4
  73. #define PT_LABK KC_NUBS // <
  74. #define PT_Z KC_Z // Z
  75. #define PT_X KC_X // X
  76. #define PT_C KC_C // C
  77. #define PT_V KC_V // V
  78. #define PT_B KC_B // B
  79. #define PT_N KC_N // N
  80. #define PT_M KC_M // M
  81. #define PT_COMM KC_COMM // ,
  82. #define PT_DOT KC_DOT // .
  83. #define PT_MINS KC_SLSH // -
  84. /* Shifted symbols
  85. *
  86. * ± ! " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │ │
  87. *
  88. * ª `
  89. *
  90. * ^ |
  91. *
  92. * > ; : _
  93. *
  94. *
  95. *
  96. */
  97. // Row 1
  98. #define PT_PLMN S(PT_SECT) // ±
  99. #define PT_EXLM S(PT_1) // !
  100. #define PT_DQUO S(PT_2) // "
  101. #define PT_HASH S(PT_3) // #
  102. #define PT_DLR S(PT_4) // $
  103. #define PT_PERC S(PT_5) // %
  104. #define PT_AMPR S(PT_6) // &
  105. #define PT_SLSH S(PT_7) // /
  106. #define PT_LPRN S(PT_8) // (
  107. #define PT_RPRN S(PT_9) // )
  108. #define PT_EQL S(PT_0) // =
  109. #define PT_QUES S(PT_QUOT) // ?
  110. #define PT_ASTR S(PT_PLUS) // *
  111. // Row 2
  112. #define PT_FORD S(PT_MORD) // ª
  113. #define PT_GRV S(PT_ACUT) // ` (dead)
  114. // Row 3
  115. #define PT_CIRC S(PT_TILD) // ^ (dead)
  116. #define PT_PIPE S(PT_BSLS) // |
  117. // Row 4
  118. #define PT_RABK S(PT_LABK) // >
  119. #define PT_SCLN S(PT_COMM) // ;
  120. #define PT_COLN S(PT_DOT) // :
  121. #define PT_UNDS S(PT_MINS) // _
  122. /* Alted symbols
  123. *
  124. * @ £ ÷ [ ]
  125. *
  126. * Œ Æ ® ¥ ı Ø π ° ¨
  127. *
  128. * Å ß ƒ ˙ ˇ ¯ ¸ ˜
  129. *
  130. * Ω « © ¬ µ
  131. *
  132. *
  133. *
  134. */
  135. // Row 1
  136. #define PT_APPL A(PT_1) //  (Apple logo)
  137. #define PT_AT A(PT_2) // @
  138. #define PT_EURO A(PT_3) // €
  139. #define PT_PND A(PT_4) // £
  140. #define PT_PERM A(PT_5) // ‰
  141. #define PT_PILC A(PT_6) // ¶
  142. #define PT_DIV A(PT_7) // ÷
  143. #define PT_LBRC A(PT_8) // [
  144. #define PT_RBRC A(PT_9) // ]
  145. #define PT_NEQL A(PT_0) // ≠
  146. // Row 2
  147. #define PT_OE A(PT_Q) // Œ
  148. #define PT_NARS A(PT_W) // ∑
  149. #define PT_AE A(PT_E) // Æ
  150. #define PT_REGD A(PT_R) // ®
  151. #define PT_TM A(PT_T) // ™
  152. #define PT_YEN A(PT_Y) // ¥
  153. #define PT_DAGG A(PT_U) // †
  154. #define PT_DLSI A(PT_I) // ı
  155. #define PT_OSTR A(PT_O) // Ø
  156. #define PT_PI A(PT_P) // π
  157. #define PT_DEG A(PT_MORD) // °
  158. #define PT_DIAE A(PT_ACUT) // ¨ (dead)
  159. // Row 3
  160. #define PT_ARNG A(PT_A) // å
  161. #define PT_SS A(PT_S) // ß
  162. #define PT_PDIF A(PT_D) // ∂
  163. #define PT_FHK A(PT_F) // ƒ
  164. #define PT_DOTA A(PT_G) // ˙
  165. #define PT_CARN A(PT_H) // ˇ
  166. #define PT_MACR A(PT_J) // ¯
  167. #define PT_DLQU A(PT_K) // „
  168. #define PT_LSQU A(PT_L) // ‘
  169. #define PT_CEDL A(PT_CCED) // ¸
  170. #define PT_STIL A(PT_TILD) // ˜ (dead)
  171. #define PT_LSAQ A(PT_BSLS) // ‹
  172. // Row 4
  173. #define PT_LTEQ A(PT_LABK) // ≤
  174. #define PT_OMEG A(PT_Z) // Ω
  175. #define PT_LDAQ A(PT_X) // «
  176. #define PT_COPY A(PT_C) // ©
  177. #define PT_SQRT A(PT_V) // √
  178. #define PT_INTG A(PT_B) // ∫
  179. #define PT_NOT A(PT_N) // ¬
  180. #define PT_MICR A(PT_M) // µ
  181. #define PT_LDQU A(PT_COMM) // “
  182. #define PT_ELLP A(PT_DOT) // …
  183. #define PT_MDSH A(PT_MINS) // —
  184. /* Shift+Alted symbols
  185. *
  186. * ¡ ¢ { } ¿
  187. *
  188. * ˚ ˝
  189. *
  190. * ˛ ˆ
  191. *
  192. * » ·
  193. *
  194. *
  195. *
  196. */
  197. // Row 1
  198. #define PT_IEXL S(A(PT_1)) // ¡
  199. #define PT_FI S(A(PT_2)) // fi
  200. #define PT_FL S(A(PT_3)) // fl
  201. #define PT_CENT S(A(PT_4)) // ¢
  202. #define PT_INFN S(A(PT_5)) // ∞
  203. #define PT_BULT S(A(PT_6)) // •
  204. #define PT_FRSL S(A(PT_7)) // ⁄
  205. #define PT_LCBR S(A(PT_8)) // {
  206. #define PT_RCBR S(A(PT_9)) // }
  207. #define PT_AEQL S(A(PT_0)) // ≈
  208. #define PT_IQUE S(A(PT_QUOT)) // ¿
  209. #define PT_LOZN S(A(PT_PLUS)) // ◊
  210. // Row 2
  211. #define PT_DDAG S(A(PT_U)) // ‡
  212. #define PT_RNGA S(A(PT_I)) // ˚
  213. #define PT_NARP S(A(PT_P)) // ∏
  214. #define PT_DACU S(A(PT_ACUT)) // ˝
  215. // Row 3
  216. #define PT_INCR S(A(PT_D)) // ∆
  217. #define PT_SLQU S(A(PT_K)) // ‚
  218. #define PT_RSQU S(A(PT_L)) // ’
  219. #define PT_OGON S(A(PT_CCED)) // ˛
  220. #define PT_DCIR S(A(PT_TILD)) // ˆ (dead)
  221. #define PT_RSAQ S(A(PT_BSLS)) // ›
  222. // Row 4
  223. #define PT_GTEQ S(A(PT_LABK)) // ≥
  224. #define PT_RDAQ S(A(PT_X)) // »
  225. #define PT_RDQU S(A(PT_COMM)) // ”
  226. #define PT_MDDT S(A(PT_DOT)) // ·
  227. #define PT_NDSH S(A(PT_MINS)) // –