diff options
author | tmk <nobody@nowhere> | 2013-04-05 03:44:42 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-04-05 03:44:42 +0900 |
commit | c26a5eb2ac64892f2102e66477fa7f794e9dfe3f (patch) | |
tree | 7d3f07d037499e2b68bea5a2546ac0a7b355a042 /common | |
parent | a8c465215fce3dad502da868ca49eb446deadc4e (diff) | |
download | qmk_firmware-c26a5eb2ac64892f2102e66477fa7f794e9dfe3f.tar.gz qmk_firmware-c26a5eb2ac64892f2102e66477fa7f794e9dfe3f.zip |
Fix keymap for new actions
Diffstat (limited to 'common')
-rw-r--r-- | common/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |