Hi, I have received my raspberry pi 2 yesterday and I have installed piplay on it, work great! But I can't play with my friend, one with the controller and the other with the keyboard, because we are together 1 player. Any idea how to resolve this issue ? 1 player with the keyboard and 2 player with the Xbox 360 controller (Logitech ChillStream) ?
I have this same issue with PiFBA, both keyboard (X-Arcade which emulates keyboard) and Joystick 1 control player one. However in Mame4All-Pi this is not a issue at all.
I'm trying right now but which version of PiPlay did you have ? I've the latest version available but I don't find the "arcade.cfg".
But I found in folder "/home/pi/pimame/controller-setup/output" a file called "snes.json" which contains key mapping for the keyboard and the joystick (an array of object).
Hi, thank you very much for your help, but I just saw that this configuration file "snes9x.cfg" is always rewritten when you start a game. Any idea to avoid this ?
+ boot raspberry + piplay + tab button to update SNES controller (1-keyboard, 2-Xbox 360 controller) + exit piplay + edit configuration file snes9x.cfg in folder "pimame/emulators/pisnes" + sudo reboot + launch a 2 players game (Final Fight 3) + both controller still the 1 player (configuration file has been overwrite I think)
I'm really confused. I did what you told but the keyboard and the xbox 360 controller are one player. I have a fresh install of PiPlay 0.8.0 Beta 7 with Xbox 360 controllers activated (PiPlay menu) on my Raspberry Pi 2 Model B and here is my snes9x.cfg file for the controllers.
[Keyboard] # Get codes from /usr/includes/SDL/SDL_keysym.h A_1=999 B_1=999 X_1=999 Y_1=999 L_1=999 R_1=999 START_1=999 SELECT_1=999 LEFT_1=999 RIGHT_1=999 UP_1=999 DOWN_1=999 QUIT=999 ACCEL=999
Still can't get both keyboard and Xbox 360 wired controller to be distinct player. I have tried multiple configuration with the snes9x.cfg (https://gist.github.com/igorissen/2ba54c7c82d9355f74ca#file-snes9x-cfg) player 1 as joystick and player 2 as keyboard, player 1 as keyboard and player 2 as joystick. I'm using PiPlay v0.8.0b8.
The emulator might not be able to handle that sort of setup. If you have tried all of that, I would suspect that it needs both players to be on the same sort of setup. It's been a while since I looked at it's source code, but that's all that I can think.