summaryrefslogtreecommitdiff
path: root/config/includes/common.h
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2024-10-07 22:38:49 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2024-10-07 22:38:49 +0200
commit509042cd79bb64a30922a1f2fadecaf5d20bb336 (patch)
tree40c74530bdf515f958e7c3cdbdcace303623a232 /config/includes/common.h
parent2f95d4dd4ca0b630534a0a23a0983794141ffb8a (diff)
downloadzmk-config-509042cd79bb64a30922a1f2fadecaf5d20bb336.tar.gz
zmk-config-509042cd79bb64a30922a1f2fadecaf5d20bb336.zip
Change to NO OS layout
Diffstat (limited to 'config/includes/common.h')
-rw-r--r--config/includes/common.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/includes/common.h b/config/includes/common.h
index 4a2daac..1038bee 100644
--- a/config/includes/common.h
+++ b/config/includes/common.h
@@ -24,6 +24,34 @@
quick-tap-ms = <QUICK_TAP_MS>;
};
+// Norwegian specific keycodes
+#define NB_GT LS(NON_US_BSLH)
+#define NB_LT NON_US_BSLH
+#define NB_DLLR RA(N4)
+#define NB_AT RA(N2)
+#define NB_BSLH EQUAL
+#define NB_MINUS FSLH
+#define NB_UNDER LS(NB_MINUS)
+#define NB_PIPE GRAVE
+#define NB_PLUS MINUS
+#define NB_EQUAL RPAR
+#define NB_STAR PIPE
+#define NB_CARET RBRC
+#define NB_AMPS CARET
+#define NB_FSLH LS(N7)
+#define NB_QST LS(MINUS)
+#define NB_DQT LS(N2)
+#define NB_SQT NON_US_HASH
+#define NB_LTICK LS(EQUAL)
+#define NB_RTICK RA(EQUAL)
+#define NB_TILD RA(RBKT)
+
+#define NB_LPAR LS(N8)
+#define NB_RPAR LS(N9)
+#define NB_LBKT RA(N8)
+#define NB_RBKT RA(N9)
+#define NB_LBRC RA(N7)
+#define NB_RBRC RA(N0)
// Some general behaviours that are slightly tweaked from the core
/ {