fix oneshot keys sent to host when held after tapping

This commit is contained in:
Jari Meevis 2025-02-16 17:08:32 +01:00
parent a1cb822861
commit 75c04fc2b7
No known key found for this signature in database

View File

@ -267,8 +267,9 @@ static uint8_t get_mods_for_report(void) {
clear_oneshot_mods();
}
# endif
mods |= oneshot_mods;
if (has_anykey()) {
// only send oneshots to host if used with a real key
mods |= oneshot_mods;
clear_oneshot_mods();
}
}