summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-01-01 12:17:11 +0900
committertmk <hasu@tmk-kbd.com>2015-01-01 12:17:11 +0900
commit22d99f26af757c0bedb31ba3f63d793e4b2d4ca3 (patch)
tree4a3a8d2b4f1a762a149a0c5c7a2189d0b96e98e5 /common/command.c
parent2e17aa2d6006ce42889d489847e504575f5d0995 (diff)
Fix modifier stuck of Lock command(#127)
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c
index 971ef7f0af..1a507e3a46 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 {