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.

107 lines
2.7 KiB

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