aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_danish.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-02-22 00:40:28 +1100
committerGitHub <noreply@github.com>2020-02-21 14:40:28 +0100
commit032fbf3f24ce0d537fbb71e584cdb79780dfb10b (patch)
tree976498561e0c8d5bdae34c673f52d4f8b4db2905 /quantum/keymap_extras/keymap_danish.h
parenta7d859dab86ee0d741559da68eee14949116fe16 (diff)
downloadqmk_firmware-032fbf3f24ce0d537fbb71e584cdb79780dfb10b.tar.gz
qmk_firmware-032fbf3f24ce0d537fbb71e584cdb79780dfb10b.zip
Add Danish keymap and sendstring LUT (#8218)
Diffstat (limited to 'quantum/keymap_extras/keymap_danish.h')
-rw-r--r--quantum/keymap_extras/keymap_danish.h153
1 files changed, 153 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_danish.h b/quantum/keymap_extras/keymap_danish.h
new file mode 100644
index 000000000..618e42ccf
--- /dev/null
+++ b/quantum/keymap_extras/keymap_danish.h
@@ -0,0 +1,153 @@
1/* Copyright 2019
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 DK_HALF KC_GRV // ½
38#define DK_1 KC_1 // 1
39#define DK_2 KC_2 // 2
40#define DK_3 KC_3 // 3
41#define DK_4 KC_4 // 4
42#define DK_5 KC_5 // 5
43#define DK_6 KC_6 // 6
44#define DK_7 KC_7 // 7
45#define DK_8 KC_8 // 8
46#define DK_9 KC_9 // 9
47#define DK_0 KC_0 // 0
48#define DK_PLUS KC_MINS // +
49#define DK_ACUT KC_EQL // ´ (dead)
50// Row 2
51#define DK_Q KC_Q // Q
52#define DK_W KC_W // W
53#define DK_E KC_E // E
54#define DK_R KC_R // R
55#define DK_T KC_T // T
56#define DK_Y KC_Y // Y
57#define DK_U KC_U // U
58#define DK_I KC_I // I
59#define DK_O KC_O // O
60#define DK_P KC_P // P
61#define DK_ARNG KC_LBRC // Å
62#define DK_DIAE KC_RBRC // ¨ (dead)
63// Row 3
64#define DK_A KC_A // A
65#define DK_S KC_S // S
66#define DK_D KC_D // D
67#define DK_F KC_F // F
68#define DK_G KC_G // G
69#define DK_H KC_H // H
70#define DK_J KC_J // J
71#define DK_K KC_K // K
72#define DK_L KC_L // L
73#define DK_AE KC_SCLN // Æ
74#define DK_OSTR KC_QUOT // Ø
75#define DK_QUOT KC_NUHS // '
76// Row 4
77#define DK_LABK KC_NUBS // <
78#define DK_Z KC_Z // Z
79#define DK_X KC_X // X
80#define DK_C KC_C // C
81#define DK_V KC_V // V
82#define DK_B KC_B // B
83#define DK_N KC_N // N
84#define DK_M KC_M // M
85#define DK_COMM KC_COMM // ,
86#define DK_DOT KC_DOT // .
87#define DK_MINS KC_SLSH // -
88
89/* Shifted symbols
90 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
91 * │ § │ ! │ " │ # │ ¤ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │       │
92 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
93 * │     │   │   │   │   │   │   │   │   │   │   │   │ ^ │     │
94 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
95 * │      │   │   │   │   │   │   │   │   │   │   │   │ * │    │
96 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
97 * │    │ > │   │   │   │   │   │   │   │ ; │ : │ _ │          │
98 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
99 * │    │    │    │                        │    │    │    │    │
100 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
101 */
102// Row 1
103#define DK_SECT S(DK_HALF) // §
104#define DK_EXLM S(DK_1) // !
105#define DK_DQUO S(DK_2) // "
106#define DK_HASH S(DK_3) // #
107#define DK_CURR S(DK_4) // ¤
108#define DK_PERC S(DK_5) // %
109#define DK_AMPR S(DK_6) // &
110#define DK_SLSH S(DK_7) // /
111#define DK_LPRN S(DK_8) // (
112#define DK_RPRN S(DK_9) // )
113#define DK_EQL S(DK_0) // =
114#define DK_QUES S(DK_PLUS) // ?
115#define DK_GRV S(DK_ACUT) // ` (dead)
116// Row 2
117#define DK_CIRC S(DK_DIAE) // ^ (dead)
118// Row 3
119#define DK_ASTR S(DK_QUOT) // *
120// Row 4
121#define DK_RABK S(DK_LABK) // >
122#define DK_SCLN S(DK_COMM) // ;
123#define DK_COLN S(DK_DOT) // :
124#define DK_UNDS S(DK_MINS) // _
125
126/* AltGr symbols
127 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
128 * │   │   │ @ │ £ │ $ │ € │   │ { │ [ │ ] │ } │   │ | │       │
129 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
130 * │     │   │   │   │   │   │   │   │   │   │   │   │ ~ │     │
131 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐    │
132 * │      │   │   │   │   │   │   │   │   │   │   │   │   │    │
133 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
134 * │    │ \ │   │   │   │   │   │   │ µ │   │   │   │          │
135 * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
136 * │    │    │    │                        │    │    │    │    │
137 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
138 */
139// Row 1
140#define DK_AT ALGR(DK_2) // @
141#define DK_PND ALGR(DK_3) // £
142#define DK_DLR ALGR(DK_4) // $
143#define DK_EURO ALGR(DK_5) // €
144#define DK_LCBR ALGR(DK_7) // {
145#define DK_LBRC ALGR(DK_8) // [
146#define DK_RBRC ALGR(DK_9) // ]
147#define DK_RCBR ALGR(DK_0) // }
148#define DK_PIPE ALGR(DK_ACUT) // |
149// Row 2
150#define DK_TILD ALGR(DK_DIAE) // ~ (dead)
151// Row 4
152#define DK_BSLS ALGR(DK_LABK) // (backslash)
153#define DK_MICR ALGR(DK_M) // µ