fix: prefix norwegian keycodes with NRW_ (#295)
This commit is contained in:
@@ -34,57 +34,57 @@
|
|||||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
*/
|
*/
|
||||||
// Row 1
|
// Row 1
|
||||||
#define NO_PIPE KC_GRV // |
|
#define NRW_PIPE KC_GRV // |
|
||||||
#define NO_1 KC_1 // 1
|
#define NRW_1 KC_1 // 1
|
||||||
#define NO_2 KC_2 // 2
|
#define NRW_2 KC_2 // 2
|
||||||
#define NO_3 KC_3 // 3
|
#define NRW_3 KC_3 // 3
|
||||||
#define NO_4 KC_4 // 4
|
#define NRW_4 KC_4 // 4
|
||||||
#define NO_5 KC_5 // 5
|
#define NRW_5 KC_5 // 5
|
||||||
#define NO_6 KC_6 // 6
|
#define NRW_6 KC_6 // 6
|
||||||
#define NO_7 KC_7 // 7
|
#define NRW_7 KC_7 // 7
|
||||||
#define NO_8 KC_8 // 8
|
#define NRW_8 KC_8 // 8
|
||||||
#define NO_9 KC_9 // 9
|
#define NRW_9 KC_9 // 9
|
||||||
#define NO_0 KC_0 // 0
|
#define NRW_0 KC_0 // 0
|
||||||
#define NO_PLUS KC_MINS // +
|
#define NRW_PLUS KC_MINS // +
|
||||||
#define NO_BSLS KC_EQL // (backslash)
|
#define NRW_BSLS KC_EQL // (backslash)
|
||||||
// Row 2
|
// Row 2
|
||||||
#define NO_Q KC_Q // Q
|
#define NRW_Q KC_Q // Q
|
||||||
#define NO_W KC_W // W
|
#define NRW_W KC_W // W
|
||||||
#define NO_E KC_E // E
|
#define NRW_E KC_E // E
|
||||||
#define NO_R KC_R // R
|
#define NRW_R KC_R // R
|
||||||
#define NO_T KC_T // T
|
#define NRW_T KC_T // T
|
||||||
#define NO_Y KC_Y // Y
|
#define NRW_Y KC_Y // Y
|
||||||
#define NO_U KC_U // U
|
#define NRW_U KC_U // U
|
||||||
#define NO_I KC_I // I
|
#define NRW_I KC_I // I
|
||||||
#define NO_O KC_O // O
|
#define NRW_O KC_O // O
|
||||||
#define NO_P KC_P // P
|
#define NRW_P KC_P // P
|
||||||
#define NO_ARNG KC_LBRC // Å
|
#define NRW_ARNG KC_LBRC // Å
|
||||||
#define NO_DIAE KC_RBRC // ¨ (dead)
|
#define NRW_DIAE KC_RBRC // ¨ (dead)
|
||||||
// Row 3
|
// Row 3
|
||||||
#define NO_A KC_A // A
|
#define NRW_A KC_A // A
|
||||||
#define NO_S KC_S // S
|
#define NRW_S KC_S // S
|
||||||
#define NO_D KC_D // D
|
#define NRW_D KC_D // D
|
||||||
#define NO_F KC_F // F
|
#define NRW_F KC_F // F
|
||||||
#define NO_G KC_G // G
|
#define NRW_G KC_G // G
|
||||||
#define NO_H KC_H // H
|
#define NRW_H KC_H // H
|
||||||
#define NO_J KC_J // J
|
#define NRW_J KC_J // J
|
||||||
#define NO_K KC_K // K
|
#define NRW_K KC_K // K
|
||||||
#define NO_L KC_L // L
|
#define NRW_L KC_L // L
|
||||||
#define NO_OSTR KC_SCLN // Ø
|
#define NRW_OSTR KC_SCLN // Ø
|
||||||
#define NO_AE KC_QUOT // Æ
|
#define NRW_AE KC_QUOT // Æ
|
||||||
#define NO_QUOT KC_NUHS // '
|
#define NRW_QUOT KC_NUHS // '
|
||||||
// Row 4
|
// Row 4
|
||||||
#define NO_LABK KC_NUBS // <
|
#define NRW_LABK KC_NUBS // <
|
||||||
#define NO_Z KC_Z // Z
|
#define NRW_Z KC_Z // Z
|
||||||
#define NO_X KC_X // X
|
#define NRW_X KC_X // X
|
||||||
#define NO_C KC_C // C
|
#define NRW_C KC_C // C
|
||||||
#define NO_V KC_V // V
|
#define NRW_V KC_V // V
|
||||||
#define NO_B KC_B // B
|
#define NRW_B KC_B // B
|
||||||
#define NO_N KC_N // N
|
#define NRW_N KC_N // N
|
||||||
#define NO_M KC_M // M
|
#define NRW_M KC_M // M
|
||||||
#define NO_COMM KC_COMM // ,
|
#define NRW_COMM KC_COMM // ,
|
||||||
#define NO_DOT KC_DOT // .
|
#define NRW_DOT KC_DOT // .
|
||||||
#define NO_MINS KC_SLSH // -
|
#define NRW_MINS KC_SLSH // -
|
||||||
|
|
||||||
/* Shifted symbols
|
/* Shifted symbols
|
||||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
@@ -100,28 +100,28 @@
|
|||||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
*/
|
*/
|
||||||
// Row 1
|
// Row 1
|
||||||
#define NO_SECT S(NO_PIPE) // §
|
#define NRW_SECT S(NRW_PIPE) // §
|
||||||
#define NO_EXLM S(NO_1) // !
|
#define NRW_EXLM S(NRW_1) // !
|
||||||
#define NO_DQUO S(NO_2) // "
|
#define NRW_DQUO S(NRW_2) // "
|
||||||
#define NO_HASH S(NO_3) // #
|
#define NRW_HASH S(NRW_3) // #
|
||||||
#define NO_CURR S(NO_4) // ¤
|
#define NRW_CURR S(NRW_4) // ¤
|
||||||
#define NO_PERC S(NO_5) // %
|
#define NRW_PERC S(NRW_5) // %
|
||||||
#define NO_AMPR S(NO_6) // &
|
#define NRW_AMPR S(NRW_6) // &
|
||||||
#define NO_SLSH S(NO_7) // /
|
#define NRW_SLSH S(NRW_7) // /
|
||||||
#define NO_LPRN S(NO_8) // (
|
#define NRW_LPRN S(NRW_8) // (
|
||||||
#define NO_RPRN S(NO_9) // )
|
#define NRW_RPRN S(NRW_9) // )
|
||||||
#define NO_EQL S(NO_0) // =
|
#define NRW_EQL S(NRW_0) // =
|
||||||
#define NO_QUES S(NO_PLUS) // ?
|
#define NRW_QUES S(NRW_PLUS) // ?
|
||||||
#define NO_GRV S(NO_BSLS) // ` (dead)
|
#define NRW_GRV S(NRW_BSLS) // ` (dead)
|
||||||
// Row 2
|
// Row 2
|
||||||
#define NO_CIRC S(NO_DIAE) // ^ (dead)
|
#define NRW_CIRC S(NRW_DIAE) // ^ (dead)
|
||||||
// Row 3
|
// Row 3
|
||||||
#define NO_ASTR S(NO_QUOT) // *
|
#define NRW_ASTR S(NRW_QUOT) // *
|
||||||
// Row 4
|
// Row 4
|
||||||
#define NO_RABK S(NO_LABK) // >
|
#define NRW_RABK S(NRW_LABK) // >
|
||||||
#define NO_SCLN S(NO_COMM) // ;
|
#define NRW_SCLN S(NRW_COMM) // ;
|
||||||
#define NO_COLN S(NO_DOT) // :
|
#define NRW_COLN S(NRW_DOT) // :
|
||||||
#define NO_UNDS S(NO_MINS) // _
|
#define NRW_UNDS S(NRW_MINS) // _
|
||||||
|
|
||||||
/* AltGr symbols
|
/* AltGr symbols
|
||||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
@@ -137,39 +137,39 @@
|
|||||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
*/
|
*/
|
||||||
// Row 1
|
// Row 1
|
||||||
#define NO_AT ALGR(NO_2) // @
|
#define NRW_AT ALGR(NRW_2) // @
|
||||||
#define NO_PND ALGR(NO_3) // £
|
#define NRW_PND ALGR(NRW_3) // £
|
||||||
#define NO_DLR ALGR(NO_4) // $
|
#define NRW_DLR ALGR(NRW_4) // $
|
||||||
#define NO_EURO ALGR(NO_5) // €
|
#define NRW_EURO ALGR(NRW_5) // €
|
||||||
#define NO_LCBR ALGR(NO_7) // {
|
#define NRW_LCBR ALGR(NRW_7) // {
|
||||||
#define NO_LBRC ALGR(NO_8) // [
|
#define NRW_LBRC ALGR(NRW_8) // [
|
||||||
#define NO_RBRC ALGR(NO_9) // ]
|
#define NRW_RBRC ALGR(NRW_9) // ]
|
||||||
#define NO_RCBR ALGR(NO_0) // }
|
#define NRW_RCBR ALGR(NRW_0) // }
|
||||||
#define NO_ACUT ALGR(NO_BSLS) // ´ (dead)
|
#define NRW_ACUT ALGR(NRW_BSLS) // ´ (dead)
|
||||||
// Row 2
|
// Row 2
|
||||||
#define NO_TILD ALGR(NO_DIAE) // ~ (dead)
|
#define NRW_TILD ALGR(NRW_DIAE) // ~ (dead)
|
||||||
// Row 4
|
// Row 4
|
||||||
#define NO_MICR ALGR(NO_M) // µ
|
#define NRW_MICR ALGR(NRW_M) // µ
|
||||||
|
|
||||||
// DEPRECATED
|
// DEPRECATED
|
||||||
#define NO_AM NO_ARNG
|
#define NRW_AM NRW_ARNG
|
||||||
#define NO_AA NO_ARNG
|
#define NRW_AA NRW_ARNG
|
||||||
#define NO_OSLH NO_OSTR
|
#define NRW_OSLH NRW_OSTR
|
||||||
#define NO_APOS NO_QUOT
|
#define NRW_APOS NRW_QUOT
|
||||||
#define NO_LESS NO_LABK
|
#define NRW_LESS NRW_LABK
|
||||||
#define NO_QUO2 NO_DQUO
|
#define NRW_QUO2 NRW_DQUO
|
||||||
#define NO_BULT NO_CURR
|
#define NRW_BULT NRW_CURR
|
||||||
#define NO_GRTR NO_RABK
|
#define NRW_GRTR NRW_RABK
|
||||||
#define NO_MU NO_MICR
|
#define NRW_MU NRW_MICR
|
||||||
// Norwegian macOS symbols
|
// Norwegian macOS symbols
|
||||||
#define NO_ACUT_MAC NO_BSLS // ´
|
#define NRW_ACUT_MAC NRW_BSLS // ´
|
||||||
#define NO_APOS_MAC NO_LABK // '
|
#define NRW_APOS_MAC NRW_LABK // '
|
||||||
#define NO_AT_MAC NO_QUOT // @
|
#define NRW_AT_MAC NRW_QUOT // @
|
||||||
#define NO_BSLS_MAC S(ALGR(NO_7)) // (backslash)
|
#define NRW_BSLS_MAC S(ALGR(NRW_7)) // (backslash)
|
||||||
#define NO_DLR_MAC S(NO_4) // $
|
#define NRW_DLR_MAC S(NRW_4) // $
|
||||||
#define NO_GRV_MAC ALGR(NO_BSLS) // `
|
#define NRW_GRV_MAC ALGR(NRW_BSLS) // `
|
||||||
#define NO_GRTR_MAC S(NO_PIPE) // >
|
#define NRW_GRTR_MAC S(NRW_PIPE) // >
|
||||||
#define NO_LCBR_MAC S(ALGR(NO_8)) // {
|
#define NRW_LCBR_MAC S(ALGR(NRW_8)) // {
|
||||||
#define NO_LESS_MAC NO_PIPE // <
|
#define NRW_LESS_MAC NRW_PIPE // <
|
||||||
#define NO_PIPE_MAC ALGR(NO_7) // |
|
#define NRW_PIPE_MAC ALGR(NRW_7) // |
|
||||||
#define NO_RCBR_MAC S(ALGR(NO_9)) // }
|
#define NRW_RCBR_MAC S(ALGR(NRW_9)) // }
|
||||||
|
|||||||
Reference in New Issue
Block a user