瀏覽代碼

Fix modifier stuck of Lock command(#127)

tmk 11 年之前
父節點
當前提交
22d99f26af
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 {