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.

151 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. * / ' פ ם ן ו ט א ר ק ] [
  24. *
  25. * ף ך ל ח י ע כ ג ד ש , \
  26. *
  27. * ץ ת צ מ נ ה ב ס ז .
  28. *
  29. *
  30. *
  31. */
  32. // Row 1
  33. #define IL_SCLN KC_GRV // ;
  34. #define IL_1 KC_1 // 1
  35. #define IL_2 KC_2 // 2
  36. #define IL_3 KC_3 // 3
  37. #define IL_4 KC_4 // 4
  38. #define IL_5 KC_5 // 5
  39. #define IL_6 KC_6 // 6
  40. #define IL_7 KC_7 // 7
  41. #define IL_8 KC_8 // 8
  42. #define IL_9 KC_9 // 9
  43. #define IL_0 KC_0 // 0
  44. #define IL_MINS KC_MINS // -
  45. #define IL_EQL KC_EQL // =
  46. // Row 2
  47. #define IL_SLSH KC_Q // /
  48. #define IL_QUOT KC_W // '
  49. #define IL_QOF KC_E // ק
  50. #define IL_RESH KC_R // ר
  51. #define IL_ALEF KC_T // א
  52. #define IL_TET KC_Y // ט
  53. #define IL_VAV KC_U // ו
  54. #define IL_FNUN KC_I // ן
  55. #define IL_FMEM KC_O // ם
  56. #define IL_PE KC_P // פ
  57. #define IL_RBRC KC_LBRC // ]
  58. #define IL_LBRC KC_RBRC // [
  59. // Row 3
  60. #define IL_SHIN KC_A // ש
  61. #define IL_DALT KC_S // ד
  62. #define IL_GIML KC_D // ג
  63. #define IL_KAF KC_F // כ
  64. #define IL_AYIN KC_G // ע
  65. #define IL_YOD KC_H // י
  66. #define IL_HET KC_J // ח
  67. #define IL_LAMD KC_K // ל
  68. #define IL_FKAF KC_L // ך
  69. #define IL_FPE KC_SCLN // ף
  70. #define IL_COMM KC_QUOT // ,
  71. #define IL_BSLS KC_NUHS // (backslash)
  72. // Row 4
  73. #define IL_ZAYN KC_Z // ז
  74. #define IL_SMKH KC_X // ס
  75. #define IL_BET KC_C // ב
  76. #define IL_HE KC_V // ה
  77. #define IL_NUN KC_B // נ
  78. #define IL_MEM KC_N // מ
  79. #define IL_TSDI KC_M // צ
  80. #define IL_TAV KC_COMM // ת
  81. #define IL_FTSD KC_DOT // ץ
  82. #define IL_DOT KC_SLSH // .
  83. /* Shifted symbols
  84. *
  85. * ~ ! @ # $ % ^ & * ) ( _ +
  86. *
  87. * } {
  88. *
  89. * : " │ | │ │
  90. *
  91. * > < ?
  92. *
  93. *
  94. *
  95. */
  96. // Row 1
  97. #define IL_TILD S(IL_SCLN) // ~
  98. #define IL_EXLM S(IL_1) // !
  99. #define IL_AT S(IL_2) // @
  100. #define IL_PND S(IL_3) // #
  101. #define IL_DLR S(IL_4) // $
  102. #define IL_PERC S(IL_5) // %
  103. #define IL_CIRC S(IL_6) // ^
  104. #define IL_AMPR S(IL_7) // &
  105. #define IL_ASTR S(IL_8) // *
  106. #define IL_RPRN S(IL_9) // )
  107. #define IL_LPRN S(IL_0) // (
  108. #define IL_UNDS S(IL_MINS) // _
  109. #define IL_PLUS S(IL_EQL) // +
  110. // Row 2
  111. #define IL_RCBR S(IL_RBRC) // }
  112. #define IL_LCBR S(IL_LBRC) // {
  113. // Row 3
  114. #define IL_COLN S(IL_FPE) // :
  115. #define IL_DQUO S(IL_COMM) // "
  116. #define IL_PIPE S(IL_BSLS) // |
  117. // Row 4
  118. #define IL_RABK S(IL_TAV) // >
  119. #define IL_LABK S(IL_FTSD) // <
  120. #define IL_QUES S(IL_DOT) // ?
  121. /* AltGr symbols
  122. *
  123. * ° ×
  124. *
  125. * װ
  126. *
  127. * ײ ױ
  128. *
  129. * ÷
  130. *
  131. *
  132. *
  133. */
  134. // Row 1
  135. #define IL_EURO ALGR(IL_3) // €
  136. #define IL_SHKL ALGR(IL_4) // ₪
  137. #define IL_DEG ALGR(IL_5) // °
  138. #define IL_MUL ALGR(IL_8) // ×
  139. // Row 2
  140. #define IL_DVAV ALGR(IL_TET) // װ
  141. // Row 3
  142. #define IL_VYOD ALGR(IL_AYIN) // ױ
  143. #define IL_DYOD ALGR(IL_YOD) // ײ
  144. // Row 4
  145. #define IL_DIV ALGR(IL_DOT) // ÷