mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Use TAP_HOLD_CAPS_DELAY for KC_LOCKING_CAPS_LOCK (#17099)
This commit is contained in:
parent
8545473307
commit
d44a950c10
|
@ -844,7 +844,7 @@ __attribute__((weak)) void register_code(uint8_t code) {
|
||||||
# endif
|
# endif
|
||||||
add_key(KC_CAPS_LOCK);
|
add_key(KC_CAPS_LOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
wait_ms(100);
|
wait_ms(TAP_HOLD_CAPS_DELAY);
|
||||||
del_key(KC_CAPS_LOCK);
|
del_key(KC_CAPS_LOCK);
|
||||||
send_keyboard_report();
|
send_keyboard_report();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue