]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_norwegian.h
fixed two typos
[qmk_firmware.git] / quantum / keymap_extras / keymap_norwegian.h
1 /* Copyright 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_NORWEGIAN_H
17 #define KEYMAP_NORWEGIAN_H
18
19 #include "keymap_nordic.h"
20
21 // There are slight differrences in the keyboards in the nordic contries
22
23 // Norwegian redifinitions from the nordic keyset
24 #undef NO_ACUT
25 #define NO_ACUT ALGR(NO_BSLS)  // ´
26 #undef NO_AE
27 #define NO_AE   KC_QUOT  // æ
28 #undef NO_BSLS
29 #define NO_BSLS KC_EQL  // '\'
30 #undef NO_CIRC
31 #define NO_CIRC LSFT(KC_RBRC)  // ^
32 #undef NO_GRV
33 #define NO_GRV  LSFT(NO_BSLS)  //
34 #undef NO_OSLH
35 #define NO_OSLH KC_SCLN  // ø
36 #undef NO_PIPE
37 #define NO_PIPE KC_GRV  // |
38
39 // Additional norwegian keys not defined in the nordic keyset
40 #define NO_AA   KC_LBRC  // å
41 #define NO_ASTR LSFT(KC_BSLS)  // *
42
43 // Norwegian unique MAC characters
44 #define NO_ACUT_MAC KC_EQL  // =
45 #define NO_APOS_MAC KC_NUBS  // '
46 #define NO_AT_MAC   KC_BSLS  // @
47 #define NO_BSLS_MAC ALGR(LSFT(KC_7)) // '\'
48 #define NO_DLR_MAC  LSFT(KC_4) // $
49 #define NO_GRV_MAC ALGR(NO_BSLS) // `
50 #define NO_GRTR_MAC LSFT(KC_GRV)  // >
51 #define NO_LCBR_MAC ALGR(LSFT(KC_8))  // }
52 #define NO_LESS_MAC KC_GRV  // >
53 #define NO_PIPE_MAC ALGR(KC_7)  // |
54 #define NO_RCBR_MAC ALGR(LSFT(KC_9))  // }
55
56 #endif