Opto mini pf boards do fail. Swap flipper button opto boards side to side, see if issue changes.
If all else fails, swap in another cpu, if possible. Also, DOUBLE CHECK THOSE RIBBON CABLES! I still find myself mis-plugging those after all these years!