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) {
|
static parser_error_t parseSwitchKeymapAction(key_action_t *keyAction, config_buffer_t *buffer) {
|
||||||
uint16_t keymapAbbreviationLen;
|
uint8_t keymapIndex = readUInt8(buffer);
|
||||||
const char *keymapAbbreviation = readString(buffer, &keymapAbbreviationLen);
|
|
||||||
|
|
||||||
(void)keymapAbbreviation;
|
(void)keymapIndex;
|
||||||
keyAction->type = KeyActionType_SwitchKeymap;
|
keyAction->type = KeyActionType_SwitchKeymap;
|
||||||
// TODO: Implement this
|
// TODO: Implement this
|
||||||
return ParserError_Success;
|
return ParserError_Success;
|
||||||
|
|||||||
Reference in New Issue
Block a user