Its not the keyboard. There are times where the game does not register button presses.
A good example is Jump. For me, I have Jump bound to my mouse wheel click. I can click it, the avatar doesn't jump. Or if he does, there is a delay in jumping. I've tested too, bound Jump to a key on the keyboard, same thing. so it's not really the peripheral devices, just some code that needs tweaking in game.