aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_german_osx.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-04-19 06:57:05 +1000
committerGitHub <noreply@github.com>2020-04-19 06:57:05 +1000
commitf43cb314767403b8289fc957bd1d3b8250874192 (patch)
treeb1d04ab08011a7e10702db25eb253ad14c5be494 /quantum/keymap_extras/keymap_german_osx.h
parent89eb3a9e429de9bfc2bd3c0eefc3dc6e3dcfc57d (diff)
downloadqmk_firmware-f43cb314767403b8289fc957bd1d3b8250874192.tar.gz
qmk_firmware-f43cb314767403b8289fc957bd1d3b8250874192.zip
Update French and German macOS keymaps and add sendstring LUTs (#8700)
Diffstat (limited to 'quantum/keymap_extras/keymap_german_osx.h')
-rw-r--r--quantum/keymap_extras/keymap_german_osx.h385
1 files changed, 298 insertions, 87 deletions
diff --git a/quantum/keymap_extras/keymap_german_osx.h b/quantum/keymap_extras/keymap_german_osx.h
index 29dee07ee..0d15532e4 100644
--- a/quantum/keymap_extras/keymap_german_osx.h
+++ b/quantum/keymap_extras/keymap_german_osx.h
@@ -13,100 +13,311 @@
13 * You should have received a copy of the GNU General Public License 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/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#ifndef KEYMAP_GERMAN_OSX
17#define KEYMAP_GERMAN_OSX
18 16
19#include "keymap.h" 17#pragma once
20
21// Alt gr
22 18
23// normal characters 19#include "keymap.h"
24#define DE_OSX_Z KC_Y
25#define DE_OSX_Y KC_Z
26 20
27#define DE_OSX_A KC_A 21// clang-format off
28#define DE_OSX_B KC_B
29#define DE_OSX_C KC_C
30#define DE_OSX_D KC_D
31#define DE_OSX_E KC_E
32#define DE_OSX_F KC_F
33#define DE_OSX_G KC_G
34#define DE_OSX_H KC_H
35#define DE_OSX_I KC_I
36#define DE_OSX_J KC_J
37#define DE_OSX_K KC_K
38#define DE_OSX_L KC_L
39#define DE_OSX_M KC_M
40#define DE_OSX_N KC_N
41#define DE_OSX_O KC_O
42#define DE_OSX_P KC_P
43#define DE_OSX_Q KC_Q
44#define DE_OSX_R KC_R
45#define DE_OSX_S KC_S
46#define DE_OSX_T KC_T
47#define DE_OSX_U KC_U
48#define DE_OSX_V KC_V
49#define DE_OSX_W KC_W
50#define DE_OSX_X KC_X
51 22
52#define DE_OSX_0 KC_0 23/*
53#define DE_OSX_1 KC_1 24 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
54#define DE_OSX_2 KC_2 25 * │ ^ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ß │ ´ │     │
55#define DE_OSX_3 KC_3 26 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
56#define DE_OSX_4 KC_4 27 * │     │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │ Ü │ + │   │
57#define DE_OSX_5 KC_5 28 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐  │
58#define DE_OSX_6 KC_6 29 * │      │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ö │ Ä │ # │  │
59#define DE_OSX_7 KC_7 30 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
60#define DE_OSX_8 KC_8 31 * │    │ < │ Y │ X │ C │ V │ B │ N │ M │ , │ . │ - │        │
61#define DE_OSX_9 KC_9 32 * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
33 * │     │    │     │                       │     │    │     │
34 * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
35 */
36// Row 1
37#define DE_CIRC KC_GRV // ^ (dead)
38#define DE_1 KC_1 // 1
39#define DE_2 KC_2 // 2
40#define DE_3 KC_3 // 3
41#define DE_4 KC_4 // 4
42#define DE_5 KC_5 // 5
43#define DE_6 KC_6 // 6
44#define DE_7 KC_7 // 7
45#define DE_8 KC_8 // 8
46#define DE_9 KC_9 // 9
47#define DE_0 KC_0 // 0
48#define DE_SS KC_MINS // ß
49#define DE_ACUT KC_EQL // ´ (dead)
50// Row 2
51#define DE_Q KC_Q // Q
52#define DE_W KC_W // W
53#define DE_E KC_E // E
54#define DE_R KC_R // R
55#define DE_T KC_T // T
56#define DE_Z KC_Y // Z
57#define DE_U KC_U // U
58#define DE_I KC_I // I
59#define DE_O KC_O // O
60#define DE_P KC_P // P
61#define DE_UDIA KC_LBRC // Ü
62#define DE_PLUS KC_RBRC // +
63// Row 3
64#define DE_A KC_A // A
65#define DE_S KC_S // S
66#define DE_D KC_D // D
67#define DE_F KC_F // F
68#define DE_G KC_G // G
69#define DE_H KC_H // H
70#define DE_J KC_J // J
71#define DE_K KC_K // K
72#define DE_L KC_L // L
73#define DE_ODIA KC_SCLN // Ö
74#define DE_ADIA KC_QUOT // Ä
75#define DE_HASH KC_NUHS // #
76// Row 4
77#define DE_LABK KC_NUBS // <
78#define DE_Y KC_Z // Y
79#define DE_X KC_X // X
80#define DE_C KC_C // C
81#define DE_V KC_V // V
82#define DE_B KC_B // B
83#define DE_N KC_N // N
84#define DE_M KC_M // M
85#define DE_COMM KC_COMM // ,
86#define DE_DOT KC_DOT // .
87#define DE_MINS KC_SLSH // -
62 88
63#define DE_OSX_DOT KC_DOT 89/* Shifted symbols
64#define DE_OSX_COMM KC_COMM 90 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
91 * │ ° │ ! │ " │ § │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │     │
92 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
93 * │     │   │   │   │   │   │   │   │   │   │   │   │ * │   │
94 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐  │
95 * │      │   │   │   │   │   │   │   │   │   │   │   │ ' │  │
96 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
97 * │    │ > │   │   │   │   │   │   │   │ ; │ : │ _ │        │
98 * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
99 * │     │    │     │                       │     │    │     │
100 * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
101 */
102// Row 1
103#define DE_DEG S(DE_CIRC) // °
104#define DE_EXLM S(DE_1) // !
105#define DE_DQUO S(DE_2) // "
106#define DE_SECT S(DE_3) // §
107#define DE_DLR S(DE_4) // $
108#define DE_PERC S(DE_5) // %
109#define DE_AMPR S(DE_6) // &
110#define DE_SLSH S(DE_7) // /
111#define DE_LPRN S(DE_8) // (
112#define DE_RPRN S(DE_9) // )
113#define DE_EQL S(DE_0) // =
114#define DE_QUES S(DE_SS) // ?
115#define DE_GRV S(DE_ACUT) // ` (dead)
116// Row 2
117#define DE_ASTR S(DE_PLUS) // *
118// Row 3
119#define DE_QUOT S(DE_HASH) // '
120// Row 4
121#define DE_RABK S(DE_LABK) // >
122#define DE_SCLN S(DE_COMM) // ;
123#define DE_COLN S(DE_DOT) // :
124#define DE_UNDS S(DE_MINS) // _
65 125
66#define DE_OSX_SS KC_MINS 126/* Alted symbols
67#define DE_OSX_AE KC_QUOT 127 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
68#define DE_OSX_UE KC_LBRC 128 * │ „ │ ¡ │ “ │ ¶ │ ¢ │ [ │ ] │ | │ { │ } │ ≠ │ ¿ │   │     │
69#define DE_OSX_OE KC_SCLN 129 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
130 * │     │ « │ ∑ │ € │ ® │ † │ Ω │ ¨ │ ⁄ │ Ø │ π │ • │ ± │   │
131 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐  │
132 * │      │ Å │ ‚ │ ∂ │ ƒ │ © │ ª │ º │ ∆ │ @ │ Œ │ Æ │ ‘ │  │
133 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
134 * │    │ ≤ │ ¥ │ ≈ │ Ç │ √ │ ∫ │ ~ │ µ │ ∞ │ … │ – │        │
135 * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
136 * │     │    │     │                       │     │    │     │
137 * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
138 */
139// Row 1
140#define DE_DLQU A(DE_CIRC) // „
141#define DE_IEXL A(DE_1) // ¡
142#define DE_LDQU A(DE_2) // “
143#define DE_PILC A(DE_3) // ¶
144#define DE_CENT A(DE_4) // ¢
145#define DE_LBRC A(DE_5) // [
146#define DE_RBRC A(DE_6) // ]
147#define DE_PIPE A(DE_7) // |
148#define DE_LCBR A(DE_8) // {
149#define DE_RCBR A(DE_9) // }
150#define DE_NEQL A(DE_0) // ≠
151#define DE_IQUE A(DE_SS) // ¿
152// Row 2
153#define DE_LDAQ A(DE_Q) // «
154#define DE_NARS A(DE_W) // ∑
155#define DE_EURO A(DE_E) // €
156#define DE_REGD A(DE_R) // ®
157#define DE_DAGG A(DE_T) // †
158#define DE_OMEG A(DE_Z) // Ω
159#define DE_DIAE A(DE_U) // ¨ (dead)
160#define DE_FRSL A(DE_I) // ⁄
161#define DE_OSTR A(DE_O) // Ø
162#define DE_PI A(DE_P) // π
163#define DE_BULT A(DE_UDIA) // •
164#define DE_PLMN A(DE_PLUS) // ±
165// Row 3
166#define DE_ARNG A(DE_A) // Å
167#define DE_SLQU A(DE_S) // ‚
168#define DE_PDIF A(DE_D) // ∂
169#define DE_FHK A(DE_F) // ƒ
170#define DE_COPY A(DE_G) // ©
171#define DE_FORD A(DE_H) // ª
172#define DE_MORD A(DE_J) // º
173#define DE_INCR A(DE_K) // ∆
174#define DE_AT A(DE_L) // @
175#define DE_OE A(DE_ODIA) // Œ
176#define DE_AE A(DE_ADIA) // Æ
177#define DE_LSQU A(DE_HASH) // ‘
178// Row 4
179#define DE_LTEQ A(DE_LABK) // ≤
180#define DE_YEN A(DE_Y) // ¥
181#define DE_AEQL A(DE_X) // ≈
182#define DE_CCCE A(DE_C) // Ç
183#define DE_SQRT A(DE_V) // √
184#define DE_INTG A(DE_B) // ∫
185#define DE_TILD A(DE_N) // ~ (dead)
186#define DE_MICR A(DE_M) // µ
187#define DE_INFN A(DE_COMM) // ∞
188#define DE_ELLP A(DE_DOT) // …
189#define DE_NDSH A(DE_MINS) // –
70 190
71#define DE_OSX_CIRC KC_NUBS // accent circumflex ^ and ring ° 191/* Shift+Alted symbols
72#define DE_OSX_ACUT KC_EQL // accent acute ´ and grave ` 192 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
73#define DE_OSX_PLUS KC_RBRC // + and * and ~ 193 * │   │ ¬ │ ” │   │ £ │ fi │   │ \ │ ˜ │ · │ ¯ │ ˙ │ ˚ │     │
74#define DE_OSX_HASH KC_BSLS // # and ' 194 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤
75#define DE_OSX_LESS KC_GRV // < and > and | 195 * │     │ » │   │ ‰ │ ¸ │ ˝ │ ˇ │ Á │ Û │   │ ∏ │   │  │   │
76#define DE_OSX_MINS KC_SLSH // - and _ 196 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐  │
197 * │      │   │ Í │ ™ │ Ï │ Ì │ Ó │ ı │   │ fl │   │   │   │  │
198 * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤
199 * │    │ ≥ │ ‡ │ Ù │   │ ◊ │ ‹ │ › │ ˘ │ ˛ │ ÷ │ — │        │
200 * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤
201 * │     │    │     │                       │     │    │     │
202 * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘
203 */
204// Row 1
205#define DE_NOT S(A(DE_1)) // ¬
206#define DE_RDQU S(A(DE_2)) // ”
207#define DE_PND S(A(DE_4)) // £
208#define DE_FI S(A(DE_5)) // fi
209#define DE_BSLS S(A(DE_7)) // (backslash)
210#define DE_STIL S(A(DE_8)) // ˜
211#define DE_MDDT S(A(DE_9)) // ·
212#define DE_MACR S(A(DE_0)) // ¯
213#define DE_DOTA S(A(DE_SS)) // ˙
214#define DE_RNGA S(A(DE_ACUT)) // ˚
215// Row 2
216#define DE_RDAQ S(A(DE_Q)) // »
217#define DE_PERM S(A(DE_E)) // ‰
218#define DE_CEDL S(A(DE_R)) // ¸
219#define DE_DACU S(A(DE_T)) // ˝
220#define DE_CARN S(A(DE_Z)) // ˇ
221#define DE_AACU S(A(DE_U)) // Á
222#define DE_UCIR S(A(DE_I)) // Û
223#define DE_NARP S(A(DE_P)) // ∏
224#define DE_APPL S(A(DE_PLUS)) //  (Apple logo)
225// Row 3
226#define DE_IACU S(A(DE_S)) // Í
227#define DE_TM S(A(DE_D)) // ™
228#define DE_IDIA S(A(DE_F)) // Ï
229#define DE_IGRV S(A(DE_G)) // Ì
230#define DE_OACU S(A(DE_H)) // Ó
231#define DE_DLSI S(A(DE_J)) // ı
232#define DE_FL S(A(DE_L)) // fl
233// Row 4
234#define DE_GTEQ S(A(DE_LABK)) // ≥
235#define DE_DDAG S(A(DE_Y)) // ‡
236#define DE_UGRV S(A(DE_X)) // Ù
237#define DE_LOZN S(A(DE_V)) // ◊
238#define DE_LSAQ S(A(DE_B)) // ‹
239#define DE_RSAQ S(A(DE_N)) // ›
240#define DE_BREV S(A(DE_M)) // ˘
241#define DE_OGON S(A(DE_COMM)) // ˛
242#define DE_DIV S(A(DE_DOT)) // ÷
243#define DE_MDSH S(A(DE_MINS)) // —
77 244
78// shifted characters 245// DEPRECATED
79#define DE_OSX_RING LSFT(DE_OSX_CIRC) // ° 246#define DE_OSX_CIRC DE_CIRC
80#define DE_OSX_EXLM LSFT(KC_1) // ! 247#define DE_OSX_1 DE_1
81#define DE_OSX_DQOT LSFT(KC_2) // " 248#define DE_OSX_2 DE_2
82#define DE_OSX_PARA LSFT(KC_3) // § 249#define DE_OSX_3 DE_3
83#define DE_OSX_DLR LSFT(KC_4) // $ 250#define DE_OSX_4 DE_4
84#define DE_OSX_PERC LSFT(KC_5) // % 251#define DE_OSX_5 DE_5
85#define DE_OSX_AMPR LSFT(KC_6) // & 252#define DE_OSX_6 DE_6
86#define DE_OSX_SLSH LSFT(KC_7) // / 253#define DE_OSX_7 DE_7
87#define DE_OSX_LPRN LSFT(KC_8) // ( 254#define DE_OSX_8 DE_8
88#define DE_OSX_RPRN LSFT(KC_9) // ) 255#define DE_OSX_9 DE_9
89#define DE_OSX_EQL LSFT(KC_0) // = 256#define DE_OSX_0 DE_0
90#define DE_OSX_QST LSFT(DE_OSX_SS) // ? 257#define DE_OSX_SS DE_SS
91#define DE_OSX_GRV LSFT(DE_OSX_ACUT) // ` 258#define DE_OSX_ACUT DE_ACUT
92#define DE_OSX_ASTR LSFT(DE_OSX_PLUS) // * 259#define DE_OSX_Q DE_Q
93#define DE_OSX_QUOT LSFT(DE_OSX_HASH) // ' 260#define DE_OSX_W DE_W
94#define DE_OSX_MORE LSFT(DE_OSX_LESS) // > 261#define DE_OSX_E DE_E
95#define DE_OSX_COLN LSFT(KC_DOT) // : 262#define DE_OSX_R DE_R
96#define DE_OSX_SCLN LSFT(KC_COMM) // ; 263#define DE_OSX_T DE_T
97#define DE_OSX_UNDS LSFT(DE_OSX_MINS) // _ 264#define DE_OSX_Z DE_Z
265#define DE_OSX_U DE_U
266#define DE_OSX_I DE_I
267#define DE_OSX_O DE_O
268#define DE_OSX_P DE_P
269#define DE_OSX_UE DE_UDIA
270#define DE_OSX_PLUS DE_PLUS
271#define DE_OSX_A DE_A
272#define DE_OSX_S DE_S
273#define DE_OSX_D DE_D
274#define DE_OSX_F DE_F
275#define DE_OSX_G DE_G
276#define DE_OSX_H DE_H
277#define DE_OSX_J DE_J
278#define DE_OSX_K DE_K
279#define DE_OSX_L DE_L
280#define DE_OSX_OE DE_ODIA
281#define DE_OSX_AE DE_ADIA
282#define DE_OSX_HASH DE_HASH
283#define DE_OSX_LESS DE_LABK
284#define DE_OSX_Y DE_Y
285#define DE_OSX_X DE_X
286#define DE_OSX_C DE_C
287#define DE_OSX_V DE_V
288#define DE_OSX_B DE_B
289#define DE_OSX_N DE_N
290#define DE_OSX_M DE_M
291#define DE_OSX_COMM DE_COMM
292#define DE_OSX_DOT DE_DOT
293#define DE_OSX_MINS DE_MINS
98 294
99// Alt-ed characters 295#define DE_OSX_RING DE_DEG
100//#define DE_OSX_SQ2 LALT(KC_2) // ² 296#define DE_OSX_EXLM DE_EXLM
101//#define DE_OSX_SQ3 LALT(KC_3) // ³ 297#define DE_OSX_DQOT DE_DQUO
102#define DE_OSX_LCBR LALT(KC_8) // { 298#define DE_OSX_PARA DE_SECT
103#define DE_OSX_LBRC LALT(KC_5) // [ 299#define DE_OSX_DLR DE_DLR
104#define DE_OSX_RBRC LALT(KC_6) // ] 300#define DE_OSX_PERC DE_PERC
105#define DE_OSX_RCBR LALT(KC_9) // } 301#define DE_OSX_AMPR DE_AMPR
106#define DE_OSX_BSLS LALT(LSFT(KC_7)) // backslash 302#define DE_OSX_SLSH DE_SLSH
107#define DE_OSX_AT LALT(DE_OSX_L) // @ 303#define DE_OSX_LPRN DE_LPRN
108#define DE_OSX_EURO LALT(KC_E) // € 304#define DE_OSX_RPRN DE_RPRN
109#define DE_OSX_TILD LALT(DE_OSX_N) // ~ 305#define DE_OSX_EQL DE_EQL
110#define DE_OSX_PIPE LALT(DE_OSX_7) // | 306#define DE_OSX_QST DE_QUES
307#define DE_OSX_GRV DE_GRV
308#define DE_OSX_ASTR DE_ASTR
309#define DE_OSX_QUOT DE_QUOT
310#define DE_OSX_MORE DE_RABK
311#define DE_OSX_COLN DE_COLN
312#define DE_OSX_SCLN DE_SCLN
313#define DE_OSX_UNDS DE_UNDS
111 314
112#endif 315#define DE_OSX_LBRC DE_LBRC
316#define DE_OSX_RBRC DE_RBRC
317#define DE_OSX_PIPE DE_PIPE
318#define DE_OSX_LCBR DE_LCBR
319#define DE_OSX_RCBR DE_RCBR
320#define DE_OSX_AT DE_AT
321#define DE_OSX_EURO DE_EURO
322#define DE_OSX_TILD DE_TILD
323#define DE_OSX_BSLS DE_BSLS