]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_nordic.h
fixed two typos
[qmk_firmware.git] / quantum / keymap_extras / keymap_nordic.h
1 /* Copyright 2015-2016 Jack Humbert
2  *
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.
7  *
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.
12  *
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/>.
15  */
16 #ifndef KEYMAP_NORDIC_H
17 #define KEYMAP_NORDIC_H
18
19 #include "keymap.h"
20
21 // Alt gr
22 #define ALGR(kc) RALT(kc)
23 #define NO_ALGR KC_RALT
24
25 // Normal characters
26 #define NO_HALF KC_GRV
27 #define NO_PLUS KC_MINS
28 #define NO_ACUT KC_EQL
29
30 #define NO_AM   KC_LBRC
31 #define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout
32 #define NO_AE   KC_SCLN
33 #define NO_OSLH KC_QUOT
34 #define NO_APOS KC_NUHS
35
36 #define NO_LESS KC_NUBS
37 #define NO_MINS KC_SLSH
38
39 // Shifted characters
40 #define NO_SECT LSFT(NO_HALF)
41 #define NO_QUO2 LSFT(KC_2)
42 #define NO_BULT LSFT(KC_4)
43 #define NO_AMPR LSFT(KC_6)
44 #define NO_SLSH LSFT(KC_7)
45 #define NO_LPRN LSFT(KC_8)
46 #define NO_RPRN LSFT(KC_9)
47 #define NO_EQL  LSFT(KC_0)
48 #define NO_QUES LSFT(NO_PLUS)
49 #define NO_GRV  LSFT(NO_ACUT)
50
51 #define NO_CIRC LSFT(NO_QUOT)
52
53 #define NO_GRTR LSFT(NO_LESS)
54 #define NO_SCLN LSFT(KC_COMM)
55 #define NO_COLN LSFT(KC_DOT)
56 #define NO_UNDS LSFT(NO_MINS)
57
58 // Alt Gr-ed characters
59 #define NO_AT   ALGR(KC_2)
60 #define NO_PND  ALGR(KC_3)
61 #define NO_DLR  ALGR(KC_4)
62 #define NO_LCBR ALGR(KC_7)
63 #define NO_LBRC ALGR(KC_8)
64 #define NO_RBRC ALGR(KC_9)
65 #define NO_RCBR ALGR(KC_0)
66 #define NO_PIPE ALGR(KC_NUBS)
67
68 #define NO_EURO ALGR(KC_E)
69 #define NO_TILD ALGR(NO_QUOT)
70
71 #define NO_BSLS ALGR(KC_MINS)
72 #define NO_MU   ALGR(KC_M)
73
74 #endif