mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
Update command.c
This commit is contained in:
parent
26af2efb5d
commit
57a50169b6
|
@ -447,7 +447,7 @@ static bool command_common(uint8_t code) {
|
||||||
// NKRO toggle
|
// NKRO toggle
|
||||||
case MAGIC_KC(MAGIC_KEY_NKRO):
|
case MAGIC_KC(MAGIC_KEY_NKRO):
|
||||||
clear_keyboard(); // clear to prevent stuck keys
|
clear_keyboard(); // clear to prevent stuck keys
|
||||||
keymap_config.nkro = keymap_config.nkro_save = !keymap_config.nkro;
|
keymap_config.nkro = !keymap_config.nkro;
|
||||||
if (keymap_config.nkro) {
|
if (keymap_config.nkro) {
|
||||||
print("NKRO: on\n");
|
print("NKRO: on\n");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user