I had similar issues. Reseating the ribbon attaching the keyboard to the motherboard fixed my issue - although I had to do it several times putting firm pressure on the connection clip.
open