There are different keybeds and switches there but they usually opperate on two touch style buttons (like in a soft pad switched telephone - for the number keys). These switches get dirty or go bad. The contacts can need cleaning.

In my S30, it has a long strip of two channels of carbon. This needed to be replaced but I just turned it around 180 degrees and it fixed it for me (it was only 2 notes in my case).