Separate 6KRO and NKRO report structs (#22267)

This commit is contained in:
Ryan
2023-10-23 14:43:46 +10:00
committed by GitHub
parent bf6f13a2b0
commit 0c160e1fba
20 changed files with 187 additions and 165 deletions

View File

@ -925,7 +925,7 @@ __attribute__((weak)) void register_code(uint8_t code) {
// Force a new key press if the key is already pressed
// without this, keys with the same keycode, but different
// modifiers will be reported incorrectly, see issue #1708
if (is_key_pressed(keyboard_report, code)) {
if (is_key_pressed(code)) {
del_key(code);
send_keyboard_report();
}