I have the same problem. I had a Raspberry Pi 3 that worked with my normal GPIO arcade controller, now I switched to a Raspberry Pi 5 and the controller doesn't work