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_nordic.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef KEYMAP_NORDIC_H
  2. #define KEYMAP_NORDIC_H
  3. #include "keymap_common.h"
  4. // Alt gr
  5. #define ALGR(kc) kc | 0x1400
  6. #define NO_ALGR KC_RALT
  7. // Normal characters
  8. #define NO_HALF KC_GRV
  9. #define NO_PLUS KC_MINS
  10. #define NO_ACUT KC_EQL
  11. #define NO_AM KC_LBRC
  12. #define NO_QUOT KC_RBRC
  13. #define NO_AE KC_SCLN
  14. #define NO_OSLH KC_QUOT
  15. #define NO_APOS KC_NUHS
  16. #define NO_LESS KC_NUBS
  17. #define NO_MINS KC_SLSH
  18. // Shifted characters
  19. #define NO_SECT LSFT(NO_HALF)
  20. #define NO_QUO2 LSFT(KC_2)
  21. #define NO_BULT LSFT(KC_4)
  22. #define NO_AMP LSFT(KC_6)
  23. #define NO_SLSH LSFT(KC_7)
  24. #define NO_LPRN LSFT(KC_8)
  25. #define NO_RPRN LSFT(KC_9)
  26. #define NO_EQL LSFT(KC_0)
  27. #define NO_QUES LSFT(NO_PLUS)
  28. #define NO_GRV LSFT(NO_ACUT)
  29. #define NO_CIRC LSFT(NO_QUOT)
  30. #define NO_GRTR LSFT(NO_LESS)
  31. #define NO_SCLN LSFT(KC_COMM)
  32. #define NO_COLN LSFT(KC_DOT)
  33. #define NO_UNDS LSFT(NO_MINS)
  34. // Alt Gr-ed characters
  35. #define NO_AT ALGR(KC_2)
  36. #define NO_PND ALGR(KC_3)
  37. #define NO_DLR ALGR(KC_4)
  38. #define NO_LCBR ALGR(KC_7)
  39. #define NO_LBRC ALGR(KC_8)
  40. #define NO_RBRC ALGR(KC_9)
  41. #define NO_RCBR ALGR(KC_0)
  42. #define NO_PIPE ALGR(KC_NUBS)
  43. #define NO_EURO ALGR(KC_E)
  44. #define NO_TILD ALGR(NO_QUOT)
  45. #define NO_BSLS ALGR(KC_MINS)
  46. #define NO_MU ALGR(KC_M)
  47. #endif