]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_norwegian.h
Merge pull request #496 from fredizzimo/makefile_optimization
[qmk_firmware.git] / quantum / keymap_extras / keymap_norwegian.h
1 #ifndef KEYMAP_NORWEGIAN_H
2 #define KEYMAP_NORWEGIAN_H
3
4 #include "keymap_nordic.h"
5
6 // There are slight differrences in the keyboards in the nordic contries
7
8 // Norwegian redifinitions from the nordic keyset
9 #undef NO_ACUT
10 #define NO_ACUT ALGR(NO_BSLS)  // ´
11 #undef NO_AE
12 #define NO_AE   KC_QUOT  // æ
13 #undef NO_BSLS
14 #define NO_BSLS KC_EQL  // '\'
15 #undef NO_CIRC
16 #define NO_CIRC LSFT(C_RBRC)  // ^
17 #undef NO_GRV
18 #define NO_GRV  LSFT(NO_BSLS)  //
19 #undef NO_OSLH
20 #define NO_OSLH KC_SCLN  // ø
21 #undef NO_PIPE
22 #define NO_PIPE KC_GRV  // |
23
24 // Additional norwegian keys not defined in the nordic keyset
25 #define NO_AA   KC_LBRC  // å
26 #define NO_ASTR LSFT(KC_BSLS)  // *
27
28 // Norwegian unique MAC characters
29 #define NO_ACUT_MAC KC_EQL  // =
30 #define NO_APOS_MAC KC_NUBS  // '
31 #define NO_AT_MAC   KC_BSLS  // @
32 #define NO_BSLS_MAC ALGR(LSFT(KC_7)) // '\'
33 #define NO_DLR_MAC  LSFT(KC_4) // $
34 #define NO_GRV_MAC ALGR(NO_BSLS) // `
35 #define NO_GRTR_MAC LSFT(KC_GRV)  // >
36 #define NO_LCBR_MAC ALGR(LSFT(KC_8))  // }
37 #define NO_LESS_MAC KC_GRV  // >
38 #define NO_PIPE_MAC ALGR(KC_7)  // |
39 #define NO_RCBR_MAC ALGR(LSFT(KC_9))  // }
40
41 #endif