]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_german_osx.h
Merge remote-tracking branch 'jackhumbert/master' into improve-buildguide
[qmk_firmware.git] / quantum / keymap_extras / keymap_german_osx.h
1 #ifndef KEYMAP_GERMAN_OSX
2 #define KEYMAP_GERMAN_OSX
3
4 #ifdef KEYMAP_GERMAN
5         #warning redefining german keys
6 #endif
7 #include "keymap_common.h"
8
9 // Alt gr
10
11 // normal characters
12 #define DE_Z KC_Y
13 #define DE_Y KC_Z
14
15 #define DE_A KC_A
16 #define DE_B KC_B
17 #define DE_C KC_C
18 #define DE_D KC_D
19 #define DE_E KC_E
20 #define DE_F KC_F
21 #define DE_G KC_G
22 #define DE_H KC_H
23 #define DE_I KC_I
24 #define DE_J KC_J
25 #define DE_K KC_K
26 #define DE_L KC_L
27 #define DE_M KC_M
28 #define DE_N KC_N
29 #define DE_O KC_O
30 #define DE_P KC_P
31 #define DE_Q KC_Q
32 #define DE_R KC_R
33 #define DE_S KC_S
34 #define DE_T KC_T
35 #define DE_U KC_U
36 #define DE_V KC_V
37 #define DE_W KC_W
38 #define DE_X KC_X
39
40 #define DE_0 KC_0
41 #define DE_1 KC_1
42 #define DE_2 KC_2
43 #define DE_3 KC_3
44 #define DE_4 KC_4
45 #define DE_5 KC_5
46 #define DE_6 KC_6
47 #define DE_7 KC_7
48 #define DE_8 KC_8
49 #define DE_9 KC_9
50
51 #define DE_DOT KC_DOT
52 #define DE_COMM KC_COMM
53
54 #define DE_SS KC_MINS
55 #define DE_AE KC_QUOT
56 #define DE_UE KC_LBRC
57 #define DE_OE KC_SCLN
58
59 #define DE_CIRC KC_NUBS // accent circumflex ^ and ring °
60 #define DE_ACUT KC_EQL // accent acute ´ and grave `
61 #define DE_PLUS KC_RBRC // + and * and ~
62 #define DE_HASH KC_BSLS // # and '
63 #define DE_LESS KC_GRV // < and > and |
64 #define DE_MINS KC_SLSH // - and _
65
66 // shifted characters
67 #define DE_RING LSFT(DE_CIRC) // °
68 #define DE_EXLM LSFT(KC_1) // !
69 #define DE_DQOT LSFT(KC_2) // "
70 #define DE_PARA LSFT(KC_3) // §
71 #define DE_DLR  LSFT(KC_4) // $
72 #define DE_PERC LSFT(KC_5) // %
73 #define DE_AMPR LSFT(KC_6) // &
74 #define DE_SLSH LSFT(KC_7) // /
75 #define DE_LPRN LSFT(KC_8) // (
76 #define DE_RPRN LSFT(KC_9) // )
77 #define DE_EQL  LSFT(KC_0) // =
78 #define DE_QST  LSFT(DE_SS) // ?
79 #define DE_GRV  LSFT(DE_ACUT) // `
80 #define DE_ASTR LSFT(DE_PLUS) // *
81 #define DE_QUOT LSFT(DE_HASH) // '
82 #define DE_MORE LSFT(DE_LESS) // >
83 #define DE_COLN LSFT(KC_DOT) // :
84 #define DE_SCLN LSFT(KC_COMM) // ;
85 #define DE_UNDS LSFT(DE_MINS) // _
86
87 // Alt-ed characters
88 #define DE_SQ2 LALT(KC_2) // ²
89 #define DE_SQ3 LALT(KC_3) // ³
90 #define DE_LCBR LALT(KC_8) // {
91 #define DE_LBRC LALT(KC_5) // [
92 #define DE_RBRC LALT(KC_6) // ]
93 #define DE_RCBR LALT(KC_9) // }
94 #define DE_BSLS LALT(LSFT(KC_7)) // backslash
95 #define DE_AT  LALT(DE_L) // @
96 #define DE_EURO LALT(KC_E) // €
97 #define DE_TILD LALT(DE_N) // ~
98 #define DE_PIPE LALT(DE_7) // |
99
100 #endif