1 /* Copyright 2015-2016 Jack Humbert
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #ifndef KEYMAP_NORDIC_H
17 #define KEYMAP_NORDIC_H
22 #define NO_ALGR KC_RALT
25 #define NO_HALF KC_GRV
26 #define NO_PLUS KC_MINS
27 #define NO_ACUT KC_EQL
30 #define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout
32 #define NO_OSLH KC_QUOT
33 #define NO_APOS KC_NUHS
35 #define NO_LESS KC_NUBS
36 #define NO_MINS KC_SLSH
39 #define NO_SECT LSFT(NO_HALF)
40 #define NO_QUO2 LSFT(KC_2)
41 #define NO_BULT LSFT(KC_4)
42 #define NO_AMPR LSFT(KC_6)
43 #define NO_SLSH LSFT(KC_7)
44 #define NO_LPRN LSFT(KC_8)
45 #define NO_RPRN LSFT(KC_9)
46 #define NO_EQL LSFT(KC_0)
47 #define NO_QUES LSFT(NO_PLUS)
48 #define NO_GRV LSFT(NO_ACUT)
50 #define NO_CIRC LSFT(NO_QUOT)
52 #define NO_GRTR LSFT(NO_LESS)
53 #define NO_SCLN LSFT(KC_COMM)
54 #define NO_COLN LSFT(KC_DOT)
55 #define NO_UNDS LSFT(NO_MINS)
57 // Alt Gr-ed characters
58 #define NO_AT ALGR(KC_2)
59 #define NO_PND ALGR(KC_3)
60 #define NO_DLR ALGR(KC_4)
61 #define NO_LCBR ALGR(KC_7)
62 #define NO_LBRC ALGR(KC_8)
63 #define NO_RBRC ALGR(KC_9)
64 #define NO_RCBR ALGR(KC_0)
65 #define NO_PIPE ALGR(KC_NUBS)
67 #define NO_EURO ALGR(KC_E)
68 #define NO_TILD ALGR(NO_QUOT)
70 #define NO_BSLS ALGR(KC_MINS)
71 #define NO_MU ALGR(KC_M)