My Logitech cordless (Wi-Fi) mouse & keyboard combination used on my desktop PC became erratic, ie., mouse movement jumpy/unpredictable, keyboard frequently not typing, had to be switched off/on to restore, very annoying.
Win drivers reported as up to date.
Reluctant to change to wired mouse/KB as enough cables already on my setup.
After implementing various suggestions found the following actions completely cured the issue:
Associated Wi-Fi dongle changed from a USB-3 port to a USB-2 port.
Wi-Fi dongle moved from the rear of the desktop PC (now on USB-2 port) using a male/female extension lead adjacent to the keyboard/mouse location at the front of the desk, could have used a front USB ports on the PC but both were USB-3 and I prefer to keep these for other applications anyway.
Can't really say which action had the most impact as both carried out at the same time, just pleased it's sorted