diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2015-10-25 12:11:04 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-25 12:11:04 -0400 |
| commit | e61a5ed80646a69ba7a4faa63ff3c6c3c1733b06 (patch) | |
| tree | 910e571db706e4efbfcd99540ef5e93f65cdc205 | |
| parent | 71a8fd8b1286926bd21edce3d2ec7423d8ca4eef (diff) | |
| download | qmk_firmware-e61a5ed80646a69ba7a4faa63ff3c6c3c1733b06.tar.gz qmk_firmware-e61a5ed80646a69ba7a4faa63ff3c6c3c1733b06.zip | |
nordic shortcuts
| -rw-r--r-- | keyboard/planck/keymap_nordic.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/keyboard/planck/keymap_nordic.h b/keyboard/planck/keymap_nordic.h new file mode 100644 index 000000000..ebd0a3206 --- /dev/null +++ b/keyboard/planck/keymap_nordic.h | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | #ifndef KEYMAP_NORDIC_H | ||
| 2 | #define KEYMAP_NORDIC_H | ||
| 3 | |||
| 4 | #include "keymap_common.h" | ||
| 5 | |||
| 6 | // Alt gr | ||
| 7 | #define ALGR(kc) kc | 0x1400 | ||
| 8 | #define NO_ALGR KC_RALT | ||
| 9 | |||
| 10 | // Normal characters | ||
| 11 | #define NO_HALF KC_GRV | ||
| 12 | #define NO_PLUS KC_MINS | ||
| 13 | #define NO_TICK KC_EQL | ||
| 14 | |||
| 15 | #define NO_AM KC_LBRC | ||
| 16 | #define NO_QUOT KC_RBRC | ||
| 17 | #define NO_AE KC_SCLN | ||
| 18 | #define NO_OSLH KC_QUOT | ||
| 19 | #define NO_APOS KC_NUHS | ||
| 20 | |||
| 21 | #define NO_LESS KC_NUBS | ||
| 22 | #define NO_DASH KC_SLSH | ||
| 23 | |||
| 24 | // Shifted characters | ||
| 25 | #define NO_SECT LSFT(NO_HALF) | ||
| 26 | #define NO_QUO2 LSFT(KC_2) | ||
| 27 | #define NO_BULT LSFT(KC_4) | ||
| 28 | #define NO_AMP LSFT(KC_6) | ||
| 29 | #define NO_SLSH LSFT(KC_7) | ||
| 30 | #define NO_LPAR LSFT(KC_8) | ||
| 31 | #define NO_RPAR LSFT(KC_9) | ||
| 32 | #define NO_EQL LSFT(KC_0) | ||
| 33 | #define NO_QUES LSFT(NO_PLUS) | ||
| 34 | #define NO_BTCK LSFT(NO_TICK) | ||
| 35 | |||
| 36 | #define NO_SUPR LSFT(NO_QUOT) | ||
| 37 | |||
| 38 | #define NO_GRTR LSFT(NO_LESS) | ||
| 39 | #define NO_SEMI LSFT(KC_COMM) | ||
| 40 | #define NO_COLN LSFT(KC_DOT) | ||
| 41 | #define NO_UNDR LSFT(NO_DASH) | ||
| 42 | |||
| 43 | // Alt Gr-ed characters | ||
| 44 | #define NO_AT ALGR(KC_2) | ||
| 45 | #define NO_PND ALGR(KC_3) | ||
| 46 | #define NO_DLR ALGR(KC_4) | ||
| 47 | #define NO_LBRC ALGR(KC_7) | ||
| 48 | #define NO_LBRK ALGR(KC_8) | ||
| 49 | #define NO_RBRK ALGR(KC_9) | ||
| 50 | #define NO_RBRC ALGR(KC_0) | ||
| 51 | #define NO_PIPE ALGR(NO_TICK) | ||
| 52 | |||
| 53 | #define NO_EURO ALGR(KC_E) | ||
| 54 | #define NO_TILD ALGR(NO_QUOT) | ||
| 55 | |||
| 56 | #define NO_BSLS ALGR(NO_LESS) | ||
| 57 | #define NO_NU ALGR(KC_M) | ||
| 58 | |||
| 59 | #endif \ No newline at end of file | ||
