keymap_nordic.h (2909B)
1 // Copyright 2026 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_NORDIC_KEYCODES_VERSION "0.0.1" 31 #define QMK_NORDIC_KEYCODES_VERSION_BCD 0x00000001 32 #define QMK_NORDIC_KEYCODES_VERSION_MAJOR 0 33 #define QMK_NORDIC_KEYCODES_VERSION_MINOR 0 34 #define QMK_NORDIC_KEYCODES_VERSION_PATCH 1 35 36 // Aliases 37 #define NO_HALF KC_GRV 38 #define NO_PLUS KC_MINS 39 #define NO_ACUT KC_EQL 40 #define NO_AM KC_LBRC 41 #define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout 42 #define NO_AE KC_SCLN 43 #define NO_OSLH KC_QUOT 44 #define NO_APOS KC_NUHS 45 #define NO_LESS KC_NUBS 46 #define NO_MINS KC_SLSH 47 #define NO_SECT LSFT(NO_HALF) 48 #define NO_QUO2 LSFT(KC_2) 49 #define NO_BULT LSFT(KC_4) 50 #define NO_AMPR LSFT(KC_6) 51 #define NO_SLSH LSFT(KC_7) 52 #define NO_LPRN LSFT(KC_8) 53 #define NO_RPRN LSFT(KC_9) 54 #define NO_EQL LSFT(KC_0) 55 #define NO_QUES LSFT(NO_PLUS) 56 #define NO_GRV LSFT(NO_ACUT) 57 #define NO_CIRC LSFT(NO_QUOT) 58 #define NO_GRTR LSFT(NO_LESS) 59 #define NO_SCLN LSFT(KC_COMM) 60 #define NO_COLN LSFT(KC_DOT) 61 #define NO_UNDS LSFT(NO_MINS) 62 #define NO_AT ALGR(KC_2) 63 #define NO_PND ALGR(KC_3) 64 #define NO_DLR ALGR(KC_4) 65 #define NO_LCBR ALGR(KC_7) 66 #define NO_LBRC ALGR(KC_8) 67 #define NO_RBRC ALGR(KC_9) 68 #define NO_RCBR ALGR(KC_0) 69 #define NO_PIPE ALGR(KC_NUBS) 70 #define NO_EURO ALGR(KC_E) 71 #define NO_TILD ALGR(NO_QUOT) 72 #define NO_BSLS ALGR(KC_MINS) 73 #define NO_MU ALGR(KC_M) 74