Greetings, I'm trying to fix this issue where both my mouse and keyboard disconnect randomly after some time (can be 10 minutes up to a few yours). My mouse is the Razer Viper mini and my keyboard the ducky one 2 mini. Strangely somehow when this happens both the keyboard and mouse still light up yet the keyboard is the only one with its lights flickering. Ive tried updating the drivers, firmware, switching USB port and scanning for any malware. I remember this started happening after installing kali Linux on a virtual machine if this has anything to do with it. Maybe the drivers from both devices are interrupting each other? I have no idea. I think it also could be a bios problem due to me installing a new hard driver recently. If this is any help here is a YouTube video I made demonstrating the issue.
View: https://youtu.be/lYXAt0tPR-0