Hello,
To diagnose a keyboard problem, it's essential to test with the onscreen keyboard or a different keyboard via USB or Bluetooth. If the alternative keyboard works, it's certain that the issue is hardware-related. I do believe it is hardware related,because driver or software issue typically won't just affect a few keys, but more like the entre keyboard not being recognized, or it only affects the function keys, like the top rows.