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