Probably, the only way to find out,is substitute the keyboard.
Maybe a friend could lend you one for a few minutes, to try.
Do take a close look at the pins though. Are any damaged?
It may not be either. Sometimes, strange things happen with driver files in circumstances such as yours, so it maybe a software problem.