aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_serbian.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_extras/keymap_serbian.h')
-rw-r--r--quantum/keymap_extras/keymap_serbian.h136
1 files changed, 136 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_serbian.h b/quantum/keymap_extras/keymap_serbian.h
new file mode 100644
index 000000000..3cde5820a
--- /dev/null
+++ b/quantum/keymap_extras/keymap_serbian.h
@@ -0,0 +1,136 @@
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 * │     │ Љ │ Њ │ Е │ Р │ Т │ З │ У │ И │ О │ П │ Ш │ Ђ │     │
28 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
29 * │      │ А │ С │ Д │ Ф │ Г │ Х │ Ј │ К │ Л │ Ч │ Ћ │ Ж │    │
30 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
31 * │    │ < │ Ѕ │ Џ │ Ц │ В │ Б │ Н │ М │ , │ . │ - │          │
32 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
33 * │    │    │    │                        │    │    │    │    │
34 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
35 */
36// Row 1
37#define RS_GRV KC_GRV // `
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 // ' (dead)
49#define RS_PLUS KC_EQL // +
50// Row 2
51#define RS_LJE KC_Q // Љ
52#define RS_NJE KC_W // Њ
53#define RS_IE KC_E // Е
54#define RS_ER KC_R // Р
55#define RS_TE KC_T // Т
56#define RS_ZE KC_Y // З
57#define RS_U KC_U // У
58#define RS_I KC_I // И
59#define RS_O KC_O // О
60#define RS_PE KC_P // П
61#define RS_SHA KC_LBRC // Ш
62#define RS_DJE KC_RBRC // Ђ
63// Row 3
64#define RS_A KC_A // А
65#define RS_ES KC_S // С
66#define RS_DE KC_D // Д
67#define RS_EF KC_F // Ф
68#define RS_GHE KC_G // Г
69#define RS_HA KC_H // Х
70#define RS_JE KC_J // Ј
71#define RS_KA KC_K // К
72#define RS_EL KC_L // Л
73#define RS_CHE KC_SCLN // Ч
74#define RS_TSHE KC_QUOT // Ћ
75#define RS_ZHE KC_NUHS // Ж
76// Row 4
77#define RS_LABK KC_NUBS // <
78#define RS_DZE KC_Z // Ѕ
79#define RS_DZHE KC_X // Џ
80#define RS_TSE KC_C // Ц
81#define RS_VE KC_V // В
82#define RS_BE KC_B // Б
83#define RS_EN KC_N // Н
84#define RS_EM KC_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_GRV) // ~
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 2
136#define RS_EURO ALGR(RS_IE) // €