Open it up and take a look!
If you're lucky it could be just a connector that has got knocked out of position or a cold solder joint. Maybe the previous owner yanked on the cable too hard and a wire from the cable broke at the PCB.
Those are some of the most common reasons why keyboards fail, and easily fixed without having to replace the controller.
That, and spilled liquids. But you'd notice if the latter is the case.