summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_icelandic.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-12-21 23:35:23 +0000
committerGitHub <noreply@github.com>2022-12-21 23:35:23 +0000
commite5721bbd37fcb0372fd007caae5a3f2aed060479 (patch)
tree68bfcddfb400d00cbbea3d14e5a3b1c90492218c /quantum/keymap_extras/keymap_icelandic.h
parent89b72017a014ca4810790831030c88054129f21c (diff)
Remaining DD keymap_extras migration (#19110)
* Parse headers to data * Regen headers from data
Diffstat (limited to 'quantum/keymap_extras/keymap_icelandic.h')
-rw-r--r--quantum/keymap_extras/keymap_icelandic.h95
1 files changed, 25 insertions, 70 deletions
diff --git a/quantum/keymap_extras/keymap_icelandic.h b/quantum/keymap_extras/keymap_icelandic.h
index 43e4a6e872..72ba66c01d 100644
--- a/quantum/keymap_extras/keymap_icelandic.h
+++ b/quantum/keymap_extras/keymap_icelandic.h
@@ -1,39 +1,33 @@
1/* Copyright 2020 1// Copyright 2022 QMK
2 * 2// SPDX-License-Identifier: GPL-2.0-or-later
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 3
17#pragma once 4/*******************************************************************************
5 88888888888 888 d8b .d888 d8b 888 d8b
6 888 888 Y8P d88P" Y8P 888 Y8P
7 888 888 888 888
8 888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b
9 888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K
10 888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b.
11 888 888 888 888 X88 888 888 888 Y8b. 888 X88
12 888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P'
13 888 888
14 888 888
15 888 888
16 .d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888
17 d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888
18 888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888
19 Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888
20 "Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888
21 888
22 Y8b d88P
23 "Y88P"
24*******************************************************************************/
18 25
26#pragma once
19#include "keymap.h" 27#include "keymap.h"
20
21// clang-format off 28// clang-format off
22 29
23/* 30// Aliases
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) 31#define IS_RNGA KC_GRV // ° (dead)
38#define IS_1 KC_1 // 1 32#define IS_1 KC_1 // 1
39#define IS_2 KC_2 // 2 33#define IS_2 KC_2 // 2
@@ -47,7 +41,6 @@
47#define IS_0 KC_0 // 0 41#define IS_0 KC_0 // 0
48#define IS_ODIA KC_MINS // Ö 42#define IS_ODIA KC_MINS // Ö
49#define IS_MINS KC_EQL // - 43#define IS_MINS KC_EQL // -
50// Row 2
51#define IS_Q KC_Q // Q 44#define IS_Q KC_Q // Q
52#define IS_W KC_W // W 45#define IS_W KC_W // W
53#define IS_E KC_E // E 46#define IS_E KC_E // E
@@ -60,7 +53,6 @@
60#define IS_P KC_P // P 53#define IS_P KC_P // P
61#define IS_ETH KC_LBRC // Ð 54#define IS_ETH KC_LBRC // Ð
62#define IS_QUOT KC_RBRC // ' 55#define IS_QUOT KC_RBRC // '
63// Row 3
64#define IS_A KC_A // A 56#define IS_A KC_A // A
65#define IS_S KC_S // S 57#define IS_S KC_S // S
66#define IS_D KC_D // D 58#define IS_D KC_D // D
@@ -73,7 +65,6 @@
73#define IS_AE KC_SCLN // Æ 65#define IS_AE KC_SCLN // Æ
74#define IS_ACUT KC_QUOT // ´ (dead) 66#define IS_ACUT KC_QUOT // ´ (dead)
75#define IS_PLUS KC_NUHS // + 67#define IS_PLUS KC_NUHS // +
76// Row 4
77#define IS_LABK KC_NUBS // < 68#define IS_LABK KC_NUBS // <
78#define IS_Z KC_Z // Z 69#define IS_Z KC_Z // Z
79#define IS_X KC_X // X 70#define IS_X KC_X // X
@@ -85,21 +76,6 @@
85#define IS_COMM KC_COMM // , 76#define IS_COMM KC_COMM // ,
86#define IS_DOT KC_DOT // . 77#define IS_DOT KC_DOT // .
87#define IS_THRN KC_SLSH // Þ 78#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) 79#define IS_DIAE S(IS_RNGA) // ¨ (dead)
104#define IS_EXLM S(IS_1) // ! 80#define IS_EXLM S(IS_1) // !
105#define IS_DQUO S(IS_2) // " 81#define IS_DQUO S(IS_2) // "
@@ -112,42 +88,21 @@
112#define IS_RPRN S(IS_9) // ) 88#define IS_RPRN S(IS_9) // )
113#define IS_EQL S(IS_0) // = 89#define IS_EQL S(IS_0) // =
114#define IS_UNDS S(IS_MINS) // _ 90#define IS_UNDS S(IS_MINS) // _
115// Row 2
116#define IS_QUES S(IS_QUOT) // ? 91#define IS_QUES S(IS_QUOT) // ?
117// Row 3
118#define IS_ASTR S(IS_PLUS) // * 92#define IS_ASTR S(IS_PLUS) // *
119// Row 4
120#define IS_RABK S(IS_LABK) // > 93#define IS_RABK S(IS_LABK) // >
121#define IS_SCLN S(IS_COMM) // ; 94#define IS_SCLN S(IS_COMM) // ;
122#define IS_COLN S(IS_DOT) // : 95#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) // ° 96#define IS_DEG ALGR(IS_RNGA) // °
139#define IS_LCBR ALGR(IS_7) // { 97#define IS_LCBR ALGR(IS_7) // {
140#define IS_LBRC ALGR(IS_8) // [ 98#define IS_LBRC ALGR(IS_8) // [
141#define IS_RBRC ALGR(IS_9) // ] 99#define IS_RBRC ALGR(IS_9) // ]
142#define IS_RCBR ALGR(IS_0) // } 100#define IS_RCBR ALGR(IS_0) // }
143#define IS_BSLS ALGR(IS_ODIA) // (backslash) 101#define IS_BSLS ALGR(IS_ODIA) // (backslash)
144// Row 2
145#define IS_AT ALGR(IS_Q) // @ 102#define IS_AT ALGR(IS_Q) // @
146#define IS_EURO ALGR(IS_E) // € 103#define IS_EURO ALGR(IS_E) // €
147#define IS_TILD ALGR(IS_QUOT) // ~ 104#define IS_TILD ALGR(IS_QUOT) // ~
148// Row 3
149#define IS_CIRC ALGR(IS_ACUT) // ^ (dead) 105#define IS_CIRC ALGR(IS_ACUT) // ^ (dead)
150#define IS_GRV ALGR(IS_PLUS) // ` (dead) 106#define IS_GRV ALGR(IS_PLUS) // ` (dead)
151// Row 4
152#define IS_PIPE ALGR(IS_LABK) // | 107#define IS_PIPE ALGR(IS_LABK) // |
153#define IS_MICR ALGR(IS_M) // µ 108#define IS_MICR ALGR(IS_M) // µ