]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_german.h
fix the clueboard layout json
[qmk_firmware.git] / quantum / keymap_extras / keymap_german.h
1 /* Copyright 2015-2016 Matthias Schmidtt
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 #ifndef KEYMAP_GERMAN
18 #define KEYMAP_GERMAN
19
20 #include "keymap.h"
21
22 // Alt gr
23 #define ALGR(kc) RALT(kc)
24 #define DE_ALGR KC_RALT
25
26 // normal characters
27 #define DE_Z KC_Y
28 #define DE_Y KC_Z
29
30 #define DE_A KC_A
31 #define DE_B KC_B
32 #define DE_C KC_C
33 #define DE_D KC_D
34 #define DE_E KC_E
35 #define DE_F KC_F
36 #define DE_G KC_G
37 #define DE_H KC_H
38 #define DE_I KC_I
39 #define DE_J KC_J
40 #define DE_K KC_K
41 #define DE_L KC_L
42 #define DE_M KC_M
43 #define DE_N KC_N
44 #define DE_O KC_O
45 #define DE_P KC_P
46 #define DE_Q KC_Q
47 #define DE_R KC_R
48 #define DE_S KC_S
49 #define DE_T KC_T
50 #define DE_U KC_U
51 #define DE_V KC_V
52 #define DE_W KC_W
53 #define DE_X KC_X
54
55 #define DE_0 KC_0
56 #define DE_1 KC_1
57 #define DE_2 KC_2
58 #define DE_3 KC_3
59 #define DE_4 KC_4
60 #define DE_5 KC_5
61 #define DE_6 KC_6
62 #define DE_7 KC_7
63 #define DE_8 KC_8
64 #define DE_9 KC_9
65
66 #define DE_DOT KC_DOT
67 #define DE_COMM KC_COMM
68
69 #define DE_SS KC_MINS
70 #define DE_AE KC_QUOT
71 #define DE_UE KC_LBRC
72 #define DE_OE KC_SCLN
73
74 #define DE_CIRC KC_GRAVE // accent circumflex ^ and ring °
75 #define DE_ACUT KC_EQL // accent acute ´ and grave `
76 #define DE_PLUS KC_RBRC // + and * and ~
77 #define DE_HASH KC_BSLS // # and '
78 #define DE_LESS KC_NUBS // < and > and |
79 #define DE_MINS KC_SLSH // - and _
80
81 // shifted characters
82 #define DE_RING LSFT(DE_CIRC) // °
83 #define DE_EXLM LSFT(KC_1) // !
84 #define DE_DQOT LSFT(KC_2) // "
85 #define DE_PARA LSFT(KC_3) // §
86 #define DE_DLR  LSFT(KC_4) // $
87 #define DE_PERC LSFT(KC_5) // %
88 #define DE_AMPR LSFT(KC_6) // &
89 #define DE_SLSH LSFT(KC_7) // /
90 #define DE_LPRN LSFT(KC_8) // (
91 #define DE_RPRN LSFT(KC_9) // )
92 #define DE_EQL  LSFT(KC_0) // =
93 #define DE_QST  LSFT(DE_SS) // ?
94 #define DE_GRV  LSFT(DE_ACUT) // `
95 #define DE_ASTR LSFT(DE_PLUS) // *
96 #define DE_QUOT LSFT(DE_HASH) // '
97 #define DE_MORE LSFT(DE_LESS) // >
98 #define DE_COLN LSFT(KC_DOT) // :
99 #define DE_SCLN LSFT(KC_COMM) // ;
100 #define DE_UNDS LSFT(DE_MINS) // _
101
102 // Alt Gr-ed characters
103 #define DE_SQ2 ALGR(KC_2) // ²
104 #define DE_SQ3 ALGR(KC_3) // ³
105 #define DE_LCBR ALGR(KC_7) // {
106 #define DE_LBRC ALGR(KC_8) // [
107 #define DE_RBRC ALGR(KC_9) // ]
108 #define DE_RCBR ALGR(KC_0) // }
109 #define DE_BSLS ALGR(DE_SS) // backslash
110 #define DE_AT  ALGR(KC_Q) // @
111 #define DE_EURO ALGR(KC_E) // €
112 #define DE_TILD ALGR(DE_PLUS) // ~
113 #define DE_PIPE ALGR(DE_LESS) // |
114
115 #endif