]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_slovenian.h
Remove ALTG(kc) as it's misleading and is not actually AltGr (#4338)
[qmk_firmware.git] / quantum / keymap_extras / keymap_slovenian.h
1 /* Copyright 2018 Žan Pevec
2
3  *
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.
8  *
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.
13  *
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/>.
16  */
17
18 #ifndef KEYMAP_SLOVENIAN
19 #define KEYMAP_SLOVENIAN
20
21 #include "keymap.h"
22
23 // Alt gr
24 #define ALGR(kc) RALT(kc)
25 #define SI_ALGR KC_RALT
26
27 //Swapped Z and Y
28 #define SI_Z KC_Y
29 #define SI_Y KC_Z
30
31 //Special characters
32 #define SI_CV KC_SCLN
33 #define SI_SV KC_LBRC
34 #define SI_ZV KC_BSLS
35
36 #define SI_A KC_A
37 #define SI_B KC_B
38 #define SI_C KC_C
39 #define SI_D KC_D
40 #define SI_E KC_E
41 #define SI_F KC_F
42 #define SI_G KC_G
43 #define SI_H KC_H
44 #define SI_I KC_I
45 #define SI_J KC_J
46 #define SI_K KC_K
47 #define SI_L KC_L
48 #define SI_M KC_M
49 #define SI_N KC_N
50 #define SI_O KC_O
51 #define SI_P KC_P
52 #define SI_Q KC_Q
53 #define SI_R KC_R
54 #define SI_S KC_S
55 #define SI_T KC_T
56 #define SI_U KC_U
57 #define SI_V KC_V
58 #define SI_W KC_W
59 #define SI_X KC_X
60
61 #define SI_0 KC_0
62 #define SI_1 KC_1
63 #define SI_2 KC_2
64 #define SI_3 KC_3
65 #define SI_4 KC_4
66 #define SI_5 KC_5
67 #define SI_6 KC_6
68 #define SI_7 KC_7
69 #define SI_8 KC_8
70 #define SI_9 KC_9
71
72 #define SI_DOT KC_DOT
73 #define SI_COMM KC_COMM
74
75 #define SI_PLUS KC_EQL // + and * and ~
76 #define SI_QOT KC_MINS // Single quote
77 #define SI_MINS KC_SLSH // - and _
78
79 // shifted characters
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) // _
95
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) // |
110
111 #endif