keymap_slovenian.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* Copyright 2018 Žan Pevec
  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_SLOVENIAN
  17. #define KEYMAP_SLOVENIAN
  18. #include "keymap.h"
  19. // Alt gr
  20. #define ALGR(kc) RALT(kc)
  21. #define SI_ALGR KC_RALT
  22. //Swapped Z and Y
  23. #define SI_Z KC_Y
  24. #define SI_Y KC_Z
  25. //Special characters
  26. #define SI_CV KC_SCLN
  27. #define SI_SV KC_LBRC
  28. #define SI_ZV KC_BSLS
  29. #define SI_A KC_A
  30. #define SI_B KC_B
  31. #define SI_C KC_C
  32. #define SI_D KC_D
  33. #define SI_E KC_E
  34. #define SI_F KC_F
  35. #define SI_G KC_G
  36. #define SI_H KC_H
  37. #define SI_I KC_I
  38. #define SI_J KC_J
  39. #define SI_K KC_K
  40. #define SI_L KC_L
  41. #define SI_M KC_M
  42. #define SI_N KC_N
  43. #define SI_O KC_O
  44. #define SI_P KC_P
  45. #define SI_Q KC_Q
  46. #define SI_R KC_R
  47. #define SI_S KC_S
  48. #define SI_T KC_T
  49. #define SI_U KC_U
  50. #define SI_V KC_V
  51. #define SI_W KC_W
  52. #define SI_X KC_X
  53. #define SI_0 KC_0
  54. #define SI_1 KC_1
  55. #define SI_2 KC_2
  56. #define SI_3 KC_3
  57. #define SI_4 KC_4
  58. #define SI_5 KC_5
  59. #define SI_6 KC_6
  60. #define SI_7 KC_7
  61. #define SI_8 KC_8
  62. #define SI_9 KC_9
  63. #define SI_DOT KC_DOT
  64. #define SI_COMM KC_COMM
  65. #define SI_PLUS KC_EQL // + and * and ~
  66. #define SI_QOT KC_MINS // Single quote
  67. #define SI_MINS KC_SLSH // - and _
  68. // shifted characters
  69. #define SI_EXLM LSFT(KC_1) // !
  70. #define SI_DQOT LSFT(KC_2) // "
  71. #define SI_HASH LSFT(KC_3) // #
  72. #define SI_DLR LSFT(KC_4) // $
  73. #define SI_PERC LSFT(KC_5) // %
  74. #define SI_AMPR LSFT(KC_6) // &
  75. #define SI_SLSH LSFT(KC_7) // /
  76. #define SI_LPRN LSFT(KC_8) // (
  77. #define SI_RPRN LSFT(KC_9) // )
  78. #define SI_EQL LSFT(KC_0) // =
  79. #define SI_QST LSFT(SI_QOT) // ?
  80. #define SI_ASTR LSFT(SI_PLUS) // *
  81. #define SI_COLN LSFT(KC_DOT) // :
  82. #define SI_SCLN LSFT(KC_COMM) // ;
  83. #define SI_UNDS LSFT(SI_MINS) // _
  84. // Alt Gr-ed characters
  85. #define SI_CIRC ALGR(KC_3) // ^
  86. #define SI_DEG ALGR(KC_5) // °
  87. #define SI_GRV ALGR(KC_7) // `
  88. #define SI_ACCU ALGR(KC_9) // ´
  89. #define SI_LCBR ALGR(KC_B) // {
  90. #define SI_RCBR ALGR(KC_N) // }
  91. #define SI_LBRC ALGR(KC_F) // [
  92. #define SI_RBRC ALGR(KC_G) // ]
  93. #define SI_BSLS ALGR(KC_Q) // backslash
  94. #define SI_AT ALGR(KC_V) // @
  95. #define SI_EURO ALGR(KC_E) // €
  96. #define SI_TILD ALGR(KC_1) // ~
  97. #define SI_PIPE ALGR(KC_W) // |
  98. #endif