Fully implement parseSwitchKeymapAction

This commit is contained in:
Eric Tang
2017-08-06 20:37:51 -07:00
parent 2fa935af37
commit 709e7644e5

View File

@@ -51,9 +51,8 @@ static parser_error_t parseSwitchLayerAction(key_action_t *KeyAction, config_buf
static parser_error_t parseSwitchKeymapAction(key_action_t *keyAction, config_buffer_t *buffer) {
uint8_t keymapIndex = readUInt8(buffer);
(void)keymapIndex;
keyAction->type = KeyActionType_SwitchKeymap;
// TODO: Implement this
keyAction->switchKeymap.keymapId = keymapIndex;
return ParserError_Success;
}