Given all you have tried and both keyboards are not working correctly, try a Windows 10 Repair Install.
https://www.microsoft.com/en-us/software-download/windows10
Windows 10 is running, so click on the Download button (not Upgrade Button) and select Run.
This will launch the Repair and proceed normally.
Start with the option to Keep Everything at the appropriate step.
I suggest this because you have tried drivers and Keyboard, Mouse are foundational to the operating system.
If, for whatever reason, a Repair Install does not work, backup your system and reinstall Windows.