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.

152 lines
7.8 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 PL_GRV KC_GRV // `
  34. #define PL_1 KC_1 // 1
  35. #define PL_2 KC_2 // 2
  36. #define PL_3 KC_3 // 3
  37. #define PL_4 KC_4 // 4
  38. #define PL_5 KC_5 // 5
  39. #define PL_6 KC_6 // 6
  40. #define PL_7 KC_7 // 7
  41. #define PL_8 KC_8 // 8
  42. #define PL_9 KC_9 // 9
  43. #define PL_0 KC_0 // 0
  44. #define PL_MINS KC_MINS // -
  45. #define PL_EQL KC_EQL // =
  46. // Row 2
  47. #define PL_Q KC_Q // Q
  48. #define PL_W KC_W // W
  49. #define PL_E KC_E // E
  50. #define PL_R KC_R // R
  51. #define PL_T KC_T // T
  52. #define PL_Y KC_Y // Y
  53. #define PL_U KC_U // U
  54. #define PL_I KC_I // I
  55. #define PL_O KC_O // O
  56. #define PL_P KC_P // P
  57. #define PL_LBRC KC_LBRC // [
  58. #define PL_RBRC KC_RBRC // ]
  59. #define PL_BSLS KC_BSLS // (backslash)
  60. // Row 3
  61. #define PL_A KC_A // A
  62. #define PL_S KC_S // S
  63. #define PL_D KC_D // D
  64. #define PL_F KC_F // F
  65. #define PL_G KC_G // G
  66. #define PL_H KC_H // H
  67. #define PL_J KC_J // J
  68. #define PL_K KC_K // K
  69. #define PL_L KC_L // L
  70. #define PL_SCLN KC_SCLN // ;
  71. #define PL_QUOT KC_QUOT // '
  72. // Row 4
  73. #define PL_Z KC_Z // Z
  74. #define PL_X KC_X // X
  75. #define PL_C KC_C // C
  76. #define PL_V KC_V // V
  77. #define PL_B KC_B // B
  78. #define PL_N KC_N // N
  79. #define PL_M KC_M // M
  80. #define PL_COMM KC_COMM // ,
  81. #define PL_DOT KC_DOT // .
  82. #define PL_SLSH KC_SLSH // /
  83. /* Shifted symbols
  84. *
  85. * ~ ! @ # $ % ^ & * ( ) _ +
  86. *
  87. * { } |
  88. *
  89. * : " │ │
  90. *
  91. * < > ?
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define PL_TILD S(PL_GRV) // ~
  98. #define PL_EXLM S(PL_1) // !
  99. #define PL_AT S(PL_2) // @
  100. #define PL_HASH S(PL_3) // #
  101. #define PL_DLR S(PL_4) // $
  102. #define PL_PERC S(PL_5) // %
  103. #define PL_CIRC S(PL_6) // ^
  104. #define PL_AMPR S(PL_7) // &
  105. #define PL_ASTR S(PL_8) // *
  106. #define PL_LPRN S(PL_9) // (
  107. #define PL_RPRN S(PL_0) // )
  108. #define PL_UNDS S(PL_MINS) // _
  109. #define PL_PLUS S(PL_EQL) // +
  110. // Row 2
  111. #define PL_LCBR S(PL_LBRC) // {
  112. #define PL_RCBR S(PL_RBRC) // }
  113. #define PL_PIPE S(PL_BSLS) // |
  114. // Row 3
  115. #define PL_COLN S(PL_SCLN) // :
  116. #define PL_DQUO S(PL_QUOT) // "
  117. // Row 4
  118. #define PL_LABK S(PL_COMM) // <
  119. #define PL_RABK S(PL_DOT) // >
  120. #define PL_QUES S(PL_SLSH) // ?
  121. /* AltGr symbols
  122. *
  123. *
  124. *
  125. * Ę Ó
  126. *
  127. * Ą Ś Ł
  128. *
  129. * Ż Ź Ć Ń
  130. *
  131. *
  132. *
  133. */
  134. // Row 2
  135. #define PL_EOGO ALGR(PL_E) // Ę
  136. #define PL_EURO ALGR(PL_U) // €
  137. #define PL_OACU ALGR(PL_O) // Ó
  138. // Row 3
  139. #define PL_AOGO ALGR(PL_A) // Ą
  140. #define PL_SACU ALGR(PL_S) // Ś
  141. #define PL_LSTR ALGR(PL_L) // Ł
  142. // Row 4
  143. #define PL_ZDOT ALGR(PL_Z) // Ż
  144. #define PL_ZACU ALGR(PL_X) // Ź
  145. #define PL_CACU ALGR(PL_C) // Ć
  146. #define PL_NACU ALGR(PL_N) // Ń