Explorar o código

Fix modifier stuck of Lock command(#127)

tmk %!s(int64=11) %!d(string=hai) anos
pai
achega
22d99f26af
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      common/command.c

+ 1 - 0
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 {