Update first layer to my usual keyboard layout

This commit is contained in:
Tom Willemse 2020-12-04 22:49:44 -08:00
parent b4f13229f7
commit a2c518e1d8

View file

@ -2,9 +2,11 @@
#include "version.h" #include "version.h"
enum layers { enum layers {
BASE, // default layer BASE, // Default layer
SYMB, // symbols SYMNUM, // Symbols and numbers
MDIA, // media keys MOVEMENT, // Movement/Navigation keys
UPPER, /* Fake capslock */
GAME, /* Flipped for games */
}; };
enum custom_keycodes { enum custom_keycodes {
@ -20,34 +22,34 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap 0: Basic layer /* Keymap 0: Basic layer
* *
* ,--------------------------------------------------. ,--------------------------------------------------. * ,--------------------------------------------------. ,--------------------------------------------------.
* | = | 1 | 2 | 3 | 4 | 5 | LEFT | | RIGHT| 6 | 7 | 8 | 9 | 0 | - | * | ESC | 1 | 2 | 3 | 4 | 5 | L4 | | L3 | 6 | 7 | 8 | 9 | 0 | DEL |
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
* | Del | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | \ | * | | Q | W | E | R | T | APP | | | Y | U | I | O | P | |
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
* | BkSp | A | S | D | F | G |------| |------| H | J | K | L |; / L2|' / Cmd | * | Meh | A | S | D | F | G |------| |------| H | J | K | L | ; | Meh |
* |--------+------+------+------+------+------| Hyper| | Meh |------+------+------+------+------+--------| * |--------+------+------+------+------+------| TAB | | Back |------+------+------+------+------+--------|
* | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift | * | Hyper | Z | X | C | V | B | | | space| N | M | , | . | ' | Hyper |
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
* |Grv/L1| '" |AltShf| Left | Right| | Up | Down | [ | ] | ~L1 | * | ~L1 | ~L2 | LAlt |LShift| LCtrl| | RCtrl|RShift| LAlt | ~L1 | ~L2 |
* `----------------------------------' `----------------------------------' * `----------------------------------' `----------------------------------'
* ,-------------. ,-------------. * ,-------------. ,--------------.
* | App | LGui | | Alt |Ctrl/Esc| * | Home | End | | Left | Right |
* ,------|------|------| |------+--------+------. * ,------|------|------| |------+--------+------.
* | | | Home | | PgUp | | | * | | | PgUp | | Up | | |
* | Space|Backsp|------| |------| Tab |Enter | * | Space| LGui |------| |------| RGui |Enter |
* | |ace | End | | PgDn | | | * | | | PgDn | | Down | | |
* `--------------------' `----------------------' * `--------------------' `----------------------'
*/ */
[BASE] = LAYOUT_ergodox_pretty( [BASE] = LAYOUT_ergodox_pretty(
// left hand // left hand
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LEFT, KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, TG(GAME), TG(UPPER), KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(SYMB), TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, KC_TRNS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_APP, KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_TRNS,
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), GUI_T(KC_QUOT), KC_MEH, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_MEH,
KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), MEH_T(KC_NO), KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT, ALL_T(KC_NO), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_TAB, KC_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT, ALL_T(KC_NO),
LT(SYMB,KC_GRV), KC_QUOT, LALT(KC_LSFT), KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB), MO(MOVEMENT), MO(SYMNUM), KC_LALT, KC_LSHIFT, KC_LCTRL, KC_RCTRL, KC_RSHIFT, KC_LALT, MO(SYMNUM), MO(MOVEMENT),
ALT_T(KC_APP), KC_LGUI, KC_LALT, CTL_T(KC_ESC), KC_HOME, KC_END, KC_LEFT, KC_RIGHT,
KC_HOME, KC_PGUP, KC_PGUP, KC_UP,
KC_SPC, KC_BSPC, KC_END, KC_PGDN, KC_TAB, KC_ENT KC_SPC, KC_LGUI, KC_PGDN, KC_DOWN, KC_RGUI, KC_ENT
), ),
/* Keymap 1: Symbol Layer /* Keymap 1: Symbol Layer
* *
@ -70,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | | * | | | | | | | |
* `--------------------' `--------------------' * `--------------------' `--------------------'
*/ */
[SYMB] = LAYOUT_ergodox_pretty( [SYMNUM] = LAYOUT_ergodox_pretty(
// left hand // left hand
VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_TRNS, KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_TRNS, KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
@ -102,7 +104,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | | * | | | | | | | |
* `--------------------' `--------------------' * `--------------------' `--------------------'
*/ */
[MDIA] = LAYOUT_ergodox_pretty( [MOVEMENT] = LAYOUT_ergodox_pretty(
// left hand // left hand
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,