IIRC the CIA chips control the mouse/joystick ports. Maybe try opening up the computer and reseating the CIAs and other socketed chips? And then try swapping the CIAs? If the joystick button works and/or other weirdness happens you would know the CIAs are to blame.
BTW welcome to Amiga.org!!!