Hi!
Hmm, usually it's caused by the button circuit membrane. This can be fixed by replacing it.
Still, it is weird that the joystick also stopped working, then it does look like it's motherboard related.
First of all, I would replace the button circuit membrane and see how that goes. If this didn't worked, then it's most likely the motherboard..
Please let us know how it goes!