2p Arcade joystick not working on emulator
-
Hi there!
First of all, thanks for your time!I am building a 2p Arcade cabinet, used the gpio and mkarcadejoystick.
Installed it using the interface and edited the config file to "m=1,2".
Everything seems fine, both jstest for js0 and js1 works. The input configuration detects the 2 joysticks and emulation station works with P1 but not p2 (which I think is how it's supposed?)
But the neogeo emulator only works with the P1 and MAME does not work with neither P1 nor p2.
Sorry for the noob question, but what am I missing? Do I have to configure the emulators? I thought emulation station handled the controls.
Thanks very much!
-
Hi @brurpo
Do you have mk_arcade_joystick_rpi in
etc/modules
?Do you have a file called
/etc/modprobe.d/mk_arcade_joystick.conf
This should contain just 1 line (assuming default pinout):
options mk_arcade_joystick_rpi map=1,2
Also as they are treated as separate devices, I configure both inputs in emulation station, the first time.
If you are still have problems, post your mk_arcade_joystick.conf and your etc/modules files on pastebin and link here.
Si
-
@simonster thanks a lot for the reply :)
Not sure about the modules folder will have to check it when I get home.
I have the other one, also it had "map=1" so I changed it to "map=1,2".
When I configure the gamepad, it says 2 gamepads detected, but I can only configure one. Reading the forums I thought that the map would be automatically mirrored to the second controller.
When I get home I will paste the files.
Thank you very much for the help! -
Given you are getting 2 joysticks detected in the emulationstation menu, it seems like the module is loaded correctly. If you enter the configure inputs, map controller 1, then go straight back in and map controller 2, then restart the pi from the emulationstation menu.
-
@simonster yesss thanks so much! That was it, I had to renter the config and configure p2, I thought that for some reason if I re enter the config menu it would start over!
MAME libretro works with the arcade buttons, mame4all doesn't, neo-geo also works correctly, did not test with the rest.
Thanks a lot. :D
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.