I think I would try the safemode remove and reinstall mouse and keyboard drivers
Also if your bios supports it Turn off USB Keyboard and enable / force PS/2
If you have to reinstall for something this simple it’s time to install 2K.
But on the bright side.
At least you weren’t using the cd-rom tray as a cup holder