2015-10-25 22:11:04 +06:00
|
|
|
#ifndef KEYMAP_NORDIC_H
|
|
|
|
#define KEYMAP_NORDIC_H
|
|
|
|
|
2016-06-19 00:30:24 +06:00
|
|
|
#include "keymap.h"
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
// Alt gr
|
2016-07-14 22:13:35 +06:00
|
|
|
#define ALGR(kc) RALT(kc)
|
2015-10-25 22:11:04 +06:00
|
|
|
#define NO_ALGR KC_RALT
|
|
|
|
|
|
|
|
// Normal characters
|
|
|
|
#define NO_HALF KC_GRV
|
|
|
|
#define NO_PLUS KC_MINS
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_ACUT KC_EQL
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
#define NO_AM KC_LBRC
|
2016-12-03 00:03:51 +06:00
|
|
|
#define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout
|
2015-10-25 22:11:04 +06:00
|
|
|
#define NO_AE KC_SCLN
|
|
|
|
#define NO_OSLH KC_QUOT
|
|
|
|
#define NO_APOS KC_NUHS
|
|
|
|
|
|
|
|
#define NO_LESS KC_NUBS
|
2015-10-26 07:40:56 +06:00
|
|
|
#define NO_MINS KC_SLSH
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
// Shifted characters
|
|
|
|
#define NO_SECT LSFT(NO_HALF)
|
|
|
|
#define NO_QUO2 LSFT(KC_2)
|
|
|
|
#define NO_BULT LSFT(KC_4)
|
2016-07-25 16:50:27 +06:00
|
|
|
#define NO_AMPR LSFT(KC_6)
|
2015-10-25 22:11:04 +06:00
|
|
|
#define NO_SLSH LSFT(KC_7)
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_LPRN LSFT(KC_8)
|
|
|
|
#define NO_RPRN LSFT(KC_9)
|
2015-10-25 22:11:04 +06:00
|
|
|
#define NO_EQL LSFT(KC_0)
|
|
|
|
#define NO_QUES LSFT(NO_PLUS)
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_GRV LSFT(NO_ACUT)
|
2015-10-25 22:11:04 +06:00
|
|
|
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_CIRC LSFT(NO_QUOT)
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
#define NO_GRTR LSFT(NO_LESS)
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_SCLN LSFT(KC_COMM)
|
2015-10-25 22:11:04 +06:00
|
|
|
#define NO_COLN LSFT(KC_DOT)
|
2015-10-26 07:40:56 +06:00
|
|
|
#define NO_UNDS LSFT(NO_MINS)
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
// Alt Gr-ed characters
|
|
|
|
#define NO_AT ALGR(KC_2)
|
|
|
|
#define NO_PND ALGR(KC_3)
|
|
|
|
#define NO_DLR ALGR(KC_4)
|
2015-10-26 00:02:26 +06:00
|
|
|
#define NO_LCBR ALGR(KC_7)
|
|
|
|
#define NO_LBRC ALGR(KC_8)
|
|
|
|
#define NO_RBRC ALGR(KC_9)
|
|
|
|
#define NO_RCBR ALGR(KC_0)
|
2016-02-05 06:50:54 +06:00
|
|
|
#define NO_PIPE ALGR(KC_NUBS)
|
2015-10-25 22:11:04 +06:00
|
|
|
|
|
|
|
#define NO_EURO ALGR(KC_E)
|
|
|
|
#define NO_TILD ALGR(NO_QUOT)
|
|
|
|
|
2016-02-05 06:50:54 +06:00
|
|
|
#define NO_BSLS ALGR(KC_MINS)
|
2015-10-25 22:50:46 +06:00
|
|
|
#define NO_MU ALGR(KC_M)
|
2015-10-25 22:11:04 +06:00
|
|
|
|
2016-02-05 06:50:54 +06:00
|
|
|
#endif
|