upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

keymap_norwegian.c 1.1KB

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