From: tmk Date: Thu, 1 Jan 2015 03:17:11 +0000 (+0900) Subject: Fix modifier stuck of Lock command(#127) X-Git-Url: https://git.donarmstrong.com/?p=tmk_firmware.git;a=commitdiff_plain;h=22d99f26af757c0bedb31ba3f63d793e4b2d4ca3 Fix modifier stuck of Lock command(#127) --- diff --git a/common/command.c b/common/command.c index 971ef7f..1a507e3 100644 --- a/common/command.c +++ b/common/command.c @@ -194,6 +194,7 @@ static bool command_common(uint8_t code) case KC_CAPSLOCK: if (host_get_driver()) { host_driver = host_get_driver(); + clear_keyboard(); host_set_driver(0); print("Locked.\n"); } else {