aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_romanian.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_extras/keymap_romanian.h')
-rw-r--r--quantum/keymap_extras/keymap_romanian.h188
1 files changed, 188 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_romanian.h b/quantum/keymap_extras/keymap_romanian.h
new file mode 100644
index 000000000..e2b8483df
--- /dev/null
+++ b/quantum/keymap_extras/keymap_romanian.h
@@ -0,0 +1,188 @@
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 │ Y │ U │ I │ O │ P │ Ă │ Î │     │
28 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
29 * │      │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ș │ Ț │ Â │    │
30 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
31 * │    │ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │          │
32 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
33 * │    │    │    │                        │    │    │    │    │
34 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
35 */
36// Row 1
37#define RO_DLQU KC_GRV // „
38#define RO_1 KC_1 // 1
39#define RO_2 KC_2 // 2
40#define RO_3 KC_3 // 3
41#define RO_4 KC_4 // 4
42#define RO_5 KC_5 // 5
43#define RO_6 KC_6 // 6
44#define RO_7 KC_7 // 7
45#define RO_8 KC_8 // 8
46#define RO_9 KC_9 // 9
47#define RO_0 KC_0 // 0
48#define RO_MINS KC_MINS // -
49#define RO_EQL KC_EQL // =
50// Row 2
51#define RO_Q KC_Q // Q
52#define RO_W KC_W // W
53#define RO_E KC_E // E
54#define RO_R KC_R // R
55#define RO_T KC_T // T
56#define RO_Y KC_Y // Y
57#define RO_U KC_U // U
58#define RO_I KC_I // I
59#define RO_O KC_O // O
60#define RO_P KC_P // P
61#define RO_ABRV KC_LBRC // Ă
62#define RO_ICIR KC_RBRC // Î
63// Row 3
64#define RO_A KC_A // A
65#define RO_S KC_S // S
66#define RO_D KC_D // D
67#define RO_F KC_F // F
68#define RO_G KC_G // G
69#define RO_H KC_H // H
70#define RO_J KC_J // J
71#define RO_K KC_K // K
72#define RO_L KC_L // L
73#define RO_SCOM KC_SCLN // Ș
74#define RO_TCOM KC_QUOT // Ț
75#define RO_ACIR KC_NUHS // Â
76// Row 4
77#define RO_BSLS KC_NUBS // (backslash)
78#define RO_Z KC_Z // Z
79#define RO_X KC_X // X
80#define RO_C KC_C // C
81#define RO_V KC_V // V
82#define RO_B KC_B // B
83#define RO_N KC_N // N
84#define RO_M KC_M // M
85#define RO_COMM KC_COMM // ,
86#define RO_DOT KC_DOT // .
87#define RO_SLSH KC_SLSH // /
88
89/* Shifted symbols
90 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
91 * │ ” │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │       │
92 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
93 * │     │   │   │   │   │   │   │   │   │   │   │   │   │     │
94 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
95 * │      │   │   │   │   │   │   │   │   │   │   │   │   │    │
96 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
97 * │    │ | │   │   │   │   │   │   │   │ ; │ : │ ? │          │
98 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
99 * │    │    │    │                        │    │    │    │    │
100 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
101 */
102// Row 1
103#define RO_RDQU S(RO_DLQU) // ”
104#define RO_EXLM S(RO_1) // !
105#define RO_AT S(RO_2) // @
106#define RO_HASH S(RO_3) // #
107#define RO_DLR S(RO_4) // $
108#define RO_PERC S(RO_5) // %
109#define RO_CIRC S(RO_6) // ^
110#define RO_AMPR S(RO_7) // &
111#define RO_ASTR S(RO_8) // *
112#define RO_LPRN S(RO_9) // (
113#define RO_RPRN S(RO_0) // )
114#define RO_UNDS S(RO_MINS) // _
115#define RO_PLUS S(RO_EQL) // +
116// Row 4
117#define RO_PIPE S(RO_BSLS) // |
118#define RO_SCLN S(RO_COMM) // ;
119#define RO_COLN S(RO_DOT) // :
120#define RO_QUES S(RO_SLSH) // ?
121
122/* AltGr symbols
123 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
124 * │ ` │ ~ │ ˇ │ ^ │ ˘ │ ° │ ˛ │ ` │ ˙ │ ´ │ ˝ │ ¨ │ ¸ │       │
125 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
126 * │     │   │   │ € │   │   │   │   │   │   │ § │ [ │ ] │     │
127 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
128 * │      │   │ ß │ Đ │   │   │   │   │   │ Ł │   │ ' │   │    │
129 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
130 * │    │   │   │   │ © │   │   │   │   │ < │ > │   │          │
131 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
132 * │    │    │    │                        │    │    │    │    │
133 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
134 */
135// Row 1
136#define RO_GRV ALGR(RO_DLQU) // `
137#define RO_DTIL ALGR(RO_1) // ~ (dead)
138#define RO_CARN ALGR(RO_2) // ˇ (dead)
139#define RO_DCIR ALGR(RO_3) // ^ (dead)
140#define RO_BREV ALGR(RO_4) // ˘ (dead)
141#define RO_RNGA ALGR(RO_5) // ° (dead)
142#define RO_OGON ALGR(RO_6) // ˛ (dead)
143#define RO_DGRV ALGR(RO_7) // ` (dead)
144#define RO_DOTA ALGR(RO_8) // ˙ (dead)
145#define RO_ACUT ALGR(RO_9) // ´ (dead)
146#define RO_DACU ALGR(RO_0) // ˝ (dead)
147#define RO_DIAE ALGR(RO_MINS) // ¨ (dead)
148#define RO_CEDL ALGR(RO_EQL) // ¸ (dead)
149// Row 2
150#define RO_EURO ALGR(RO_E) // €
151#define RO_SECT ALGR(RO_P) // §
152#define RO_LBRC ALGR(RO_ABRV) // [
153#define RO_RBRC ALGR(RO_ICIR) // ]
154// Row 3
155#define RO_SS ALGR(RO_S) // ß
156#define RO_DSTR ALGR(RO_D) // Đ
157#define RO_LSTR ALGR(RO_L) // Ł
158#define RO_QUOT ALGR(RO_TCOM) // '
159// Row 4
160#define RO_COPY ALGR(RO_C) // ©
161#define RO_LABK ALGR(RO_COMM) // <
162#define RO_RABK ALGR(RO_DOT) // >
163
164/* Shift+AltGr symbols
165 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
166 * │ ~ │   │   │   │   │   │   │   │   │   │   │ – │ ± │       │
167 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
168 * │     │   │   │   │   │   │   │   │   │   │   │ { │ } │     │
169 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
170 * │      │   │   │   │   │   │   │   │   │   │   │ " │   │    │
171 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
172 * │    │   │   │   │   │   │   │   │   │ « │ » │   │          │
173 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
174 * │    │    │    │                        │    │    │    │    │
175 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
176 */
177// Row 1
178#define RO_TILD S(ALGR(RO_DLQU)) // ~
179#define RO_NDSH S(ALGR(RO_MINS)) // –
180#define RO_PLMN S(ALGR(RO_EQL)) // ±
181// Row 2
182#define RO_LCBR S(ALGR(RO_ABRV)) // {
183#define RO_RCBR S(ALGR(RO_ICIR)) // }
184// Row 3
185#define RO_DQUO S(ALGR(RO_TCOM)) // "
186// Row 4
187#define RO_LDAQ S(ALGR(RO_COMM)) // «
188#define RO_RDAQ S(ALGR(RO_DOT)) // »