Hello, new Pi2 owner here. I've searched the forum and read lots of threads but can't seem to find a definitive answer so starting a new thread.
I've installed piplay (latest version 0.8.0 beta 8) on a new sd card, installed it in my pi and all is well. I've copied a rom (super mario kart for snes) into the correct folder and the game works perfectly with the keyboard. I have a usb interface that my joystick and 6 buttons connect to then that plugs into the pi2. I press tab to get into the setting on the main piplay screen and have configured the controls in all and snes. Each button press or joystick move progresses the configuration to the next button until it is complete so I think it is reading the switch contacts correctly. I've double and tripple checked my wirering diagram. One ground is daisy chained to all contacts and the usb board. Then a seperate individual wire connects each contact to the board.
My logic suggests that the configuration isn't saving as in the game the buttons don't do what they are supposed to do. They freeze and take you to a demo mode and other strange things. If I map the inputs to my keyboard all is well.
Is there any way to check a file to see if the mapping of the inputs is being altered or should I change the version of piplay I'm using?
It looks like the inputs for both player 1 and 2 are there, joystick commands are assigned to joystick, buttons to button and keyboard to keyboard but some appear missing.
it looks like you're configuring a combination of joystick/keyboard for player 1 (left bumper, right bumper, select, and start). The emulator can't handle that.
Okay that didn't work. I'm now trying it on the nes emulator, only 5 buttons (a, b, start, select and exit) and 4 joystick directions. by pressing tab I got the joystick and buttons to work through the configuration process but somehow the joystick commands got rotated 90 degrees. Tried to reconfigure and now nothing works :(
Looking at the nes controller file instead of seeing something like before now all I can see is
I'm leaning towards the configuration not saving the inputs correctly. I've turned the pi off and started from fresh several times. When pressing tab the configuration process for each input detects the button pressed and moves to the next button to be mapped. Sometimes on completion of the configuration it changes very fast back to the controller selection screen like it hasn't saved the changes.
you are looking at the wrong file there. That file is the format file that tells controller config what picture/buttons to configure. To see the raw data that you entered, you need to look in /home/pi/pimame/controller-setup/output/. To see the formatted data, you need to look in /home/pi/.fceux/