From c26a5eb2ac64892f2102e66477fa7f794e9dfe3f Mon Sep 17 00:00:00 2001 From: tmk Date: Fri, 5 Apr 2013 03:44:42 +0900 Subject: Fix keymap for new actions --- common/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/keymap.c b/common/keymap.c index c98ce09b66..572d922c62 100644 --- a/common/keymap.c +++ b/common/keymap.c @@ -108,9 +108,9 @@ action_t keymap_fn_to_action(uint8_t keycode) uint8_t layer = keymap_fn_layer(FN_INDEX(keycode)); uint8_t key = keymap_fn_keycode(FN_INDEX(keycode)); if (key) { - action.code = ACTION_KEYMAP_TAP_KEY(layer, key); + action.code = ACTION_LAYER_TAP_KEY(layer, key); } else { - action.code = ACTION_KEYMAP_MOMENTARY(layer); + action.code = ACTION_LAYER_MOMENTARY(layer); } } return action; -- cgit v1.2.1