diff options
author | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-24 12:19:34 -0400 |
---|---|---|
committer | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-06-24 12:19:34 -0400 |
commit | 4d79e224384464c8b42c770b3da09b9655d359e7 (patch) | |
tree | 7d14e742352d2237ab19fe49985bbacef47d7e6d /keyboards/ergodox_ez/keymaps/ab/keymap.c | |
parent | a4bdb0ac0e6d44c9c9a2d8910a5ca5b7fb49fcbf (diff) | |
parent | 40bfc7231e87c883c840967fdbe42a7c711805be (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/ab/keymap.c')
-rw-r--r-- | keyboards/ergodox_ez/keymaps/ab/keymap.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/keyboards/ergodox_ez/keymaps/ab/keymap.c b/keyboards/ergodox_ez/keymaps/ab/keymap.c index 9b5c93c1ee..c3114d9ffd 100644 --- a/keyboards/ergodox_ez/keymaps/ab/keymap.c +++ b/keyboards/ergodox_ez/keymaps/ab/keymap.c @@ -5,6 +5,10 @@ #define BASE 0 // default layer #define FN1 1 // media layer +#define CAPS_CTL CTL_T(KC_CAPS) // Caps on tap, Ctrl on hold. +#define COPY LCTL(KC_V) // C-c Copy +#define PASTE LCTL(KC_V) // C-v Paste + const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Keymap 0: Basic layer * @@ -14,10 +18,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * | Tab | Q | W | E | R | T | Fwd | | Back | Y | U | I | O | P | \ | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * |Caps/Ctl| A | S | D | F | G |------| |------| H | J | K | L | ; | Enter | - * |--------+------+------+------+------+------| PgUp | | PgDn |------+------+------+------+------+--------| + * |--------+------+------+------+------+------| PgDn | | PgUp |------+------+------+------+------+--------| * | LShift | Z | X | C | V | B | | | | N | M | , | . | / | ' | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | Ctrl | Esc | LGui | Alt | Alt | | Left | Up | Dn | Right| Fn | + * | Ctrl | Esc | LGui | Alt | Alt | | Left | Dn | Up | Right| Fn | * `----------------------------------' `----------------------------------' * ,-------------. ,-------------. * | Copy | ( | | ) | Paste| @@ -33,22 +37,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // left hand KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_WBAK, - CTL_T(KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGUP, - KC_LCTL, KC_ESC, KC_LGUI, KC_LALT, KC_LALT, - LCTL(KC_C), KC_LCBR, + CAPS_CTL, KC_A, KC_S, KC_D, KC_F, KC_G, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, + KC_LCTL, KC_ESC, KC_LGUI, KC_LALT, KC_LALT, + COPY, KC_LCBR, KC_LPRN, KC_SPC, KC_DEL, KC_LBRC, // right hand KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_WFWD, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, - KC_UP, KC_LEFT, KC_RIGHT,KC_DOWN, TG(FN1), - KC_RCBR, LCTL(KC_V), + KC_PGUP, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, + KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, TG(FN1), + KC_RCBR, PASTE, KC_RPRN, - KC_RBRC, KC_ENT, KC_BSPC - ), + KC_RBRC, KC_ENT, KC_BSPC), /* Keymap 1: Fn Keys, media and mouse keys * * ,--------------------------------------------------. ,--------------------------------------------------. @@ -60,7 +63,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| * | | | | | | | | | | | | | | | | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * |Teensy| | | Lclk | Rclk | | |VolUp |VolDn | Mute | | + * |Teensy| | | Lclk | Rclk | | |VolDn |VolUp | Mute | | * `----------------------------------' `----------------------------------' * ,-------------. ,-------------. * | | | | | | |