core: Actionmap support

This commit is contained in:
tmk 2016-03-03 16:18:19 +09:00
parent 75ca495c01
commit 5e9b21d77d
9 changed files with 586 additions and 73 deletions

View file

@ -114,8 +114,7 @@ void layer_debug(void)
action_t layer_switch_get_action(keypos_t key)
{
action_t action;
action.code = ACTION_TRANSPARENT;
action_t action = { .code = ACTION_TRANSPARENT };
#ifndef NO_ACTION_LAYER
uint32_t layers = layer_state | default_layer_state;