mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-18 13:42:00 +00:00
fix oneshot keys sent to host when held after tapping
This commit is contained in:
parent
a1cb822861
commit
75c04fc2b7
@ -267,8 +267,9 @@ static uint8_t get_mods_for_report(void) {
|
|||||||
clear_oneshot_mods();
|
clear_oneshot_mods();
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
mods |= oneshot_mods;
|
|
||||||
if (has_anykey()) {
|
if (has_anykey()) {
|
||||||
|
// only send oneshots to host if used with a real key
|
||||||
|
mods |= oneshot_mods;
|
||||||
clear_oneshot_mods();
|
clear_oneshot_mods();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user