diff options
| author | Ryan <fauxpark@gmail.com> | 2020-03-17 01:31:48 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-16 14:31:48 +0000 |
| commit | 7fe4097792e779cc4c74fc6152740fcf91682c15 (patch) | |
| tree | e7748976d8f92aaaf94c8523621e3d8f47776b1a /quantum/keymap_extras/keymap_german.h | |
| parent | 652f4492d3f02f330fc0b4a1476c07821f3c0cd9 (diff) | |
| download | qmk_firmware-7fe4097792e779cc4c74fc6152740fcf91682c15.tar.gz qmk_firmware-7fe4097792e779cc4c74fc6152740fcf91682c15.zip | |
Update German keymap and sendstring LUT (#8437)
Diffstat (limited to 'quantum/keymap_extras/keymap_german.h')
| -rw-r--r-- | quantum/keymap_extras/keymap_german.h | 231 |
1 files changed, 143 insertions, 88 deletions
diff --git a/quantum/keymap_extras/keymap_german.h b/quantum/keymap_extras/keymap_german.h index b41b11d6a..59198dd1b 100644 --- a/quantum/keymap_extras/keymap_german.h +++ b/quantum/keymap_extras/keymap_german.h | |||
| @@ -14,98 +14,153 @@ | |||
| 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 | 16 | ||
| 17 | #ifndef KEYMAP_GERMAN | 17 | #pragma once |
| 18 | #define KEYMAP_GERMAN | ||
| 19 | 18 | ||
| 20 | #include "keymap.h" | 19 | #include "keymap.h" |
| 21 | 20 | ||
| 22 | // normal characters | 21 | // clang-format off |
| 23 | #define DE_Z KC_Y | ||
| 24 | #define DE_Y KC_Z | ||
| 25 | 22 | ||
| 26 | #define DE_A KC_A | 23 | /* |
| 27 | #define DE_B KC_B | 24 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
| 28 | #define DE_C KC_C | 25 | * │ ^ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ß │ ´ │ │ |
| 29 | #define DE_D KC_D | 26 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
| 30 | #define DE_E KC_E | 27 | * │ │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │ Ü │ + │ │ |
| 31 | #define DE_F KC_F | 28 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ |
| 32 | #define DE_G KC_G | 29 | * │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ö │ Ä │ # │ │ |
| 33 | #define DE_H KC_H | 30 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ |
| 34 | #define DE_I KC_I | 31 | * │ │ < │ Y │ X │ C │ V │ B │ N │ M │ , │ . │ - │ │ |
| 35 | #define DE_J KC_J | 32 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ |
| 36 | #define DE_K KC_K | 33 | * │ │ │ │ │ │ │ │ │ |
| 37 | #define DE_L KC_L | 34 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ |
| 38 | #define DE_M KC_M | 35 | */ |
| 39 | #define DE_N KC_N | 36 | // Row 1 |
| 40 | #define DE_O KC_O | 37 | #define DE_CIRC KC_GRV // ^ (dead) |
| 41 | #define DE_P KC_P | 38 | #define DE_1 KC_1 // 1 |
| 42 | #define DE_Q KC_Q | 39 | #define DE_2 KC_2 // 2 |
| 43 | #define DE_R KC_R | 40 | #define DE_3 KC_3 // 3 |
| 44 | #define DE_S KC_S | 41 | #define DE_4 KC_4 // 4 |
| 45 | #define DE_T KC_T | 42 | #define DE_5 KC_5 // 5 |
| 46 | #define DE_U KC_U | 43 | #define DE_6 KC_6 // 6 |
| 47 | #define DE_V KC_V | 44 | #define DE_7 KC_7 // 7 |
| 48 | #define DE_W KC_W | 45 | #define DE_8 KC_8 // 8 |
| 49 | #define DE_X KC_X | 46 | #define DE_9 KC_9 // 9 |
| 50 | 47 | #define DE_0 KC_0 // 0 | |
| 51 | #define DE_0 KC_0 | 48 | #define DE_SS KC_MINS // ß |
| 52 | #define DE_1 KC_1 | 49 | #define DE_ACUT KC_EQL // ´ (dead) |
| 53 | #define DE_2 KC_2 | 50 | // Row 2 |
| 54 | #define DE_3 KC_3 | 51 | #define DE_Q KC_Q // Q |
| 55 | #define DE_4 KC_4 | 52 | #define DE_W KC_W // W |
| 56 | #define DE_5 KC_5 | 53 | #define DE_E KC_E // E |
| 57 | #define DE_6 KC_6 | 54 | #define DE_R KC_R // R |
| 58 | #define DE_7 KC_7 | 55 | #define DE_T KC_T // T |
| 59 | #define DE_8 KC_8 | 56 | #define DE_Z KC_Y // Z |
| 60 | #define DE_9 KC_9 | 57 | #define DE_U KC_U // U |
| 61 | 58 | #define DE_I KC_I // I | |
| 62 | #define DE_DOT KC_DOT | 59 | #define DE_O KC_O // O |
| 63 | #define DE_COMM KC_COMM | 60 | #define DE_P KC_P // P |
| 64 | 61 | #define DE_UDIA KC_LBRC // Ü | |
| 65 | #define DE_SS KC_MINS | 62 | #define DE_PLUS KC_RBRC // + |
| 66 | #define DE_AE KC_QUOT | 63 | // Row 3 |
| 67 | #define DE_UE KC_LBRC | 64 | #define DE_A KC_A // A |
| 68 | #define DE_OE KC_SCLN | 65 | #define DE_S KC_S // S |
| 69 | 66 | #define DE_D KC_D // D | |
| 70 | #define DE_CIRC KC_GRAVE // accent circumflex ^ and ring ° | 67 | #define DE_F KC_F // F |
| 71 | #define DE_ACUT KC_EQL // accent acute ´ and grave ` | 68 | #define DE_G KC_G // G |
| 72 | #define DE_PLUS KC_RBRC // + and * and ~ | 69 | #define DE_H KC_H // H |
| 73 | #define DE_HASH KC_BSLS // # and ' | 70 | #define DE_J KC_J // J |
| 74 | #define DE_LESS KC_NUBS // < and > and | | 71 | #define DE_K KC_K // K |
| 75 | #define DE_MINS KC_SLSH // - and _ | 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 // - | ||
| 76 | 88 | ||
| 77 | // shifted characters | 89 | /* Shifted symbols |
| 78 | #define DE_RING LSFT(DE_CIRC) // ° | 90 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
| 79 | #define DE_EXLM LSFT(KC_1) // ! | 91 | * │ ° │ ! │ " │ § │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │ |
| 80 | #define DE_DQOT LSFT(KC_2) // " | 92 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
| 81 | #define DE_PARA LSFT(KC_3) // § | 93 | * │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │ |
| 82 | #define DE_DLR LSFT(KC_4) // $ | 94 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ |
| 83 | #define DE_PERC LSFT(KC_5) // % | 95 | * │ │ │ │ │ │ │ │ │ │ │ │ │ ' │ │ |
| 84 | #define DE_AMPR LSFT(KC_6) // & | 96 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ |
| 85 | #define DE_SLSH LSFT(KC_7) // / | 97 | * │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │ |
| 86 | #define DE_LPRN LSFT(KC_8) // ( | 98 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ |
| 87 | #define DE_RPRN LSFT(KC_9) // ) | 99 | * │ │ │ │ │ │ │ │ │ |
| 88 | #define DE_EQL LSFT(KC_0) // = | 100 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ |
| 89 | #define DE_QST LSFT(DE_SS) // ? | 101 | */ |
| 90 | #define DE_GRV LSFT(DE_ACUT) // ` | 102 | // Row 1 |
| 91 | #define DE_ASTR LSFT(DE_PLUS) // * | 103 | #define DE_DEG S(DE_CIRC) // ° |
| 92 | #define DE_QUOT LSFT(DE_HASH) // ' | 104 | #define DE_EXLM S(DE_1) // ! |
| 93 | #define DE_MORE LSFT(DE_LESS) // > | 105 | #define DE_DQUO S(DE_2) // " |
| 94 | #define DE_COLN LSFT(KC_DOT) // : | 106 | #define DE_SECT S(DE_3) // § |
| 95 | #define DE_SCLN LSFT(KC_COMM) // ; | 107 | #define DE_DLR S(DE_4) // $ |
| 96 | #define DE_UNDS LSFT(DE_MINS) // _ | 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) // _ | ||
| 97 | 125 | ||
| 98 | // Alt Gr-ed characters | 126 | /* AltGr symbols |
| 99 | #define DE_SQ2 ALGR(KC_2) // ² | 127 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ |
| 100 | #define DE_SQ3 ALGR(KC_3) // ³ | 128 | * │ │ │ ² │ ³ │ │ │ │ { │ [ │ ] │ } │ \ │ │ │ |
| 101 | #define DE_LCBR ALGR(KC_7) // { | 129 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ |
| 102 | #define DE_LBRC ALGR(KC_8) // [ | 130 | * │ │ @ │ │ € │ │ │ │ │ │ │ │ │ ~ │ │ |
| 103 | #define DE_RBRC ALGR(KC_9) // ] | 131 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ |
| 104 | #define DE_RCBR ALGR(KC_0) // } | 132 | * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
| 105 | #define DE_BSLS ALGR(DE_SS) // backslash | 133 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ |
| 106 | #define DE_AT ALGR(KC_Q) // @ | 134 | * │ │ | │ │ │ │ │ │ │ µ │ │ │ │ │ |
| 107 | #define DE_EURO ALGR(KC_E) // € | 135 | * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤ |
| 108 | #define DE_TILD ALGR(DE_PLUS) // ~ | 136 | * │ │ │ │ │ │ │ │ │ |
| 109 | #define DE_PIPE ALGR(DE_LESS) // | | 137 | * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ |
| 138 | */ | ||
| 139 | // Row 1 | ||
| 140 | #define DE_SUP2 ALGR(DE_2) // ² | ||
| 141 | #define DE_SUP3 ALGR(DE_3) // ³ | ||
| 142 | #define DE_LCBR ALGR(DE_7) // { | ||
| 143 | #define DE_LBRC ALGR(DE_8) // [ | ||
| 144 | #define DE_RBRC ALGR(DE_9) // ] | ||
| 145 | #define DE_RCBR ALGR(DE_0) // } | ||
| 146 | #define DE_BSLS ALGR(DE_SS) // (backslash) | ||
| 147 | // Row 2 | ||
| 148 | #define DE_AT ALGR(DE_Q) // @ | ||
| 149 | #define DE_EURO ALGR(DE_E) // € | ||
| 150 | #define DE_TILD ALGR(DE_PLUS) // ~ | ||
| 151 | // Row 4 | ||
| 152 | #define DE_PIPE ALGR(DE_LABK) // | | ||
| 153 | #define DE_MICR ALGR(DE_M) // µ | ||
| 110 | 154 | ||
| 111 | #endif | 155 | // DEPRECATED |
| 156 | #define DE_UE DE_UDIA | ||
| 157 | #define DE_OE DE_ODIA | ||
| 158 | #define DE_AE DE_ADIA | ||
| 159 | #define DE_LESS DE_LABK | ||
| 160 | #define DE_RING DE_DEG | ||
| 161 | #define DE_DQOT DE_DQUO | ||
| 162 | #define DE_PARA DE_SECT | ||
| 163 | #define DE_QST DE_QUES | ||
| 164 | #define DE_MORE DE_RABK | ||
| 165 | #define DE_SQ2 DE_SUP2 | ||
| 166 | #define DE_SQ3 DE_SUP3 | ||
