A keyboard driver is unlikely to be the cause. Also, the keyboard wiring generally does not pass through the hinge for the screen on a laptop. It is possibly that there is a broken trace or wire that is affecting the keyboard.

https://www.msi.com/support/technica...NB_KB_Response

If you connect an external USB keyboard, do all of the keys work?

Post the exact make and model of the MSI laptop so we can locate more accurate data and replacement information.

https://www.google.com/search?q=msi+...t=gws-wiz-serp