Author: Honza Pokorny <me@honza.ca>
keyboard: move everything up by one key
ergodox/keymap.c | 64 +++++++++++++++++++++++++-------------------------
diff --git a/ergodox/keymap.c b/ergodox/keymap.c index c11ff7f81be9b919932275d951f57c03cd6e0d26..6d8466a6d4fc48ae9e69699f3165b447ec918b0e 100644 --- a/ergodox/keymap.c +++ b/ergodox/keymap.c @@ -30,15 +30,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Keymap 0: Basic layer * * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | | | | | | | | | | + * | Tab | ' | , | . | P | Y | | | | F | G | C | R | L | bkspc | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Tab | ' | , | . | P | Y | if | | L1 | F | G | C | R | L | bkspc | + * |ctrl/esc| A | O | E | U | I | if | | L1 | D | H | T | N | S | - | * |--------+------+------+------+------+------| err | | |------+------+------+------+------+--------| - * |ctrl/esc| A | O | E | U | I |------| |------| D | H | T | N | S | - | + * | LS + ( | : | Q | J | K | X |------| |------| B | M | W | V | Z | RS + ) | * |--------+------+------+------+------+------| Hyper| | Meh |------+------+------+------+------+--------| - * | LS + ( | : | Q | J | K | X | | | | B | M | W | V | Z | RS + ) | + * | | | | | LGUI | L1 | | | | L2 | Alt | | | | | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | LGUI | L1 | | L2 | Alt | | | | + * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' * ,-------------. ,---------------. * | | | | | | @@ -52,20 +52,20 @@ // If it accepts an argument (i.e, is a function), it doesn't need KC_. // Otherwise, it needs KC_* [0] = LAYOUT_ergodox( // layer 0 : default // left hand - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, IF_ERR_NIL, - LCTL_T(KC_ESC), KC_A, KC_O, KC_E, KC_U, KC_I, - KC_LSPO, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, ALL_T(KC_NO), - KC_TRNS, KC_TRNS, KC_TRNS, KC_LGUI, MO(1), + KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_TRNS, + LCTL_T(KC_ESC), KC_A, KC_O, KC_E, KC_U, KC_I, IF_ERR_NIL, + KC_LSPO, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LGUI, MO(1), ALL_T(KC_NO), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_SPC,KC_TRNS,KC_TRNS, + KC_SPC,KC_TRNS,KC_TRNS, // right hand - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - TG(1), KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, - MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSPC, - MO(2), KC_RALT, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, + TG(1), KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, + KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSPC, + MEH_T(KC_NO),MO(2), KC_RALT, 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_ENT @@ -73,15 +73,15 @@ ), /* Keymap 1: Symbol Layer * * ,--------------------------------------------------. ,--------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | ! | @ | { | } | | | | | | | 7 | 8 | 9 | * | F12 | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | # | $ | [ | ] | ` |------| |------| | 4 | 5 | 6 | + | | + * | | ! | @ | { | } | | | | | | | 7 | 8 | 9 | * | | + * |--------+------+------+------+------+-------------| | |------+------+------+------+------+--------| + * | | # | $ | [ | ] | ` | | |------| | 4 | 5 | 6 | + | | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * | | % | ^ | ? | / | ~ | | | | & | 1 | 2 | 3 | \ | | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | | . | 0 | = | | + * | | | | | | | | | | | | . | | = | | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | | | | | | | | | | | | * `----------------------------------' `----------------------------------' * ,-------------. ,-------------. * | | | | | | @@ -94,20 +94,20 @@ */ // SYMBOLS [1] = LAYOUT_ergodox( // left hand - KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, - KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR, KC_PIPE,KC_TRNS, - KC_TRNS,KC_HASH,KC_DLR, KC_LBRC,KC_RBRC, KC_GRV, - KC_TRNS,KC_PERC,KC_CIRC,KC_QUES,KC_SLASH,KC_TILD,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_TRNS, + KC_TRNS, KC_HASH, KC_DLR, KC_LBRC, KC_RBRC, KC_GRV, KC_TRNS, + KC_TRNS, KC_PERC, KC_CIRC, KC_QUES, KC_SLASH, KC_TILD, + 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, // right hand - KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, - KC_TRNS, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, - KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, - KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS, + KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9, KC_ASTR, KC_TRNS, + KC_TRNS, KC_TRNS, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, + KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_DOT, KC_0, KC_EQL, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS