diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2017-10-04 18:27:53 +1100 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-10 07:09:44 -1000 |
| commit | d6a446bf95e745a7613e27a5e6b725ffc73d73d0 (patch) | |
| tree | 9dde0c8eb84ef9534bfe4d1070ddf88bcd74cc6d | |
| parent | 31808df29489770a85f15d03e4908c05ee4a3173 (diff) | |
| download | qmk_firmware-d6a446bf95e745a7613e27a5e6b725ffc73d73d0.tar.gz qmk_firmware-d6a446bf95e745a7613e27a5e6b725ffc73d73d0.zip | |
Qwerty Code Friendly: relocate insert key
This was too easy to press by accident (next to Alt).
Make this user configurable.
| -rw-r--r-- | layouts/community/ergodox/qwerty_code_friendly/keymap.c | 22 | ||||
| -rw-r--r-- | layouts/community/ergodox/qwerty_code_friendly/readme.md | 18 |
2 files changed, 24 insertions, 16 deletions
diff --git a/layouts/community/ergodox/qwerty_code_friendly/keymap.c b/layouts/community/ergodox/qwerty_code_friendly/keymap.c index 731594d0e..520985204 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/keymap.c +++ b/layouts/community/ergodox/qwerty_code_friendly/keymap.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | #define CFQ_USER_KEY1 KC_F13 | 15 | #define CFQ_USER_KEY1 KC_F13 |
| 16 | #endif | 16 | #endif |
| 17 | #if !defined(CFQ_USER_KEY2) | 17 | #if !defined(CFQ_USER_KEY2) |
| 18 | #define CFQ_USER_KEY2 KC_F14 | 18 | #define CFQ_USER_KEY2 KC_APP |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | #define BASE 0 // default layer | 21 | #define BASE 0 // default layer |
| @@ -77,10 +77,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 77 | * |--------+------+------+------+------+------| [ | | ] |------+------+------+------+------+--------| | 77 | * |--------+------+------+------+------+------| [ | | ] |------+------+------+------+------+--------| |
| 78 | * | LShift | Z | X | C | V | B | | | | N | M | , | . | / | RShift | | 78 | * | LShift | Z | X | C | V | B | | | | N | M | , | . | / | RShift | |
| 79 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | 79 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' |
| 80 | * | LCtl |Super | Alt | Ins |Space | | Left | Down | Up |Right | Del | | 80 | * | LCtl |Super | Alt | USR2 |Space | | Left | Down | Up |Right | Del | |
| 81 | * `----------------------------------' `----------------------------------' | 81 | * `----------------------------------' `----------------------------------' |
| 82 | * ,-------------. ,-------------. | 82 | * ,-------------. ,-------------. |
| 83 | * | USR2 | ~L3 | | Home | End | | 83 | * | Ins | ~L3 | | Home | End | |
| 84 | * ,------|------|------| |------+------+------. | 84 | * ,------|------|------| |------+------+------. |
| 85 | * | | | ~L2 | | PgUp | | | | 85 | * | | | ~L2 | | PgUp | | | |
| 86 | * |Space | USR1 |------| |------|Enter |Space | | 86 | * |Space | USR1 |------| |------|Enter |Space | |
| @@ -91,14 +91,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 91 | // Otherwise, it needs KC_* | 91 | // Otherwise, it needs KC_* |
| 92 | [BASE] = LAYOUT_ergodox( // layer 0 : default | 92 | [BASE] = LAYOUT_ergodox( // layer 0 : default |
| 93 | // left hand | 93 | // left hand |
| 94 | KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_LCBR, | 94 | KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_LCBR, |
| 95 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LPRN, | 95 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LPRN, |
| 96 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, | 96 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, |
| 97 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, | 97 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, |
| 98 | KC_LCTL, KC_LGUI, KC_LALT, KC_INS, KC_SPC, | 98 | KC_LCTL, KC_LGUI, KC_LALT, CFQ_USER_KEY2, KC_SPC, |
| 99 | CFQ_USER_KEY2, CFQ_KC_FN3, | 99 | KC_INS, CFQ_KC_FN3, |
| 100 | CFQ_KC_FN2, | 100 | CFQ_KC_FN2, |
| 101 | KC_SPC, CFQ_USER_KEY1, CFQ_KC_FN1, | 101 | KC_SPC, CFQ_USER_KEY1, CFQ_KC_FN1, |
| 102 | // right hand | 102 | // right hand |
| 103 | KC_RCBR, KC_CIRC, KC_AMPR, KC_ASTR,KC_MINS, KC_EQL, KC_BSPC, | 103 | KC_RCBR, KC_CIRC, KC_AMPR, KC_ASTR,KC_MINS, KC_EQL, KC_BSPC, |
| 104 | KC_RPRN, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 104 | KC_RPRN, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
diff --git a/layouts/community/ergodox/qwerty_code_friendly/readme.md b/layouts/community/ergodox/qwerty_code_friendly/readme.md index 52a973359..cb5e96d69 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/readme.md +++ b/layouts/community/ergodox/qwerty_code_friendly/readme.md | |||
| @@ -28,17 +28,21 @@ Some optional behavior is configurable without editing the code | |||
| 28 | using `CFQ_` prefixed defines which can be set by passing `EXTRAFLAGS` to make. | 28 | using `CFQ_` prefixed defines which can be set by passing `EXTRAFLAGS` to make. |
| 29 | 29 | ||
| 30 | - `CFQ_USER_KEY1`, `CFQ_USER_KEY2` are used for custom-keys | 30 | - `CFQ_USER_KEY1`, `CFQ_USER_KEY2` are used for custom-keys |
| 31 | if not set they default to F13, F14. | ||
| 32 | - `CFQ_USE_MOMENTARY_LAYER_KEYS` is used to prevent layer keys from toggling when tapped. | 31 | - `CFQ_USE_MOMENTARY_LAYER_KEYS` is used to prevent layer keys from toggling when tapped. |
| 33 | - `CFQ_USE_EXPEREMENTAL_LAYER` defines an extra layer for misc extra keys/macros. | ||
| 34 | Currently it's mostly empty. | ||
| 35 | - `CFQ_USE_SWAP_RIGHT_SPACE_ENTER` swap Enter and Space on the right hand thumb cluster. | 32 | - `CFQ_USE_SWAP_RIGHT_SPACE_ENTER` swap Enter and Space on the right hand thumb cluster. |
| 36 | While asymmetric, it makes Enter more easily accessible. | 33 | While asymmetric, it makes Enter more easily accessible. |
| 34 | - `CFQ_USE_EXPEREMENTAL_LAYER` defines an extra layer for misc extra keys/macros. | ||
| 35 | Currently it's mostly empty. | ||
| 37 | 36 | ||
| 38 | 37 | ||
| 39 | 38 | ||
| 40 | ## Keymap 0: Basic layer | 39 | ## Keymap 0: Basic layer |
| 41 | 40 | ||
| 41 | When undefined: | ||
| 42 | |||
| 43 | - `USR1` defaults to `F13`, otherwise use `CFQ_USER_KEY1`. | ||
| 44 | - `USR2` defaults to `APP`, otherwise use `CFQ_USER_KEY2`. | ||
| 45 | |||
| 42 | ``` | 46 | ``` |
| 43 | ,--------------------------------------------------. ,--------------------------------------------------. | 47 | ,--------------------------------------------------. ,--------------------------------------------------. |
| 44 | | Grave | ! | @ | # | $ | % | { | | } | ^ | & | * | - | = | BSpace | | 48 | | Grave | ! | @ | # | $ | % | { | | } | ^ | & | * | - | = | BSpace | |
| @@ -49,10 +53,10 @@ using `CFQ_` prefixed defines which can be set by passing `EXTRAFLAGS` to make. | |||
| 49 | |--------+------+------+------+------+------| [ | | ] |------+------+------+------+------+--------| | 53 | |--------+------+------+------+------+------| [ | | ] |------+------+------+------+------+--------| |
| 50 | | LShift | Z | X | C | V | B | | | | N | M | , | . | / | RShift | | 54 | | LShift | Z | X | C | V | B | | | | N | M | , | . | / | RShift | |
| 51 | `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | 55 | `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' |
| 52 | | LCtl |Super | Alt | Ins |Space | | Left | Down | Up |Right | Del | | 56 | | LCtl |Super | Alt | USR2 |Space | | Left | Down | Up |Right | Del | |
| 53 | `----------------------------------' `----------------------------------' | 57 | `----------------------------------' `----------------------------------' |
| 54 | ,-------------. ,-------------. | 58 | ,-------------. ,-------------. |
| 55 | | USR2 | ~L3 | | Home | End | | 59 | | Ins | ~L3 | | Home | End | |
| 56 | ,------|------|------| |------+------+------. | 60 | ,------|------|------| |------+------+------. |
| 57 | | | | ~L2 | | PgUp | | | | 61 | | | | ~L2 | | PgUp | | | |
| 58 | |Space | USR1 |------| |------|Enter |Space | | 62 | |Space | USR1 |------| |------|Enter |Space | |
| @@ -110,3 +114,7 @@ Note the double bracket keys on this layer press left to position the cursor bet | |||
| 110 | ``` | 114 | ``` |
| 111 | 115 | ||
| 112 | ## Changelog | 116 | ## Changelog |
| 117 | |||
| 118 | - 2017/10/4 | ||
| 119 | Move Insert key to the left thumb cluster (away from the modifier keys). | ||
| 120 | Replace with `USR2` which defaults to `APP`. | ||
