From 545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 18 Feb 2019 13:51:55 +1100 Subject: Migrate ACTION_LAYER_TAP_TOGGLEs to TT() --- keyboards/ergotravel/keymaps/ckofy/keymap.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'keyboards/ergotravel') diff --git a/keyboards/ergotravel/keymaps/ckofy/keymap.c b/keyboards/ergotravel/keymaps/ckofy/keymap.c index 24f88ba54..691d4aa94 100644 --- a/keyboards/ergotravel/keymaps/ckofy/keymap.c +++ b/keyboards/ergotravel/keymaps/ckofy/keymap.c @@ -59,7 +59,7 @@ enum { #define KC_SVE LCTL(KC_S) #define KC_OSH F(F_SFT) #define KC_OCTL F(F_CTRL) -#define KC_NUMP F(F_NUMPAD) +#define KC_NUMP TT(_NUMPAD) #define KC_SHESC MT(MOD_LSFT,KC_ESC) #define KC_SHENT MT(MOD_RSFT,KC_ENT) //#define KC_NUMP TG(_NUMPAD) // Toggle layer NUMPAD for use in KC_keymaps @@ -146,9 +146,6 @@ const uint16_t PROGMEM fn_actions[] = { [F_SFT] = ACTION_MODS_ONESHOT (MOD_LSFT) ,[F_ALT] = ACTION_MODS_ONESHOT (MOD_LALT) ,[F_CTRL] = ACTION_MODS_ONESHOT (MOD_LCTL) - ,[F_NUMPAD] = ACTION_LAYER_TAP_TOGGLE(_NUMPAD) -// ,[F_LOWER] = ACTION_LAYER_TAP_TOGGLE(LOWER) // FN1 - Momentary Layer 1 (Lower) -// ,[F_RAISE] = ACTION_LAYER_TAP_TOGGLE(RAISE) // FN2 - Momentary Layer 2 (Raise) }; -- cgit v1.2.3-24-g4f1b