diff options
| author | Joel Challis <git@zvecr.com> | 2022-12-21 23:35:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-21 23:35:23 +0000 |
| commit | e5721bbd37fcb0372fd007caae5a3f2aed060479 (patch) | |
| tree | 68bfcddfb400d00cbbea3d14e5a3b1c90492218c /quantum/keymap_extras/keymap_swedish_mac_iso.h | |
| parent | 89b72017a014ca4810790831030c88054129f21c (diff) | |
Remaining DD keymap_extras migration (#19110)
* Parse headers to data
* Regen headers from data
Diffstat (limited to 'quantum/keymap_extras/keymap_swedish_mac_iso.h')
| -rw-r--r-- | quantum/keymap_extras/keymap_swedish_mac_iso.h | 115 |
1 files changed, 26 insertions, 89 deletions
diff --git a/quantum/keymap_extras/keymap_swedish_mac_iso.h b/quantum/keymap_extras/keymap_swedish_mac_iso.h index ab155530ae..06c3470b3b 100644 --- a/quantum/keymap_extras/keymap_swedish_mac_iso.h +++ b/quantum/keymap_extras/keymap_swedish_mac_iso.h | |||
| @@ -1,39 +1,33 @@ | |||
| 1 | /* Copyright 2021 | 1 | // Copyright 2022 QMK |
| 2 | * | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 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 | 3 | ||
| 17 | #pragma once | 4 | /******************************************************************************* |
| 5 | 88888888888 888 d8b .d888 d8b 888 d8b | ||
| 6 | 888 888 Y8P d88P" Y8P 888 Y8P | ||
| 7 | 888 888 888 888 | ||
| 8 | 888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b | ||
| 9 | 888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K | ||
| 10 | 888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b. | ||
| 11 | 888 888 888 888 X88 888 888 888 Y8b. 888 X88 | ||
| 12 | 888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P' | ||
| 13 | 888 888 | ||
| 14 | 888 888 | ||
| 15 | 888 888 | ||
| 16 | .d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888 | ||
| 17 | d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888 | ||
| 18 | 888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888 | ||
| 19 | Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888 | ||
| 20 | "Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888 | ||
| 21 | 888 | ||
| 22 | Y8b d88P | ||
| 23 | "Y88P" | ||
| 24 | *******************************************************************************/ | ||
| 18 | 25 | ||
| 26 | #pragma once | ||
| 19 | #include "keymap.h" | 27 | #include "keymap.h" |
| 20 | |||
| 21 | // clang-format off | 28 | // clang-format off |
| 22 | 29 | ||
| 23 | /* | 30 | // Aliases |
| 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 SE_SECT KC_GRV // § | 31 | #define SE_SECT KC_GRV // § |
| 38 | #define SE_1 KC_1 // 1 | 32 | #define SE_1 KC_1 // 1 |
| 39 | #define SE_2 KC_2 // 2 | 33 | #define SE_2 KC_2 // 2 |
| @@ -47,7 +41,6 @@ | |||
| 47 | #define SE_0 KC_0 // 0 | 41 | #define SE_0 KC_0 // 0 |
| 48 | #define SE_PLUS KC_MINS // + | 42 | #define SE_PLUS KC_MINS // + |
| 49 | #define SE_ACUT KC_EQL // ´ (dead) | 43 | #define SE_ACUT KC_EQL // ´ (dead) |
| 50 | // Row 2 | ||
| 51 | #define SE_Q KC_Q // Q | 44 | #define SE_Q KC_Q // Q |
| 52 | #define SE_W KC_W // W | 45 | #define SE_W KC_W // W |
| 53 | #define SE_E KC_E // E | 46 | #define SE_E KC_E // E |
| @@ -60,7 +53,6 @@ | |||
| 60 | #define SE_P KC_P // P | 53 | #define SE_P KC_P // P |
| 61 | #define SE_ARNG KC_LBRC // Å | 54 | #define SE_ARNG KC_LBRC // Å |
| 62 | #define SE_DIAE KC_RBRC // ¨ (dead) | 55 | #define SE_DIAE KC_RBRC // ¨ (dead) |
| 63 | // Row 3 | ||
| 64 | #define SE_A KC_A // A | 56 | #define SE_A KC_A // A |
| 65 | #define SE_S KC_S // S | 57 | #define SE_S KC_S // S |
| 66 | #define SE_D KC_D // D | 58 | #define SE_D KC_D // D |
| @@ -73,7 +65,6 @@ | |||
| 73 | #define SE_ODIA KC_SCLN // Ö | 65 | #define SE_ODIA KC_SCLN // Ö |
| 74 | #define SE_ADIA KC_QUOT // Ä | 66 | #define SE_ADIA KC_QUOT // Ä |
| 75 | #define SE_QUOT KC_NUHS // ' | 67 | #define SE_QUOT KC_NUHS // ' |
| 76 | // Row 4 | ||
| 77 | #define SE_LABK KC_NUBS // < | 68 | #define SE_LABK KC_NUBS // < |
| 78 | #define SE_Z KC_Z // Z | 69 | #define SE_Z KC_Z // Z |
| 79 | #define SE_X KC_X // X | 70 | #define SE_X KC_X // X |
| @@ -85,22 +76,7 @@ | |||
| 85 | #define SE_COMM KC_COMM // , | 76 | #define SE_COMM KC_COMM // , |
| 86 | #define SE_DOT KC_DOT // . | 77 | #define SE_DOT KC_DOT // . |
| 87 | #define SE_MINS KC_SLSH // - | 78 | #define SE_MINS KC_SLSH // - |
| 88 | 79 | #define SE_DEG S(SE_SECT) // ° | |
| 89 | /* Shifted symbols | ||
| 90 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ | ||
| 91 | * │ ° │ ! │ " │ # │ € │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │ | ||
| 92 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤ | ||
| 93 | * │ │ │ │ │ │ │ │ │ │ │ │ │ ^ │ │ | ||
| 94 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ | ||
| 95 | * │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │ | ||
| 96 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤ | ||
| 97 | * │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │ | ||
| 98 | * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤ | ||
| 99 | * │ │ │ │ │ │ │ │ | ||
| 100 | * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘ | ||
| 101 | */ | ||
| 102 | // Row 1 | ||
| 103 | #define SE_DEG S(SE_SECT) // ° | ||
| 104 | #define SE_EXLM S(SE_1) // ! | 80 | #define SE_EXLM S(SE_1) // ! |
| 105 | #define SE_DQUO S(SE_2) // " | 81 | #define SE_DQUO S(SE_2) // " |
| 106 | #define SE_HASH S(SE_3) // # | 82 | #define SE_HASH S(SE_3) // # |
| @@ -113,30 +89,12 @@ | |||
| 113 | #define SE_EQL S(SE_0) // = | 89 | #define SE_EQL S(SE_0) // = |
| 114 | #define SE_QUES S(SE_PLUS) // ? | 90 | #define SE_QUES S(SE_PLUS) // ? |
| 115 | #define SE_GRV S(SE_ACUT) // ` | 91 | #define SE_GRV S(SE_ACUT) // ` |
| 116 | // Row 2 | ||
| 117 | #define SE_CIRC S(SE_DIAE) // ^ (dead) | 92 | #define SE_CIRC S(SE_DIAE) // ^ (dead) |
| 118 | // Row 3 | ||
| 119 | #define SE_ASTR S(SE_QUOT) // * | 93 | #define SE_ASTR S(SE_QUOT) // * |
| 120 | // Row 4 | ||
| 121 | #define SE_RABK S(SE_LABK) // > | 94 | #define SE_RABK S(SE_LABK) // > |
| 122 | #define SE_SCLN S(SE_COMM) // ; | 95 | #define SE_SCLN S(SE_COMM) // ; |
| 123 | #define SE_COLN S(SE_DOT) // : | 96 | #define SE_COLN S(SE_DOT) // : |
| 124 | #define SE_UNDS S(SE_MINS) // _ | 97 | #define SE_UNDS S(SE_MINS) // _ |
| 125 | |||
| 126 | /* Alted symbols | ||
| 127 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ | ||
| 128 | * │ ¶ │ © │ ™ │ £ │ $ │ ∞ │ │ | │ [ │ ] │ ≈ │ ± │ │ │ | ||
| 129 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤ | ||
| 130 | * │ │ • │ Ω │ É │ ® │ † │ µ │ Ü │ ı │ Œ │ π │ ˙ │ ~ │ │ | ||
| 131 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ | ||
| 132 | * │ │ │ ß │ ∂ │ ƒ │ ¸ │ ˛ │ √ │ ª │ fi │ Ø │ Æ │ @ │ │ | ||
| 133 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤ | ||
| 134 | * │ │ ≤ │ ÷ │ │ Ç │ ‹ │ › │ ‘ │ ’ │ ‚ │ … │ – │ │ | ||
| 135 | * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤ | ||
| 136 | * │ │ │ │ │ │ │ │ | ||
| 137 | * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘ | ||
| 138 | */ | ||
| 139 | // Row 1 | ||
| 140 | #define SE_PILC A(SE_SECT) // ¶ | 98 | #define SE_PILC A(SE_SECT) // ¶ |
| 141 | #define SE_COPY A(SE_1) // © | 99 | #define SE_COPY A(SE_1) // © |
| 142 | #define SE_TM A(SE_2) // ™ | 100 | #define SE_TM A(SE_2) // ™ |
| @@ -148,7 +106,6 @@ | |||
| 148 | #define SE_RBRC A(SE_9) // ] | 106 | #define SE_RBRC A(SE_9) // ] |
| 149 | #define SE_AEQL A(SE_0) // ≈ | 107 | #define SE_AEQL A(SE_0) // ≈ |
| 150 | #define SE_PLMN A(SE_PLUS) // ± | 108 | #define SE_PLMN A(SE_PLUS) // ± |
| 151 | // Row 2 | ||
| 152 | #define SE_BULT A(SE_Q) // • | 109 | #define SE_BULT A(SE_Q) // • |
| 153 | #define SE_OMEG A(SE_W) // Ω | 110 | #define SE_OMEG A(SE_W) // Ω |
| 154 | #define SE_EACU A(SE_E) // É | 111 | #define SE_EACU A(SE_E) // É |
| @@ -161,7 +118,6 @@ | |||
| 161 | #define SE_PI A(SE_P) // π | 118 | #define SE_PI A(SE_P) // π |
| 162 | #define SE_DOTA A(SE_ARNG) // ˙ | 119 | #define SE_DOTA A(SE_ARNG) // ˙ |
| 163 | #define SE_TILD A(SE_DIAE) // ~ (dead) | 120 | #define SE_TILD A(SE_DIAE) // ~ (dead) |
| 164 | // Row 3 | ||
| 165 | #define SE_APPL A(SE_A) // (Apple logo) | 121 | #define SE_APPL A(SE_A) // (Apple logo) |
| 166 | #define SE_SS A(SE_S) // ß | 122 | #define SE_SS A(SE_S) // ß |
| 167 | #define SE_PDIF A(SE_D) // ∂ | 123 | #define SE_PDIF A(SE_D) // ∂ |
| @@ -174,7 +130,6 @@ | |||
| 174 | #define SE_OSTR A(SE_ODIA) // Ø | 130 | #define SE_OSTR A(SE_ODIA) // Ø |
| 175 | #define SE_AE A(SE_ADIA) // Æ | 131 | #define SE_AE A(SE_ADIA) // Æ |
| 176 | #define SE_AT A(SE_QUOT) // @ | 132 | #define SE_AT A(SE_QUOT) // @ |
| 177 | // Row 4 | ||
| 178 | #define SE_LTEQ A(SE_LABK) // ≤ | 133 | #define SE_LTEQ A(SE_LABK) // ≤ |
| 179 | #define SE_DIV A(SE_Z) // ÷ | 134 | #define SE_DIV A(SE_Z) // ÷ |
| 180 | #define SE_CCED A(SE_C) // Ç | 135 | #define SE_CCED A(SE_C) // Ç |
| @@ -185,21 +140,6 @@ | |||
| 185 | #define SE_SLQU A(SE_COMM) // ‚ | 140 | #define SE_SLQU A(SE_COMM) // ‚ |
| 186 | #define SE_ELLP A(SE_DOT) // … | 141 | #define SE_ELLP A(SE_DOT) // … |
| 187 | #define SE_NDSH A(SE_MINS) // – | 142 | #define SE_NDSH A(SE_MINS) // – |
| 188 | |||
| 189 | /* Shift+Alted symbols | ||
| 190 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ | ||
| 191 | * │ │ ¡ │ ” │ ¥ │ ¢ │ ‰ │ │ \ │ { │ } │ ≠ │ ¿ │ │ │ | ||
| 192 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬───┤ | ||
| 193 | * │ │ │ ˝ │ │ │ ‡ │ ˜ │ │ ˆ │ │ ∏ │ ˚ │ │ │ | ||
| 194 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │ | ||
| 195 | * │ │ ◊ │ ∑ │ ∆ │ ∫ │ ¯ │ ˘ │ ¬ │ º │ fl │ │ │ │ │ | ||
| 196 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴──┤ | ||
| 197 | * │ │ ≥ │ ⁄ │ ˇ │ │ « │ » │ “ │ ” │ „ │ · │ — │ │ | ||
| 198 | * ├────┴┬──┴─┬─┴───┼───┴───┴───┴───┴───┴───┼───┴─┬─┴──┬─────┤ | ||
| 199 | * │ │ │ │ │ │ │ │ | ||
| 200 | * └─────┴────┴─────┴───────────────────────┴─────┴────┴─────┘ | ||
| 201 | */ | ||
| 202 | // Row 1 | ||
| 203 | #define SE_IEXL S(A(SE_1)) // ¡ | 143 | #define SE_IEXL S(A(SE_1)) // ¡ |
| 204 | #define SE_YEN S(A(SE_3)) // ¥ | 144 | #define SE_YEN S(A(SE_3)) // ¥ |
| 205 | #define SE_CENT S(A(SE_4)) // ¢ | 145 | #define SE_CENT S(A(SE_4)) // ¢ |
| @@ -209,14 +149,12 @@ | |||
| 209 | #define SE_RCBR S(A(SE_9)) // } | 149 | #define SE_RCBR S(A(SE_9)) // } |
| 210 | #define SE_NEQL S(A(SE_0)) // ≠ | 150 | #define SE_NEQL S(A(SE_0)) // ≠ |
| 211 | #define SE_IQUE S(A(SE_PLUS)) // ¿ | 151 | #define SE_IQUE S(A(SE_PLUS)) // ¿ |
| 212 | // Row 2 | ||
| 213 | #define SE_DACU S(A(SE_W)) // ˝ | 152 | #define SE_DACU S(A(SE_W)) // ˝ |
| 214 | #define SE_DDAG S(A(SE_T)) // ‡ | 153 | #define SE_DDAG S(A(SE_T)) // ‡ |
| 215 | #define SE_STIL S(A(SE_Y)) // ˜ | 154 | #define SE_STIL S(A(SE_Y)) // ˜ |
| 216 | #define SE_DCIR S(A(SE_I)) // ˆ | 155 | #define SE_DCIR S(A(SE_I)) // ˆ |
| 217 | #define SE_NARP S(A(SE_P)) // ∏ | 156 | #define SE_NARP S(A(SE_P)) // ∏ |
| 218 | #define SE_RNGA S(A(SE_ARNG)) // ˚ | 157 | #define SE_RNGA S(A(SE_ARNG)) // ˚ |
| 219 | // Row 3 | ||
| 220 | #define SE_LOZN S(A(SE_A)) // ◊ | 158 | #define SE_LOZN S(A(SE_A)) // ◊ |
| 221 | #define SE_NARS S(A(SE_S)) // ∑ | 159 | #define SE_NARS S(A(SE_S)) // ∑ |
| 222 | #define SE_INCR S(A(SE_D)) // ∆ | 160 | #define SE_INCR S(A(SE_D)) // ∆ |
| @@ -226,7 +164,6 @@ | |||
| 226 | #define SE_NOT S(A(SE_J)) // ¬ | 164 | #define SE_NOT S(A(SE_J)) // ¬ |
| 227 | #define SE_MORD S(A(SE_K)) // º | 165 | #define SE_MORD S(A(SE_K)) // º |
| 228 | #define SE_FL S(A(SE_L)) // fl | 166 | #define SE_FL S(A(SE_L)) // fl |
| 229 | // Row 4 | ||
| 230 | #define SE_GTEQ S(A(SE_LABK)) // ≥ | 167 | #define SE_GTEQ S(A(SE_LABK)) // ≥ |
| 231 | #define SE_FRSL S(A(SE_Z)) // ⁄ | 168 | #define SE_FRSL S(A(SE_Z)) // ⁄ |
| 232 | #define SE_CARN S(A(SE_X)) // ˇ | 169 | #define SE_CARN S(A(SE_X)) // ˇ |
