Two players to act as dual sticks?
-
I've tried looking for this and I can't find anything.
I'm currently using a Pi3b+ with GPIO joysticks using mk_arcade_joystick to connect 2 players with eight buttons (SNES equivalent) to it and everything works fine but I want to do something else.
Is there anyway to make player 2's joystick (X,y) map as an additional input for player 1? I'm thinking for Robotron / Smash TV so I can use the second stick for eight way fire. I've done this with a 360 controller using the right stick mapped to the buttons but this is obviously a single controller.
I only want it to take effect for certain games, most of the time I want two separate players, so don't want to mess with my mk_arcade_joystick input configurations.
Any ideas?
Si
-
@simonster in theory I guess your best way to set that up would be to use lr-mame2003 (which is the one I use for Robotron 2084 as that emulator is the best for configuring the two thumbsticks for my controller), and set up the controllers using MAMEs own menu (from the TAB key with a keyboard connected). There you should be able to set up both arcade sticks to do your movement and firing.
It should work in the same way for Smash TV too.
-
Thanks for this.
Does this work though, Configuring joy1 for P1 movement and joy2 for P1 shooting? I thought it had to be the same logical controller.
-
i cant seem to find the thread right now, but someone posted a small python script recently to remap joysticks or whatever else like keyboard encoders, to a separate virtual controller, but i cant seem to find the thread now, else you could look up joy2key, i think that will do the job aswell, but the python script i saw posted recently, looked pretty simple :)
however, you might have some trouble trying to configure it in emulationstation, unless you can somehow disable the "real" inputs from the actual controllers.
-
@simonster in theory with MAMEs own controller setup via the TAB key, there's no reason why you can't set up using both sticks. The emulator is just looking for what input you wish to assign to which function.
-
@simonster I did this with advmame 3.9 for robotron, just mapped the controls differently for that game only and I can use both sticks.
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.