diff options
| author | Erez Zukerman <bulk@ezuk.org> | 2017-11-09 08:29:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-09 08:29:10 -0500 |
| commit | 7044dafe5925ebbe88a672e430e00312c6b50569 (patch) | |
| tree | cd318e10171b2104813790b1f019b6466e72f6fa | |
| parent | 05f15b789f4f6098a72474e028a19fdbccdaf2d3 (diff) | |
| parent | c2c9d9b38658bb7a0da2fabcef0108a968b6b059 (diff) | |
| download | qmk_firmware-7044dafe5925ebbe88a672e430e00312c6b50569.tar.gz qmk_firmware-7044dafe5925ebbe88a672e430e00312c6b50569.zip | |
Merge pull request #1986 from ideasman42/code-friendly-qwerty
qwerty_code_friendly: Expose caps-lock & fix typo
| -rw-r--r-- | layouts/community/ergodox/qwerty_code_friendly/keymap.c | 22 | ||||
| -rw-r--r-- | layouts/community/ergodox/qwerty_code_friendly/readme.md | 6 |
2 files changed, 18 insertions, 10 deletions
diff --git a/layouts/community/ergodox/qwerty_code_friendly/keymap.c b/layouts/community/ergodox/qwerty_code_friendly/keymap.c index ff3e43872..bd3d550a5 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/keymap.c +++ b/layouts/community/ergodox/qwerty_code_friendly/keymap.c | |||
| @@ -15,32 +15,36 @@ | |||
| 15 | #define CFQ_USE_DYNAMIC_MACRO | 15 | #define CFQ_USE_DYNAMIC_MACRO |
| 16 | 16 | ||
| 17 | #if !defined(CFQ_USER_KEY1) | 17 | #if !defined(CFQ_USER_KEY1) |
| 18 | #define CFQ_USER_KEY1 CFQ_KC_FN1 | 18 | # define CFQ_USER_KEY1 CFQ_KC_FN1 |
| 19 | #endif | 19 | #endif |
| 20 | #if !defined(CFQ_USER_KEY2) | 20 | #if !defined(CFQ_USER_KEY2) |
| 21 | #define CFQ_USER_KEY2 KC_INS | 21 | # define CFQ_USER_KEY2 KC_INS |
| 22 | #endif | 22 | #endif |
| 23 | #if !defined(CFQ_USER_KEY3) | 23 | #if !defined(CFQ_USER_KEY3) |
| 24 | #define CFQ_USER_KEY3 CFQ_KC_FN3 | 24 | # ifdef CFQ_USE_EXPEREMENTAL_LAYER |
| 25 | # define CFQ_USER_KEY3 CFQ_KC_FN3 | ||
| 26 | # else | ||
| 27 | # define CFQ_USER_KEY3 KC_CAPS | ||
| 28 | # endif | ||
| 25 | #endif | 29 | #endif |
| 26 | #if !defined(CFQ_USER_KEY4) | 30 | #if !defined(CFQ_USER_KEY4) |
| 27 | #define CFQ_USER_KEY4 KC_SPC | 31 | # define CFQ_USER_KEY4 KC_SPC |
| 28 | #endif | 32 | #endif |
| 29 | #if !defined(CFQ_USER_KEY5) | 33 | #if !defined(CFQ_USER_KEY5) |
| 30 | #define CFQ_USER_KEY5 KC_ENT | 34 | # define CFQ_USER_KEY5 KC_ENT |
| 31 | #endif | 35 | #endif |
| 32 | #if !defined(CFQ_USER_KEY6) | 36 | #if !defined(CFQ_USER_KEY6) |
| 33 | #define CFQ_USER_KEY5 CFQ_KC_FN2 | 37 | # define CFQ_USER_KEY6 CFQ_KC_FN2 |
| 34 | #endif | 38 | #endif |
| 35 | #if !defined(CFQ_USER_KEY7) | 39 | #if !defined(CFQ_USER_KEY7) |
| 36 | #define CFQ_USER_KEY5 CFQ_KC_FN1 | 40 | # define CFQ_USER_KEY7 CFQ_KC_FN1 |
| 37 | #endif | 41 | #endif |
| 38 | 42 | ||
| 39 | #define BASE 0 // default layer | 43 | #define BASE 0 // default layer |
| 40 | #define SYMB 1 // symbols | 44 | #define SYMB 1 // symbols |
| 41 | #define MDIA 2 // media keys | 45 | #define MDIA 2 // media keys |
| 42 | #ifdef CFQ_USE_EXPEREMENTAL_LAYER | 46 | #ifdef CFQ_USE_EXPEREMENTAL_LAYER |
| 43 | #define EXPR 3 // experimental keys | 47 | # define EXPR 3 // experimental keys |
| 44 | #endif | 48 | #endif |
| 45 | 49 | ||
| 46 | enum custom_keycodes { | 50 | enum custom_keycodes { |
| @@ -105,7 +109,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 105 | * | LCtl |Super | Alt | ~L1 |Space | | Left | Down | Up |Right | Del | | 109 | * | LCtl |Super | Alt | ~L1 |Space | | Left | Down | Up |Right | Del | |
| 106 | * `----------------------------------' `----------------------------------' | 110 | * `----------------------------------' `----------------------------------' |
| 107 | * ,-------------. ,-------------. | 111 | * ,-------------. ,-------------. |
| 108 | * | Ins | ~L3 | | Home | End | | 112 | * | Ins |CapsLk| | Home | End | |
| 109 | * ,------|------|------| |------+------+------. | 113 | * ,------|------|------| |------+------+------. |
| 110 | * | | | ~L2 | | PgUp | | | | 114 | * | | | ~L2 | | PgUp | | | |
| 111 | * |Space |Enter |------| |------|Enter |Space | | 115 | * |Space |Enter |------| |------|Enter |Space | |
diff --git a/layouts/community/ergodox/qwerty_code_friendly/readme.md b/layouts/community/ergodox/qwerty_code_friendly/readme.md index 6153fb259..92130c6fb 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/readme.md +++ b/layouts/community/ergodox/qwerty_code_friendly/readme.md | |||
| @@ -32,6 +32,7 @@ using `CFQ_` prefixed defines which can be set by passing `EXTRAFLAGS` to make. | |||
| 32 | - `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. |
| 33 | 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. | 34 | - `CFQ_USE_EXPEREMENTAL_LAYER` defines an extra layer for misc extra keys/macros. |
| 35 | When set, Caps-Lock is replace by Layer3. | ||
| 35 | Currently it's mostly empty. | 36 | Currently it's mostly empty. |
| 36 | 37 | ||
| 37 | 38 | ||
| @@ -52,7 +53,7 @@ Keymap 0: Basic layer | |||
| 52 | | LCtl |Super | Alt | ~L1 |Space | | Left | Down | Up |Right | Del | | 53 | | LCtl |Super | Alt | ~L1 |Space | | Left | Down | Up |Right | Del | |
| 53 | `----------------------------------' `----------------------------------' | 54 | `----------------------------------' `----------------------------------' |
| 54 | ,-------------. ,-------------. | 55 | ,-------------. ,-------------. |
| 55 | | Ins | ~L3 | | Home | End | | 56 | | Ins |CapsLk| | Home | End | |
| 56 | ,------|------|------| |------+------+------. | 57 | ,------|------|------| |------+------+------. |
| 57 | | | | ~L2 | | PgUp | | | | 58 | | | | ~L2 | | PgUp | | | |
| 58 | |Space |Enter |------| |------|Enter |Space | | 59 | |Space |Enter |------| |------|Enter |Space | |
| @@ -127,6 +128,9 @@ Notes: | |||
| 127 | 128 | ||
| 128 | ## Changelog | 129 | ## Changelog |
| 129 | 130 | ||
| 131 | - 2017/11/09 | ||
| 132 | Use Caps-Lock when `CFQ_USE_EXPEREMENTAL_LAYER` isn't defined. | ||
| 133 | |||
| 130 | - 2017/11/07 | 134 | - 2017/11/07 |
| 131 | Make thumb left thumb cluster completely configurable with defines. | 135 | Make thumb left thumb cluster completely configurable with defines. |
| 132 | Add mouse wheel to mouse layer. | 136 | Add mouse wheel to mouse layer. |
