Hello I have connected two buttons to my raspberry pi using the following tutorial. https://learn.adafruit.com/retro-gaming-with-raspberry-pi/buttons
I have gotten the two buttons to work fine in the Retropie menu.
But I can’t get them to work when I’m playing roms.
I think I have to edit the following file
But i’m not sure what code I need to enter to get the buttons to work in games.