diff --git a/right/src/config_parser/parse_keymap.c b/right/src/config_parser/parse_keymap.c index dc80e12..fb274ca 100644 --- a/right/src/config_parser/parse_keymap.c +++ b/right/src/config_parser/parse_keymap.c @@ -71,7 +71,8 @@ static parser_error_t parsePlayMacroAction(key_action_t *keyAction, config_buffe { uint8_t macroIndex = readUInt8(buffer); - (void)macroIndex; + keyAction->type = KeyActionType_SwitchKeymap; + keyAction->playMacro.macroId = macroIndex; return ParserError_Success; }