You mean, all the passive components (resistors and capacitors) on the keyboard's PCB were bad, but the active IC was OK? That is very unlikely. Maybe there was just a single bad component or a bad solder joint somewhere?
In any case, glad you got it back into working order!