Read keymap index instead of keymap abbreviation for keymap switch actions according to the updated binary configuration.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user