1
0

Fix modifier stuck of Lock command(#127)

This commit is contained in:
tmk 2015-01-01 12:17:11 +09:00
parent d2015da424
commit c0880e5011

View File

@ -194,6 +194,7 @@ static bool command_common(uint8_t code)
case KC_CAPSLOCK: case KC_CAPSLOCK:
if (host_get_driver()) { if (host_get_driver()) {
host_driver = host_get_driver(); host_driver = host_get_driver();
clear_keyboard();
host_set_driver(0); host_set_driver(0);
print("Locked.\n"); print("Locked.\n");
} else { } else {