You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/quantum/keymap_extras/keymap_nordic.h

60 lines
1.2 KiB

9 years ago
#ifndef KEYMAP_NORDIC_H
#define KEYMAP_NORDIC_H
#include "keymap.h"
9 years ago
// Alt gr
#define ALGR(kc) RALT(kc)
9 years ago
#define NO_ALGR KC_RALT
// Normal characters
#define NO_HALF KC_GRV
#define NO_PLUS KC_MINS
9 years ago
#define NO_ACUT KC_EQL
9 years ago
#define NO_AM KC_LBRC
8 years ago
#define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout
9 years ago
#define NO_AE KC_SCLN
#define NO_OSLH KC_QUOT
#define NO_APOS KC_NUHS
#define NO_LESS KC_NUBS
#define NO_MINS KC_SLSH
9 years ago
// Shifted characters
#define NO_SECT LSFT(NO_HALF)
#define NO_QUO2 LSFT(KC_2)
#define NO_BULT LSFT(KC_4)
#define NO_AMPR LSFT(KC_6)
9 years ago
#define NO_SLSH LSFT(KC_7)
9 years ago
#define NO_LPRN LSFT(KC_8)
#define NO_RPRN LSFT(KC_9)
9 years ago
#define NO_EQL LSFT(KC_0)
#define NO_QUES LSFT(NO_PLUS)
9 years ago
#define NO_GRV LSFT(NO_ACUT)
9 years ago
9 years ago
#define NO_CIRC LSFT(NO_QUOT)
9 years ago
#define NO_GRTR LSFT(NO_LESS)
9 years ago
#define NO_SCLN LSFT(KC_COMM)
9 years ago
#define NO_COLN LSFT(KC_DOT)
#define NO_UNDS LSFT(NO_MINS)
9 years ago
// Alt Gr-ed characters
#define NO_AT ALGR(KC_2)
#define NO_PND ALGR(KC_3)
#define NO_DLR ALGR(KC_4)
9 years ago
#define NO_LCBR ALGR(KC_7)
#define NO_LBRC ALGR(KC_8)
#define NO_RBRC ALGR(KC_9)
#define NO_RCBR ALGR(KC_0)
#define NO_PIPE ALGR(KC_NUBS)
9 years ago
#define NO_EURO ALGR(KC_E)
#define NO_TILD ALGR(NO_QUOT)
#define NO_BSLS ALGR(KC_MINS)
9 years ago
#define NO_MU ALGR(KC_M)
9 years ago
#endif