diff options
author | Janne Peippo <peippo@lumous.com> | 2019-10-08 03:15:59 +0300 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-10-07 17:15:59 -0700 |
commit | 93767540e1d60dd27542f86b91d49f813b65807f (patch) | |
tree | cd73d024c316b60995fb83e76fcbe1741c75f2cc /keyboards/tada68 | |
parent | 5bb3fe7a3517e426ba3827a5b889e69bd222bf10 (diff) | |
download | qmk_firmware-93767540e1d60dd27542f86b91d49f813b65807f.tar.gz qmk_firmware-93767540e1d60dd27542f86b91d49f813b65807f.zip |
[Keymap] Add new TADA68 keymap (#6938)
* Add new TADA68 keymap
* Remove unnecessary backlashes
* Change from MacOS specific to generic volume keycodes
Diffstat (limited to 'keyboards/tada68')
-rw-r--r-- | keyboards/tada68/keymaps/peippo/config.h | 1 | ||||
-rw-r--r-- | keyboards/tada68/keymaps/peippo/keymap.c | 52 | ||||
-rw-r--r-- | keyboards/tada68/keymaps/peippo/readme.md | 24 |
3 files changed, 77 insertions, 0 deletions
diff --git a/keyboards/tada68/keymaps/peippo/config.h b/keyboards/tada68/keymaps/peippo/config.h new file mode 100644 index 0000000000..6f70f09bee --- /dev/null +++ b/keyboards/tada68/keymaps/peippo/config.h @@ -0,0 +1 @@ +#pragma once diff --git a/keyboards/tada68/keymaps/peippo/keymap.c b/keyboards/tada68/keymaps/peippo/keymap.c new file mode 100644 index 0000000000..236d7cecca --- /dev/null +++ b/keyboards/tada68/keymaps/peippo/keymap.c @@ -0,0 +1,52 @@ +#include QMK_KEYBOARD_H + +#define _BL 0 +#define _FL 1 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /* Default layer + * ,----------------------------------------------------------------------------------------------------------------------------. + * | GrvEsc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | ´ | Backspace | MacOS | + * |----------------------------------------------------------------------------------------------------------------------------| + * | Tab | Q | W | E | R | T | Y | U | I | O | P | Å | ¨ | Enter | Del | + * |-----------------------------------------------------------------------------------------------------------, |-------| + * | Mod Layer | A | S | D | F | G | H | J | K | L | Ö | Ä | ' | | PgUp | + * |----------------------------------------------------------------------------------------------------------------------------| + * | Shift | < | Z | X | C | V | B | N | M | , | . | - | Shift | Up | PgDn | + * |----------------------------------------------------------------------------------------------------------------------------| + * | Control | Option | Command | Space | Cmnd | Opt | ModLr | Left | Down | Right | + * `----------------------------------------------------------------------------------------------------------------------------' + */ + + [_BL] = LAYOUT_iso( + KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, AG_NORM, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, + MO(_FL), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* Modifier layer + * ,----------------------------------------------------------------------------------------------------------------------------. + * | Esc | | | | | | | | [ | ] | | | | Delete |Windows| + * |----------------------------------------------------------------------------------------------------------------------------| + * | | | | | | | | PgUp | Up | PgDn | | | | | | + * |-----------------------------------------------------------------------------------------------------------, |-------| + * | | |Scrnsht|Desktop| | | | Left | Down | Right | | | | | VolUp | + * |----------------------------------------------------------------------------------------------------------------------------| + * | Shift | | | | | BL- |BL Togg| BL+ | | | | | Shift | Play | VolDn | + * |----------------------------------------------------------------------------------------------------------------------------| + * | | | | | | | | Prev | Mute | Next | + * `----------------------------------------------------------------------------------------------------------------------------' + */ + + [_FL] = LAYOUT_iso( + KC_ESC, _______, _______, _______, _______, _______, _______, _______, RALT(KC_8), RALT(KC_9), _______, _______, _______, KC_DEL, AG_SWAP, + _______, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, _______, _______, _______, _______, + _______, _______, SGUI(KC_5), KC_F11, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, KC_VOLU, + KC_LSFT, _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, KC_RSFT, KC_MPLY, KC_VOLD, + _______, _______, _______, _______, _______, _______, _______, KC_MRWD, KC__MUTE, KC_MFFD + ), + +}; diff --git a/keyboards/tada68/keymaps/peippo/readme.md b/keyboards/tada68/keymaps/peippo/readme.md new file mode 100644 index 0000000000..c3cf8b3c62 --- /dev/null +++ b/keyboards/tada68/keymaps/peippo/readme.md @@ -0,0 +1,24 @@ +# TADA68 ISO keymap by peippo + +Nordic ISO layout with faster access to cursor movement keys and brackets. + +## Keymap notes + +- A few MacOS specific shortcuts, but also has a key dedicated for swapping Alt and GUI buttons for Windows use. +- Default layer has a Grave Escape which outputs Escape when pressed normally, and `§` when Shift or Command are held. I like to setup Command+Esc to moving focus to next window (MacOS preferences, Keyboard / Shortcuts / Keyboard). +- `Caps Lock` or `FN` can be held to access the modifier layer. + +## Modifier layer + +- Additional cursor movement keys on `J/K/L/I`, and Page Up/Page Down on `U/O`. +- Easier access to [] & {} (w/ Shift) on `8/9` (MacOS). +- Show desktop on `D` (MacOS). +- Screen capture tool on `S` (MacOS). +- Media shortcuts on Arrow keys & Page Up/Page Down. +- MacOS/Windows key for swapping Alt and GUI on both sides. +- Backlighting adjustment (Toggle on `B`, increase/decrease on `V/B`). + +### Build + +To build the firmware, run `make tada68:peippo:flashbin`. +Detailed instructions at https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68 |