I feel your pain, I did all the fixes I could find from uninstalling device to refresh of win11 and problem kept coming back.
This fix is from u/bbfosho0 on reddit:
- Go into device manager
- Check the keyboards tab and unknown devices tab. (If its just your keyboard that's acting out, all the unknown devices within these tabs should be associated to it. If its both mouse and keyboard, then I suggest you plug in only the keyboard to do the process, then do it with your mouse after)
- Right click these devices, click update, select "browse my computer for drivers"
- Select "let me pick from a list of available drivers on my computer"
- for all the keyboard devices, install "HID Keyboard Device"
- for all the mouse devices, install the "HID-compliant mouse"
Hopefully this works long term but I'm not optimistic.
This is a device discovery issue, with windows miss identifying device and recommending wrong driver.