summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_norwegian.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_norwegian.h
parent89b72017a014ca4810790831030c88054129f21c (diff)
Remaining DD keymap_extras migration (#19110)
* Parse headers to data * Regen headers from data
Diffstat (limited to 'quantum/keymap_extras/keymap_norwegian.h')
-rw-r--r--quantum/keymap_extras/keymap_norwegian.h94
1 files changed, 25 insertions, 69 deletions
diff --git a/quantum/keymap_extras/keymap_norwegian.h b/quantum/keymap_extras/keymap_norwegian.h
index b2499f4fda..45b0c1c56e 100644
--- a/quantum/keymap_extras/keymap_norwegian.h
+++ b/quantum/keymap_extras/keymap_norwegian.h
@@ -1,39 +1,33 @@
1/* Copyright 2016 Jack Humbert 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 NO_PIPE KC_GRV // | 31#define NO_PIPE KC_GRV // |
38#define NO_1 KC_1 // 1 32#define NO_1 KC_1 // 1
39#define NO_2 KC_2 // 2 33#define NO_2 KC_2 // 2
@@ -47,7 +41,6 @@
47#define NO_0 KC_0 // 0 41#define NO_0 KC_0 // 0
48#define NO_PLUS KC_MINS // + 42#define NO_PLUS KC_MINS // +
49#define NO_BSLS KC_EQL // (backslash) 43#define NO_BSLS KC_EQL // (backslash)
50// Row 2
51#define NO_Q KC_Q // Q 44#define NO_Q KC_Q // Q
52#define NO_W KC_W // W 45#define NO_W KC_W // W
53#define NO_E KC_E // E 46#define NO_E KC_E // E
@@ -60,7 +53,6 @@
60#define NO_P KC_P // P 53#define NO_P KC_P // P
61#define NO_ARNG KC_LBRC // Å 54#define NO_ARNG KC_LBRC // Å
62#define NO_DIAE KC_RBRC // ¨ (dead) 55#define NO_DIAE KC_RBRC // ¨ (dead)
63// Row 3
64#define NO_A KC_A // A 56#define NO_A KC_A // A
65#define NO_S KC_S // S 57#define NO_S KC_S // S
66#define NO_D KC_D // D 58#define NO_D KC_D // D
@@ -73,7 +65,6 @@
73#define NO_OSTR KC_SCLN // Ø 65#define NO_OSTR KC_SCLN // Ø
74#define NO_AE KC_QUOT // Æ 66#define NO_AE KC_QUOT // Æ
75#define NO_QUOT KC_NUHS // ' 67#define NO_QUOT KC_NUHS // '
76// Row 4
77#define NO_LABK KC_NUBS // < 68#define NO_LABK KC_NUBS // <
78#define NO_Z KC_Z // Z 69#define NO_Z KC_Z // Z
79#define NO_X KC_X // X 70#define NO_X KC_X // X
@@ -85,21 +76,6 @@
85#define NO_COMM KC_COMM // , 76#define NO_COMM KC_COMM // ,
86#define NO_DOT KC_DOT // . 77#define NO_DOT KC_DOT // .
87#define NO_MINS KC_SLSH // - 78#define NO_MINS KC_SLSH // -
88
89/* Shifted symbols
90 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
91 * │ § │ ! │ " │ # │ ¤ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │
92 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
93 * │ │ │ │ │ │ │ │ │ │ │ │ │ ^ │ │
94 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
95 * │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │
96 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
97 * │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │
98 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
99 * │ │ │ │ │ │ │ │ │
100 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
101 */
102// Row 1
103#define NO_SECT S(NO_PIPE) // § 79#define NO_SECT S(NO_PIPE) // §
104#define NO_EXLM S(NO_1) // ! 80#define NO_EXLM S(NO_1) // !
105#define NO_DQUO S(NO_2) // " 81#define NO_DQUO S(NO_2) // "
@@ -113,30 +89,12 @@
113#define NO_EQL S(NO_0) // = 89#define NO_EQL S(NO_0) // =
114#define NO_QUES S(NO_PLUS) // ? 90#define NO_QUES S(NO_PLUS) // ?
115#define NO_GRV S(NO_BSLS) // ` (dead) 91#define NO_GRV S(NO_BSLS) // ` (dead)
116// Row 2
117#define NO_CIRC S(NO_DIAE) // ^ (dead) 92#define NO_CIRC S(NO_DIAE) // ^ (dead)
118// Row 3
119#define NO_ASTR S(NO_QUOT) // * 93#define NO_ASTR S(NO_QUOT) // *
120// Row 4
121#define NO_RABK S(NO_LABK) // > 94#define NO_RABK S(NO_LABK) // >
122#define NO_SCLN S(NO_COMM) // ; 95#define NO_SCLN S(NO_COMM) // ;
123#define NO_COLN S(NO_DOT) // : 96#define NO_COLN S(NO_DOT) // :
124#define NO_UNDS S(NO_MINS) // _ 97#define NO_UNDS S(NO_MINS) // _
125
126/* AltGr symbols
127 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
128 * │ │ │ @ │ £ │ $ │ € │ │ { │ [ │ ] │ } │ │ ´ │ │
129 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
130 * │ │ │ │ │ │ │ │ │ │ │ │ │ ~ │ │
131 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
132 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
133 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
134 * │ │ │ │ │ │ │ │ │ µ │ │ │ │ │
135 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
136 * │ │ │ │ │ │ │ │ │
137 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
138 */
139// Row 1
140#define NO_AT ALGR(NO_2) // @ 98#define NO_AT ALGR(NO_2) // @
141#define NO_PND ALGR(NO_3) // £ 99#define NO_PND ALGR(NO_3) // £
142#define NO_DLR ALGR(NO_4) // $ 100#define NO_DLR ALGR(NO_4) // $
@@ -146,7 +104,5 @@
146#define NO_RBRC ALGR(NO_9) // ] 104#define NO_RBRC ALGR(NO_9) // ]
147#define NO_RCBR ALGR(NO_0) // } 105#define NO_RCBR ALGR(NO_0) // }
148#define NO_ACUT ALGR(NO_BSLS) // ´ (dead) 106#define NO_ACUT ALGR(NO_BSLS) // ´ (dead)
149// Row 2
150#define NO_TILD ALGR(NO_DIAE) // ~ (dead) 107#define NO_TILD ALGR(NO_DIAE) // ~ (dead)
151// Row 4
152#define NO_MICR ALGR(NO_M) // µ 108#define NO_MICR ALGR(NO_M) // µ