X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=common%2Fcommand.c;h=1a507e3a462050ae07a7b3375ae39ac7351f284f;hb=099701dd3130d433244b3a4102f36f547aec25ae;hp=971ef7f0af4ba9f4ba1cbd5a80c4327818b424f9;hpb=363950982a291c3bfa03ac6362061b1d37dc06b0;p=max%2Ftmk_keyboard.git diff --git a/common/command.c b/common/command.c index 971ef7f0..1a507e3a 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 {