keymap_hungarian.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /* Copyright 2018 fuge
  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. #ifndef KEYMAP_HUNGARIAN
  17. #define KEYMAP_HUNGARIAN
  18. #include "keymap.h"
  19. // Alt gr
  20. #define ALGR(kc) RALT(kc)
  21. #define HU_ALGR KC_RALT
  22. // basic letters
  23. #define HU_Z KC_Y
  24. #define HU_Y KC_Z
  25. #define HU_A KC_A
  26. #define HU_B KC_B
  27. #define HU_C KC_C
  28. #define HU_D KC_D
  29. #define HU_E KC_E
  30. #define HU_F KC_F
  31. #define HU_G KC_G
  32. #define HU_H KC_H
  33. #define HU_I KC_I
  34. #define HU_J KC_J
  35. #define HU_K KC_K
  36. #define HU_L KC_L
  37. #define HU_M KC_M
  38. #define HU_N KC_N
  39. #define HU_O KC_O
  40. #define HU_P KC_P
  41. #define HU_Q KC_Q
  42. #define HU_R KC_R
  43. #define HU_S KC_S
  44. #define HU_T KC_T
  45. #define HU_U KC_U
  46. #define HU_V KC_V
  47. #define HU_W KC_W
  48. #define HU_X KC_X
  49. // num row
  50. #define HU_0 KC_GRV
  51. #define HU_1 KC_1
  52. #define HU_2 KC_2
  53. #define HU_3 KC_3
  54. #define HU_4 KC_4
  55. #define HU_5 KC_5
  56. #define HU_6 KC_6
  57. #define HU_7 KC_7
  58. #define HU_8 KC_8
  59. #define HU_9 KC_9
  60. #define HU_OE KC_0
  61. #define HU_UE KC_MINS
  62. #define HU_OO KC_EQL
  63. // q row
  64. #define HU_OEE KC_LBRC
  65. #define HU_UU KC_RBRC
  66. // a row
  67. #define HU_EE KC_SCLN
  68. #define HU_AA KC_QUOT
  69. #define HU_UEE KC_NUHS
  70. #define HU_MINS KC_SLSH // -
  71. #define HU_DOT KC_DOT
  72. #define HU_COMM KC_COMM
  73. // shifted characters
  74. // num row
  75. #define HU_PARA LSFT(HU_0) // §
  76. #define HU_QUOT LSFT(HU_1) // '
  77. #define HU_DQOT LSFT(HU_2) // "
  78. #define HU_PLUS LSFT(HU_3) // +
  79. #define HU_EXLM LSFT(HU_4) // !
  80. #define HU_PERC LSFT(HU_5) // %
  81. #define HU_SLSH LSFT(HU_6) // /
  82. #define HU_EQL LSFT(HU_7) // =
  83. #define HU_LPRN LSFT(HU_8) // (
  84. #define HU_RPRN LSFT(HU_9) // )
  85. // í,y row
  86. #define HU_II KC_NUBS
  87. #define HU_QST LSFT(HU_COMM) // ?
  88. #define HU_COLN LSFT(HU_DOT) // :
  89. #define HU_UNDS LSFT(HU_MINS) // _
  90. // Alt Gr'd characters
  91. // num row
  92. #define HU_TILD ALGR(HU_1) // ~
  93. //#define HU_?? ALGR(HU_2) // ˇ (proper name?)
  94. #define HU_CIRC ALGR(HU_3) // ^
  95. #define HU_BRV ALGR(HU_4) // ˘
  96. #define HU_RING ALGR(HU_5) // °
  97. //#define HU_?? ALGR(HU_6) // ˛ (proper name?)
  98. #define HU_GRV ALGR(HU_7) // `
  99. //#define HU_?? ALGR(HU_8) // ˙ (proper name?)
  100. #define HU_ACUT ALGR(HU_9) // ´
  101. // q row
  102. #define HU_BSLS ALGR(HU_Q) // \ backslash
  103. #define HU_PIPE ALGR(HU_W) // |
  104. #define HU_DIV ALGR(HU_OEE) // ÷
  105. #define HU_CRSS ALGR(HU_UU) // ×
  106. #define HU_EURO ALGR(HU_U) // €
  107. // a row
  108. #define HU_LBRC ALGR(HU_F) // [
  109. #define HU_RBRC ALGR(HU_G) // ]
  110. #define HU_DLR ALGR(HU_EE) // $
  111. #define HU_SS ALGR(HU_AA) // ß
  112. // í,y row
  113. #define HU_LESS ALGR(KC_NUBS) // <
  114. #define HU_MORE ALGR(HU_Y) // >
  115. #define HU_HASH ALGR(HU_X) // #
  116. #define HU_AMPR ALGR(HU_C) // &
  117. #define HU_AT ALGR(HU_V) // @
  118. #define HU_LCBR ALGR(HU_B)// {
  119. #define HU_RCBR ALGR(HU_N) // }
  120. #define HU_SCLN ALGR(HU_COMM) // ;
  121. #define HU_ASTR ALGR(HU_MINS) // *
  122. #endif