1 /* Copyright 2018 Žan Pevec
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef KEYMAP_SLOVENIAN
19 #define KEYMAP_SLOVENIAN
24 #define ALGR(kc) RALT(kc)
25 #define SI_ALGR KC_RALT
73 #define SI_COMM KC_COMM
75 #define SI_PLUS KC_EQL // + and * and ~
76 #define SI_QOT KC_MINS // Single quote
77 #define SI_MINS KC_SLSH // - and _
80 #define SI_EXLM LSFT(KC_1) // !
81 #define SI_DQOT LSFT(KC_2) // "
82 #define SI_HASH LSFT(KC_3) // #
83 #define SI_DLR LSFT(KC_4) // $
84 #define SI_PERC LSFT(KC_5) // %
85 #define SI_AMPR LSFT(KC_6) // &
86 #define SI_SLSH LSFT(KC_7) // /
87 #define SI_LPRN LSFT(KC_8) // (
88 #define SI_RPRN LSFT(KC_9) // )
89 #define SI_EQL LSFT(KC_0) // =
90 #define SI_QST LSFT(SI_QOT) // ?
91 #define SI_ASTR LSFT(SI_PLUS) // *
92 #define SI_COLN LSFT(KC_DOT) // :
93 #define SI_SCLN LSFT(KC_COMM) // ;
94 #define SI_UNDS LSFT(SI_MINS) // _
96 // Alt Gr-ed characters
97 #define SI_CIRC ALGR(KC_3) // ^
98 #define SI_DEG ALGR(KC_5) // °
99 #define SI_GRV ALGR(KC_7) // `
100 #define SI_ACCU ALGR(KC_9) // ´
101 #define SI_LCBR ALGR(KC_B) // {
102 #define SI_RCBR ALGR(KC_N) // }
103 #define SI_LBRC ALGR(KC_F) // [
104 #define SI_RBRC ALGR(KC_G) // ]
105 #define SI_BSLS ALGR(KC_Q) // backslash
106 #define SI_AT ALGR(KC_V) // @
107 #define SI_EURO ALGR(KC_E) // €
108 #define SI_TILD ALGR(KC_1) // ~
109 #define SI_PIPE ALGR(KC_W) // |