summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras
diff options
context:
space:
mode:
authorFlorian Didron <0x6664@hey.com>2022-06-22 16:24:12 +0900
committerFlorian Didron <0x6664@hey.com>2022-06-22 16:24:12 +0900
commit894569ee10d7b14ec9a6ac065aea577105e4ba4e (patch)
treee97993e2dfe8445d79508949318c52271c5b3230 /quantum/keymap_extras
parentd54c6c6b149dbd133669557ee2c5b110e2ee8df9 (diff)
hot/fix: restore german / swedish deprecated keycodes
Diffstat (limited to 'quantum/keymap_extras')
-rw-r--r--quantum/keymap_extras/keymap_german.h13
-rw-r--r--quantum/keymap_extras/keymap_swedish.h22
2 files changed, 35 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_german.h b/quantum/keymap_extras/keymap_german.h
index 085995b0c6..d77d670565 100644
--- a/quantum/keymap_extras/keymap_german.h
+++ b/quantum/keymap_extras/keymap_german.h
@@ -151,3 +151,16 @@
// Row 4
#define DE_PIPE ALGR(DE_LABK) // |
#define DE_MICR ALGR(DE_M) // ยต
+//
+// DEPRECATED
+#define DE_UE DE_UDIA
+#define DE_OE DE_ODIA
+#define DE_AE DE_ADIA
+#define DE_LESS DE_LABK
+#define DE_RING DE_DEG
+#define DE_DQOT DE_DQUO
+#define DE_PARA DE_SECT
+#define DE_QST DE_QUES
+#define DE_MORE DE_RABK
+#define DE_SQ2 DE_SUP2
+#define DE_SQ3 DE_SUP3
diff --git a/quantum/keymap_extras/keymap_swedish.h b/quantum/keymap_extras/keymap_swedish.h
index cadb66d3bd..139340ca59 100644
--- a/quantum/keymap_extras/keymap_swedish.h
+++ b/quantum/keymap_extras/keymap_swedish.h
@@ -154,3 +154,25 @@
// DEPRECATED
#include "keymap_nordic.h"
+#define SE_OSLH SE_ODIA
+#define SE_APOS SE_QUOT
+#define SE_LESS SE_LABK
+#define SE_QUO2 SE_DQUO
+#define SE_BULT SE_CURR
+#define SE_GRTR SE_RABK
+#define SE_AA SE_ARNG
+#define SE_AE SE_ADIA
+#define SE_AM SE_ARNG
+#define SE_MU SE_MICR
+// Swedish macOS symbols (not vetted)
+#define SE_ACUT_MAC SE_ACUT
+#define SE_APOS_MAC SE_LABK
+#define SE_AT_MAC SE_ADIA
+#define SE_BSLS_MAC S(SE_LCBR)
+#define SE_DLR_MAC SE_CURR
+#define SE_GRV_MAC SE_BSLS
+#define SE_GRTR_MAC SE_HALF
+#define SE_LCBR_MAC S(SE_LBRC)
+#define SE_LESS_MAC SE_SECT
+#define SE_PIPE_MAC SE_LCBR
+#define SE_RCBR_MAC S(SE_RBRC)