1
0
Fork 0

[Keymap] Add new TADA68 keymap (#6938)

* Add new TADA68 keymap

* Remove unnecessary backlashes

* Change from MacOS specific to generic volume keycodes
This commit is contained in:
Janne Peippo 2019-10-08 03:15:59 +03:00 committed by Drashna Jaelre
parent 5bb3fe7a35
commit 93767540e1
3 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1 @@
#pragma once

View file

@ -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
),
};

View file

@ -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