|
| 1 | +// Copyright 2025 QMK |
| 2 | +// SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | + |
| 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 | +*******************************************************************************/ |
| 25 | + |
| 26 | +#pragma once |
| 27 | +// #include "keycodes.h" |
| 28 | +// clang-format off |
| 29 | + |
| 30 | +#define QMK_SWEDISH_KEYCODES_VERSION "0.0.1" |
| 31 | +#define QMK_SWEDISH_KEYCODES_VERSION_BCD 0x00000001 |
| 32 | +#define QMK_SWEDISH_KEYCODES_VERSION_MAJOR 0 |
| 33 | +#define QMK_SWEDISH_KEYCODES_VERSION_MINOR 0 |
| 34 | +#define QMK_SWEDISH_KEYCODES_VERSION_PATCH 1 |
| 35 | + |
| 36 | +// Aliases |
| 37 | +#define SE_SECT KC_GRV // § |
| 38 | +#define SE_1 KC_1 // 1 |
| 39 | +#define SE_2 KC_2 // 2 |
| 40 | +#define SE_3 KC_3 // 3 |
| 41 | +#define SE_4 KC_4 // 4 |
| 42 | +#define SE_5 KC_5 // 5 |
| 43 | +#define SE_6 KC_6 // 6 |
| 44 | +#define SE_7 KC_7 // 7 |
| 45 | +#define SE_8 KC_8 // 8 |
| 46 | +#define SE_9 KC_9 // 9 |
| 47 | +#define SE_0 KC_0 // 0 |
| 48 | +#define SE_PLUS KC_MINS // + |
| 49 | +#define SE_ACUT KC_EQL // ´ (dead) |
| 50 | +#define SE_Q KC_Q // Q |
| 51 | +#define SE_W KC_W // W |
| 52 | +#define SE_E KC_E // E |
| 53 | +#define SE_R KC_R // R |
| 54 | +#define SE_T KC_T // T |
| 55 | +#define SE_Y KC_Y // Y |
| 56 | +#define SE_U KC_U // U |
| 57 | +#define SE_I KC_I // I |
| 58 | +#define SE_O KC_O // O |
| 59 | +#define SE_P KC_P // P |
| 60 | +#define SE_AA KC_LBRC // Å |
| 61 | +#define SE_DIAE KC_RBRC // ¨ (dead) |
| 62 | +#define SE_A KC_A // A |
| 63 | +#define SE_S KC_S // S |
| 64 | +#define SE_D KC_D // D |
| 65 | +#define SE_F KC_F // F |
| 66 | +#define SE_G KC_G // G |
| 67 | +#define SE_H KC_H // H |
| 68 | +#define SE_J KC_J // J |
| 69 | +#define SE_K KC_K // K |
| 70 | +#define SE_L KC_L // L |
| 71 | +#define SE_OE KC_SCLN // Ö |
| 72 | +#define SE_AE KC_QUOT // Ä |
| 73 | +#define SE_QUOT KC_NUHS // ' |
| 74 | +#define SE_LABK KC_NUBS // < |
| 75 | +#define SE_Z KC_Z // Z |
| 76 | +#define SE_X KC_X // X |
| 77 | +#define SE_C KC_C // C |
| 78 | +#define SE_V KC_V // V |
| 79 | +#define SE_B KC_B // B |
| 80 | +#define SE_N KC_N // N |
| 81 | +#define SE_M KC_M // M |
| 82 | +#define SE_COMM KC_COMM // , |
| 83 | +#define SE_DOT KC_DOT // . |
| 84 | +#define SE_MINS KC_SLSH // - |
| 85 | +#define SE_HALF S(SE_SECT) // ½ |
| 86 | +#define SE_EXLM S(SE_1) // ! |
| 87 | +#define SE_DQUO S(SE_2) // " |
| 88 | +#define SE_HASH S(SE_3) // # |
| 89 | +#define SE_CURR S(SE_4) // ¤ |
| 90 | +#define SE_PERC S(SE_5) // % |
| 91 | +#define SE_AMPR S(SE_6) // & |
| 92 | +#define SE_SLSH S(SE_7) // / |
| 93 | +#define SE_LPRN S(SE_8) // ( |
| 94 | +#define SE_RPRN S(SE_9) // ) |
| 95 | +#define SE_EQL S(SE_0) // = |
| 96 | +#define SE_QUES S(SE_PLUS) // ? |
| 97 | +#define SE_GRV S(SE_ACUT) // ` (dead) |
| 98 | +#define SE_CIRC S(SE_DIAE) // ^ (dead) |
| 99 | +#define SE_ASTR S(SE_QUOT) // * |
| 100 | +#define SE_RABK S(SE_LABK) // > |
| 101 | +#define SE_SCLN S(SE_COMM) // ; |
| 102 | +#define SE_COLN S(SE_DOT) // : |
| 103 | +#define SE_UNDS S(SE_MINS) // _ |
| 104 | +#define SE_AT ALGR(SE_2) // @ |
| 105 | +#define SE_PND ALGR(SE_3) // £ |
| 106 | +#define SE_DLR ALGR(SE_4) // $ |
| 107 | +#define SE_EURO ALGR(SE_5) // € |
| 108 | +#define SE_LCBR ALGR(SE_7) // { |
| 109 | +#define SE_LBRC ALGR(SE_8) // [ |
| 110 | +#define SE_RBRC ALGR(SE_9) // ] |
| 111 | +#define SE_RCBR ALGR(SE_0) // } |
| 112 | +#define SE_BSLS ALGR(SE_PLUS) // (backslash) |
| 113 | +#define SE_TILD ALGR(SE_DIAE) // ~ (dead) |
| 114 | +#define SE_PIPE ALGR(SE_LABK) // | |
| 115 | +#define SE_MICR ALGR(SE_M) // µ |
| 116 | + |
0 commit comments