diff options
Diffstat (limited to 'quantum/keymap_extras/keymap_icelandic.h')
-rw-r--r-- | quantum/keymap_extras/keymap_icelandic.h | 153 |
1 files changed, 153 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_icelandic.h b/quantum/keymap_extras/keymap_icelandic.h new file mode 100644 index 000000000..2ccb4b543 --- /dev/null +++ b/quantum/keymap_extras/keymap_icelandic.h | |||
@@ -0,0 +1,153 @@ | |||
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 IS_RNGA KC_GRV // ° (dead) | ||
38 | #define IS_1 KC_1 // 1 | ||
39 | #define IS_2 KC_2 // 2 | ||
40 | #define IS_3 KC_3 // 3 | ||
41 | #define IS_4 KC_4 // 4 | ||
42 | #define IS_5 KC_5 // 5 | ||
43 | #define IS_6 KC_6 // 6 | ||
44 | #define IS_7 KC_7 // 7 | ||
45 | #define IS_8 KC_8 // 8 | ||
46 | #define IS_9 KC_9 // 9 | ||
47 | #define IS_0 KC_0 // 0 | ||
48 | #define IS_ODIA KC_MINS // Ö | ||
49 | #define IS_MINS KC_EQL // - | ||
50 | // Row 2 | ||
51 | #define IS_Q KC_Q // Q | ||
52 | #define IS_W KC_W // W | ||
53 | #define IS_E KC_E // E | ||
54 | #define IS_R KC_R // R | ||
55 | #define IS_T KC_T // T | ||
56 | #define IS_Y KC_Y // Y | ||
57 | #define IS_U KC_U // U | ||
58 | #define IS_I KC_I // I | ||
59 | #define IS_O KC_O // O | ||
60 | #define IS_P KC_P // P | ||
61 | #define IS_ETH KC_LBRC // Ð | ||
62 | #define IS_QUOT KC_RBRC // ' | ||
63 | // Row 3 | ||
64 | #define IS_A KC_A // A | ||
65 | #define IS_S KC_S // S | ||
66 | #define IS_D KC_D // D | ||
67 | #define IS_F KC_F // F | ||
68 | #define IS_G KC_G // G | ||
69 | #define IS_H KC_H // H | ||
70 | #define IS_J KC_J // J | ||
71 | #define IS_K KC_K // K | ||
72 | #define IS_L KC_L // L | ||
73 | #define IS_AE KC_SCLN // Æ | ||
74 | #define IS_ACUT KC_QUOT // ´ (dead) | ||
75 | #define IS_PLUS KC_NUHS // + | ||
76 | // Row 4 | ||
77 | #define IS_LABK KC_NUBS // < | ||
78 | #define IS_Z KC_Z // Z | ||
79 | #define IS_X KC_X // X | ||
80 | #define IS_C KC_C // C | ||
81 | #define IS_V KC_V // V | ||
82 | #define IS_B KC_B // B | ||
83 | #define IS_N KC_N // N | ||
84 | #define IS_M KC_M // M | ||
85 | #define IS_COMM KC_COMM // , | ||
86 | #define IS_DOT KC_DOT // . | ||
87 | #define IS_THRN KC_SLSH // Þ | ||
88 | |||
89 | /* Shifted symbols | ||
90 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
91 | * │ ¨ │ ! │ " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ │ _ │ │ | ||
92 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
93 | * │ │ │ │ │ │ │ │ │ │ │ │ │ ? │ │ | ||
94 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ | ||
95 | * │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │ | ||
96 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ | ||
97 | * │ │ > │ │ │ │ │ │ │ │ ; │ : │ │ │ | ||
98 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ | ||
99 | * │ │ │ │ │ │ │ │ │ | ||
100 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ | ||
101 | */ | ||
102 | // Row 1 | ||
103 | #define IS_DIAE S(IS_RNGA) // ¨ (dead) | ||
104 | #define IS_EXLM S(IS_1) // ! | ||
105 | #define IS_DQUO S(IS_2) // " | ||
106 | #define IS_HASH S(IS_3) // # | ||
107 | #define IS_DLR S(IS_4) // $ | ||
108 | #define IS_PERC S(IS_5) // % | ||
109 | #define IS_AMPR S(IS_6) // & | ||
110 | #define IS_SLSH S(IS_7) // / | ||
111 | #define IS_LPRN S(IS_8) // ( | ||
112 | #define IS_RPRN S(IS_9) // ) | ||
113 | #define IS_EQL S(IS_0) // = | ||
114 | #define IS_UNDS S(IS_MINS) // _ | ||
115 | // Row 2 | ||
116 | #define IS_QUES S(IS_QUOT) // ? | ||
117 | // Row 3 | ||
118 | #define IS_ASTR S(IS_PLUS) // * | ||
119 | // Row 4 | ||
120 | #define IS_RABK S(IS_LABK) // > | ||
121 | #define IS_SCLN S(IS_COMM) // ; | ||
122 | #define IS_COLN S(IS_DOT) // : | ||
123 | |||
124 | /* AltGr symbols | ||
125 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
126 | * │ ° │ │ │ │ │ │ │ { │ [ │ ] │ } │ \ │ │ │ | ||
127 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
128 | * │ │ @ │ │ € │ │ │ │ │ │ │ │ │ ~ │ │ | ||
129 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ | ||
130 | * │ │ │ │ │ │ │ │ │ │ │ │ ^ │ ` │ │ | ||
131 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ | ||
132 | * │ │ | │ │ │ │ │ │ │ µ │ │ │ │ │ | ||
133 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ | ||
134 | * │ │ │ │ │ │ │ │ │ | ||
135 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ | ||
136 | */ | ||
137 | // Row 1 | ||
138 | #define IS_DEG ALGR(IS_RNGA) // ° | ||
139 | #define IS_LCBR ALGR(IS_7) // { | ||
140 | #define IS_LBRC ALGR(IS_8) // [ | ||
141 | #define IS_RBRC ALGR(IS_9) // ] | ||
142 | #define IS_RCBR ALGR(IS_0) // } | ||
143 | #define IS_BSLS ALGR(IS_ODIA) // (backslash) | ||
144 | // Row 2 | ||
145 | #define IS_AT ALGR(IS_Q) // @ | ||
146 | #define IS_EURO ALGR(IS_E) // € | ||
147 | #define IS_TILD ALGR(IS_QUOT) // ~ | ||
148 | // Row 3 | ||
149 | #define IS_CIRC ALGR(IS_ACUT) // ^ (dead) | ||
150 | #define IS_GRV ALGR(IS_PLUS) // ` (dead) | ||
151 | // Row 4 | ||
152 | #define IS_PIPE ALGR(IS_LABK) // | | ||
153 | #define IS_MICR ALGR(IS_M) // µ | ||