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 000000000..6f70f09be --- /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 000000000..236d7cecc --- /dev/null +++ b/keyboards/tada68/keymaps/peippo/keymap.c | |||
@@ -0,0 +1,52 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | #define _BL 0 | ||
4 | #define _FL 1 | ||
5 | |||
6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
7 | |||
8 | /* Default layer | ||
9 | * ,----------------------------------------------------------------------------------------------------------------------------. | ||
10 | * | GrvEsc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | ´ | Backspace | MacOS | | ||
11 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
12 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Å | ¨ | Enter | Del | | ||
13 | * |-----------------------------------------------------------------------------------------------------------, |-------| | ||
14 | * | Mod Layer | A | S | D | F | G | H | J | K | L | Ö | Ä | ' | | PgUp | | ||
15 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
16 | * | Shift | < | Z | X | C | V | B | N | M | , | . | - | Shift | Up | PgDn | | ||
17 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
18 | * | Control | Option | Command | Space | Cmnd | Opt | ModLr | Left | Down | Right | | ||
19 | * `----------------------------------------------------------------------------------------------------------------------------' | ||
20 | */ | ||
21 | |||
22 | [_BL] = LAYOUT_iso( | ||
23 | 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, | ||
24 | 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, | ||
25 | 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, | ||
26 | 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, | ||
27 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT | ||
28 | ), | ||
29 | |||
30 | /* Modifier layer | ||
31 | * ,----------------------------------------------------------------------------------------------------------------------------. | ||
32 | * | Esc | | | | | | | | [ | ] | | | | Delete |Windows| | ||
33 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
34 | * | | | | | | | | PgUp | Up | PgDn | | | | | | | ||
35 | * |-----------------------------------------------------------------------------------------------------------, |-------| | ||
36 | * | | |Scrnsht|Desktop| | | | Left | Down | Right | | | | | VolUp | | ||
37 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
38 | * | Shift | | | | | BL- |BL Togg| BL+ | | | | | Shift | Play | VolDn | | ||
39 | * |----------------------------------------------------------------------------------------------------------------------------| | ||
40 | * | | | | | | | | Prev | Mute | Next | | ||
41 | * `----------------------------------------------------------------------------------------------------------------------------' | ||
42 | */ | ||
43 | |||
44 | [_FL] = LAYOUT_iso( | ||
45 | KC_ESC, _______, _______, _______, _______, _______, _______, _______, RALT(KC_8), RALT(KC_9), _______, _______, _______, KC_DEL, AG_SWAP, | ||
46 | _______, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, _______, _______, _______, _______, | ||
47 | _______, _______, SGUI(KC_5), KC_F11, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, KC_VOLU, | ||
48 | KC_LSFT, _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, _______, _______, _______, _______, KC_RSFT, KC_MPLY, KC_VOLD, | ||
49 | _______, _______, _______, _______, _______, _______, _______, KC_MRWD, KC__MUTE, KC_MFFD | ||
50 | ), | ||
51 | |||
52 | }; | ||
diff --git a/keyboards/tada68/keymaps/peippo/readme.md b/keyboards/tada68/keymaps/peippo/readme.md new file mode 100644 index 000000000..c3cf8b3c6 --- /dev/null +++ b/keyboards/tada68/keymaps/peippo/readme.md | |||
@@ -0,0 +1,24 @@ | |||
1 | # TADA68 ISO keymap by peippo | ||
2 | |||
3 | Nordic ISO layout with faster access to cursor movement keys and brackets. | ||
4 | |||
5 | ## Keymap notes | ||
6 | |||
7 | - A few MacOS specific shortcuts, but also has a key dedicated for swapping Alt and GUI buttons for Windows use. | ||
8 | - 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). | ||
9 | - `Caps Lock` or `FN` can be held to access the modifier layer. | ||
10 | |||
11 | ## Modifier layer | ||
12 | |||
13 | - Additional cursor movement keys on `J/K/L/I`, and Page Up/Page Down on `U/O`. | ||
14 | - Easier access to [] & {} (w/ Shift) on `8/9` (MacOS). | ||
15 | - Show desktop on `D` (MacOS). | ||
16 | - Screen capture tool on `S` (MacOS). | ||
17 | - Media shortcuts on Arrow keys & Page Up/Page Down. | ||
18 | - MacOS/Windows key for swapping Alt and GUI on both sides. | ||
19 | - Backlighting adjustment (Toggle on `B`, increase/decrease on `V/B`). | ||
20 | |||
21 | ### Build | ||
22 | |||
23 | To build the firmware, run `make tada68:peippo:flashbin`. | ||
24 | Detailed instructions at https://github.com/qmk/qmk_firmware/tree/master/keyboards/tada68 | ||