diff --git a/right/src/config/parse_keymap.c b/right/src/config/parse_keymap.c index b2a4898..31e319b 100644 --- a/right/src/config/parse_keymap.c +++ b/right/src/config/parse_keymap.c @@ -51,10 +51,9 @@ static parser_error_t parseSwitchLayerAction(key_action_t *KeyAction, config_buf } static parser_error_t parseSwitchKeymapAction(key_action_t *keyAction, config_buffer_t *buffer) { - uint16_t keymapAbbreviationLen; - const char *keymapAbbreviation = readString(buffer, &keymapAbbreviationLen); + uint8_t keymapIndex = readUInt8(buffer); - (void)keymapAbbreviation; + (void)keymapIndex; keyAction->type = KeyActionType_SwitchKeymap; // TODO: Implement this return ParserError_Success;