Control choice per emulator
-
Hi everyone.
I've just built my first bartop arcade with help from various posts and wiki links. It's a 2 player with zippy joysticks and 6 buttons. I've also configured a PS3 controller to it. All are working when playing 3 players but what I wanted to do was:-
When playing PSX emulator can I make the PS3 game pad the default controller as the joysticks aren't as good for that? I can start the games with the controller but when they start the joysticks take precedence.
Is there a way to do this?
Thanks
-
@unibiggle
There isn't an flawless way to achieve it.You must edit the
/opt/retropie/configs/psx/retroarch.cfg
and put a line withinput_player1_joypad_index = ps3_controller_index_number
(replace with the index number, obviously). It isn't flawless due to the dynamic nature of bluetooth connections. There is no way to assure that your PS3 controller will get the same index everytime (for example, if you connect an extra USB controller).I'm working on a way to achieve what you want (other users requested it), but for a while this is the only thing I have to offer:
https://github.com/meleu/RetroPie-joystick-selection -
@meleu thanks I'll give it a try
-
This post is deleted! -
Sorry for being a complete idiot but i don't know what to put here. Ive added the line but not sure what my index number is for the wired pad. it comes up port #2 when i start a game but not sure how i should write the file. Sorry if im being totally thick
-
@unibiggle
If you look at https://github.com/meleu/RetroPie-joystick-selection and follow the instructions to install it, a usefull tool will be installed too, and it can help you on your issue.Are you reasonably comfortable with command line? So, I suggest to install it, go to the shell prompt and then execute the following commands:
cd /opt/retropie/supplementary/ ./jslist
This will show the available joysticks and their respective index. Get your PS3 controller index and use it the way I explained on the previous post.
Be aware that after you do that (set the PS3 controller to be the player1 when playing psx games), if you start a psx game and your PS3 controller is off, you can get problems to exit RetroArch. So be sure to turn on your PS3 controller before start a psx game.
Hope it helps! ;-)
-
Since the ps3 controller on bluetooth is always seen as the the last controller which the controllers in your case is numbered 0-2 all you have to put in the psx config is this:
input_player1_joypad_index = 2
Note that there is a space on both sides of the equal sign.
-
Thanks guys
I'll try that later.
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.