aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_serbian_latin.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_extras/keymap_serbian_latin.h')
-rw-r--r--quantum/keymap_extras/keymap_serbian_latin.h164
1 files changed, 164 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_serbian_latin.h b/quantum/keymap_extras/keymap_serbian_latin.h
new file mode 100644
index 000000000..363b7fdc1
--- /dev/null
+++ b/quantum/keymap_extras/keymap_serbian_latin.h
@@ -0,0 +1,164 @@
1/* Copyright 2020
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
17#pragma once
18
19#include "keymap.h"
20
21// clang-format off
22
23/*
24 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
25 * │ ‚ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ' │ + │       │
26 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
27 * │     │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │ Š │ Đ │     │
28 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
29 * │      │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Č │ Ć │ Ž │    │
30 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
31 * │    │ < │ Y │ X │ C │ V │ B │ N │ M │ , │ . │ - │          │
32 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
33 * │    │    │    │                        │    │    │    │    │
34 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
35 */
36// Row 1
37#define RS_SLQU KC_GRV // ‚ (dead)
38#define RS_1 KC_1 // 1
39#define RS_2 KC_2 // 2
40#define RS_3 KC_3 // 3
41#define RS_4 KC_4 // 4
42#define RS_5 KC_5 // 5
43#define RS_6 KC_6 // 6
44#define RS_7 KC_7 // 7
45#define RS_8 KC_8 // 8
46#define RS_9 KC_9 // 9
47#define RS_0 KC_0 // 0
48#define RS_QUOT KC_MINS // '
49#define RS_PLUS KC_EQL // +
50// Row 2
51#define RS_Q KC_Q // Q
52#define RS_W KC_W // W
53#define RS_E KC_E // E
54#define RS_R KC_R // R
55#define RS_T KC_T // T
56#define RS_Z KC_Y // Z
57#define RS_U KC_U // U
58#define RS_I KC_I // I
59#define RS_O KC_O // O
60#define RS_P KC_P // P
61#define RS_SCAR KC_LBRC // Š
62#define RS_DSTR KC_RBRC // Đ
63// Row 3
64#define RS_A KC_A // A
65#define RS_S KC_S // S
66#define RS_D KC_D // D
67#define RS_F KC_F // F
68#define RS_G KC_G // G
69#define RS_H KC_H // H
70#define RS_J KC_J // J
71#define RS_K KC_K // K
72#define RS_L KC_L // L
73#define RS_CCAR KC_SCLN // Č
74#define RS_CACU KC_QUOT // Ć
75#define RS_ZCAR KC_NUHS // Ž
76// Row 4
77#define RS_LABK KC_NUBS // <
78#define RS_Y KC_Z // Y
79#define RS_X KC_X // X
80#define RS_C KC_C // C
81#define RS_V KC_V // V
82#define RS_B KC_B // B
83#define RS_N KC_N // N
84#define RS_M KC_M // M
85#define RS_COMM KC_COMM // ,
86#define RS_DOT KC_DOT // .
87#define RS_MINS KC_SLSH // -
88
89/* Shifted symbols
90 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
91 * │ ~ │ ! │ " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │       │
92 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
93 * │     │   │   │   │   │   │   │   │   │   │   │   │   │     │
94 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
95 * │      │   │   │   │   │   │   │   │   │   │   │   │   │    │
96 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
97 * │    │ > │   │   │   │   │   │   │   │ ; │ : │ _ │          │
98 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
99 * │    │    │    │                        │    │    │    │    │
100 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
101 */
102// Row 1
103#define RS_TILD S(RS_SLQU) // ~
104#define RS_EXLM S(RS_1) // !
105#define RS_DQUO S(RS_2) // "
106#define RS_HASH S(RS_3) // #
107#define RS_DLR S(RS_4) // $
108#define RS_PERC S(RS_5) // %
109#define RS_AMPR S(RS_6) // &
110#define RS_SLSH S(RS_7) // /
111#define RS_LPRN S(RS_8) // (
112#define RS_RPRN S(RS_9) // )
113#define RS_EQL S(RS_0) // =
114#define RS_DEG S(RS_QUOT) // ?
115#define RS_UNDS S(RS_PLUS) // *
116// Row 4
117#define RS_RABK S(RS_LABK) // >
118#define RS_SCLN S(RS_COMM) // ;
119#define RS_COLN S(RS_DOT) // :
120#define RS_UNDS S(RS_MINS) // _
121
122/* AltGr symbols
123 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
124 * │   │   │ ˇ │ ^ │ ˘ │ ° │ ˛ │ ` │ ˙ │ ´ │ ˝ │ ¨ │ ¸ │       │
125 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
126 * │     │ \ │ | │ € │   │   │   │   │   │   │   │ ÷ │ × │     │
127 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
128 * │      │   │   │   │ [ │ ] │   │   │ ł │ Ł │   │ ß │ ¤ │    │
129 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
130 * │    │   │   │   │   │ @ │ { │ } │ § │   │   │   │          │
131 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
132 * │    │    │    │                        │    │    │    │    │
133 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
134 */
135// Row 1
136#define RS_CARN ALGR(RS_2) // ˇ (dead)
137#define RS_CIRC ALGR(RS_3) // ^ (dead)
138#define RS_BREV ALGR(RS_4) // ˘ (dead)
139#define RS_RNGA ALGR(RS_5) // ° (dead)
140#define RS_OGON ALGR(RS_6) // ˛ (dead)
141#define RS_GRV ALGR(RS_7) // `
142#define RS_DOTA ALGR(RS_8) // ˙ (dead)
143#define RS_ACUT ALGR(RS_9) // ´ (dead)
144#define RS_DACU ALGR(RS_0) // ˝ (dead)
145#define RS_DIAE ALGR(RS_QUOT) // ¨ (dead)
146#define RS_CEDL ALGR(RS_PLUS) // ¸ (dead)
147// Row 2
148#define RS_BSLS ALGR(RS_Q) // (backslash)
149#define RS_PIPE ALGR(RS_W) // |
150#define RS_EURO ALGR(RS_E) // €
151#define RS_DIV ALGR(RS_SCAR) // ÷
152#define RS_MUL ALGR(RS_DSTR) // ×
153// Row 3
154#define RS_LBRC ALGR(RS_F) // [
155#define RS_RBRC ALGR(RS_G) // ]
156#define RS_LLST ALGR(RS_K) // ł
157#define RS_CLST ALGR(RS_L) // Ł
158#define RS_SS ALGR(RS_CACU) // ß
159#define RS_CURR ALGR(RS_ZCAR) // ¤
160// Row 4
161#define RS_AT ALGR(RS_V) // @
162#define RS_LCBR ALGR(RS_B) // {
163#define RS_RCBR ALGR(RS_N) // }
164#define RS_SECT ALGR(RS_M) // §