From 26eef35f07698d23aafae90e1c230b52e100a334 Mon Sep 17 00:00:00 2001 From: James Young Date: Sat, 29 Feb 2020 12:00:00 -0800 Subject: 2020 February 29 Breaking Changes Update (#8064) --- keyboards/jd45/keymaps/mjt6u/keymap.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'keyboards/jd45') diff --git a/keyboards/jd45/keymaps/mjt6u/keymap.c b/keyboards/jd45/keymaps/mjt6u/keymap.c index 4c0b8828a5..6fda6ac95f 100644 --- a/keyboards/jd45/keymaps/mjt6u/keymap.c +++ b/keyboards/jd45/keymaps/mjt6u/keymap.c @@ -26,9 +26,9 @@ enum jd45_keycodes #define LAYER_TOGGLE_DELAY 900 #define __MOD__ KC_TRNS -#define F_FNSPC F(0) -#define F_NUMSPC F(1) -#define F_FNTAB F(2) +#define F_FNSPC LT(_NUMSYM, KC_SPC) +#define F_NUMSPC LT(_NUMPAD, KC_SPC) +#define F_FNTAB LT(_FUNCTION, KC_TAB) const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_QWERTY] = LAYOUT( \ @@ -81,12 +81,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; -const uint16_t PROGMEM fn_actions[] = { - [0] = ACTION_LAYER_TAP_KEY(_NUMSYM, KC_SPC), - [1] = ACTION_LAYER_TAP_KEY(_NUMPAD, KC_SPC), - [2] = ACTION_LAYER_TAP_KEY(_FUNCTION, KC_TAB), -}; - void persistent_default_layer_set(uint16_t default_layer) { eeconfig_update_default_layer(default_layer); -- cgit v1.2.3