Try an external USB keyboard. If that works you can look at getting a new keyboard.

There are some that want to diagnose what went wrong with the old keyboard and my office can do that at the usual 200 buck a hour rate (takes an engineer and more.)
Bob