diff --git a/right/src/config_parser/parse_keymap.c b/right/src/config_parser/parse_keymap.c index 4f0a5a1..6810145 100644 --- a/right/src/config_parser/parse_keymap.c +++ b/right/src/config_parser/parse_keymap.c @@ -75,7 +75,7 @@ static parser_error_t parsePlayMacroAction(key_action_t *keyAction, config_buffe if (macroIndex >= tempMacroCount) { return ParserError_InvalidSerializedPlayMacroAction; } - keyAction->type = KeyActionType_SwitchKeymap; + keyAction->type = KeyActionType_PlayMacro; keyAction->playMacro.macroId = macroIndex; return ParserError_Success; } @@ -196,4 +196,3 @@ parser_error_t ParseKeymap(config_buffer_t *buffer, uint8_t keymapIdx, uint8_t k } return ParserError_Success; } - diff --git a/right/src/key_action.h b/right/src/key_action.h index dae70fe..4d61965 100644 --- a/right/src/key_action.h +++ b/right/src/key_action.h @@ -19,7 +19,6 @@ KeyActionType_SwitchLayer, KeyActionType_SwitchKeymap, KeyActionType_PlayMacro, - KeyActionType_Test, } key_action_type_t; typedef enum {