From 709e7644e5a74534720ffe62df2b1c9eb5a43103 Mon Sep 17 00:00:00 2001 From: Eric Tang Date: Sun, 6 Aug 2017 20:37:51 -0700 Subject: [PATCH] Fully implement parseSwitchKeymapAction --- right/src/config_parser/parse_keymap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/right/src/config_parser/parse_keymap.c b/right/src/config_parser/parse_keymap.c index 455ba26..7bea9eb 100644 --- a/right/src/config_parser/parse_keymap.c +++ b/right/src/config_parser/parse_keymap.c @@ -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; }