Just the keyboard initially

You could try debugging that may give an indication as to where the problem is