summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/qwerty_code_friendly
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/qwerty_code_friendly')
-rw-r--r--layouts/community/ergodox/qwerty_code_friendly/keymap.c12
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(); \