diff options
author | fauxpark <fauxpark@gmail.com> | 2019-02-18 13:51:55 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-18 08:52:51 -0800 |
commit | 545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3 (patch) | |
tree | 05606823861678a5c8fb5b850529bae1bf584a24 /layouts/community/ergodox/qwerty_code_friendly | |
parent | efef54032bddadcaf8b2a138121a6fda382b271a (diff) |
Migrate ACTION_LAYER_TAP_TOGGLEs to TT()
Diffstat (limited to 'layouts/community/ergodox/qwerty_code_friendly')
-rw-r--r-- | layouts/community/ergodox/qwerty_code_friendly/keymap.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/layouts/community/ergodox/qwerty_code_friendly/keymap.c b/layouts/community/ergodox/qwerty_code_friendly/keymap.c index 43a1d1ad80..5f4ed3c19d 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/keymap.c +++ b/layouts/community/ergodox/qwerty_code_friendly/keymap.c @@ -291,9 +291,9 @@ enum custom_keycodes { #define CFQ_KC_FN2 MO(2) #define CFQ_KC_FN3 MO(3) #else -#define CFQ_KC_FN1 KC_FN1 -#define CFQ_KC_FN2 KC_FN2 -#define CFQ_KC_FN3 KC_FN3 +#define CFQ_KC_FN1 TT(1) +#define CFQ_KC_FN2 TT(2) +#define CFQ_KC_FN3 TT(3) #endif const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -490,12 +490,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), }; -const uint16_t PROGMEM fn_actions[] = { - [1] = ACTION_LAYER_TAP_TOGGLE(LAYER_KPAD), /* FN1 - Momentary Layer 1 (KeyPad) */ - [2] = ACTION_LAYER_TAP_TOGGLE(LAYER_MDIA), /* FN2 - Momentary Layer 2 (Media, Mouse) */ - [3] = ACTION_LAYER_TAP_TOGGLE(LAYER_FKEY), /* FN3 - Momentary Layer 3 (FKey's & Words) */ -}; - #define WITHOUT_MODS(...) \ do { \ uint8_t _real_mods = get_mods(); \ |