Controller 1 controls all players
-
Hi everyone, I've been having some controller issues and can't seem to find any good information on it.
Using 2 PS3 controllers on RetroPie 4.0.x, I've got both controllers auto-configured through emulationstation, there is a single Sony Playstation 3 Controller.cfg file in the /opt/retropie/configs/all/retroarch-joypads/ directory (which as far as I understand, there SHOULD only be 1??). So both controllers work fine in emulationstation, and I can boot up a system and it should that there are 2 controllers #0 and #1 configured. However, in a 2 player game like Street Fighter 2, the first controller controls both players and the 2nd controller does nothing. I've hit Select+Triangle(X) to go to the retroarch configuration screen and in the settings it shows player 2 is a different controller like it should, but it's not doing anything.
Can anyone help me out with this?
PS: also, I've used the basic hotkeys like savestate and retroarch menu, but I can't seem to get fast forward to work?? I've tried the keyboard and tried remapping to a button on the controller but I can't get it to work either.
-
First, make sure you don't have any core specific remaps in "Quick Settings" menu under "Controls" remapping your controllers (not sure if this can happen, but something similar happened to me once)
there may be 2 of the same controller name in the settings -> input -> input User2 Binds and you need to make sure that you change the one in the "user 2 device index" to the second one. (has also happened to me).
-
@Nightfire
There are many ways to achieve what you want. As you seem to be comfortable with RGUI (select+x), let's get this way.Main Menu -> Settings -> Input -> Input User 2 Binds - > User 2 Device Index
When the cursor is on the "User 2 Device Index", press left/right on your d-pad to change it! :D
As simple as that!If you want to make these changes more permanent, maybe you like to take a look at this topic:
https://retropie.org.uk/forum/topic/1167/here-is-a-way-to-select-joystick-for-players-1-4-global-or-emu-specific -
Hey guys, thanks for the replies.
I'm not sure about the 'core remaps' but I believe they are standard/default settings (retropad _______).
I was in the "Input User 1/2 Binds" in retroarch earlier today checking the "User 1/2 Device Index"
-User 1 Device Index is set as "Sony Playstation(R)3 Controller (#1)"
-User 2 Device Index is set as "Sony Playstation(R)3 Controller (#2)"Going left to right on the device index I have: Sony Controller #1, Sony Controller #2, NA Port #2, NA Port #3, etc
Should it be going from the 2 controllers to Port #2 like that? (or should Controller #2 BE Port #2)?So...yeah...I'm kinda lost. I was trying setup with controller 2 as a PS4 controller several days ago and I noticed that the driver for PS3 controllers wasn't installed, so I installed it. Then I setup bluetooth and had it going on one controller, then I deleted all the the controller configs and started over.
Any other ideas??
-
I was in the "Input User 1/2 Binds" in retroarch earlier today checking the "User 1/2 Device Index"
-User 1 Device Index is set as "Sony Playstation(R)3 Controller (#1)"
-User 2 Device Index is set as "Sony Playstation(R)3 Controller (#2)"Did you solved your original problem? (controller 1 controlling all players)
These configs you said seems to be OK (joystick1 for player1 and joystick2 for player2).
Going left to right on the device index I have: Sony Controller #1, Sony Controller #2, NA Port #2, NA Port #3, etc
Should it be going from the 2 controllers to Port #2 like that? (or should Controller #2 BE Port #2)?By default there are 4 ports (related to the USB ports). The ports are numbered from zero to three, therefore 4 ports.
You have this trailing number in the controller name ("Sony Playstation(R)3 Controller (#1)" and #2) because they have the same name. Only this.
So...yeah...I'm kinda lost. I was trying setup with controller 2 as a PS4 controller several days ago and I noticed that the driver for PS3 controllers wasn't installed, so I installed it. Then I setup bluetooth and had it going on one controller, then I deleted all the the controller configs and started over.
Any other ideas??
Well, I don't have this specific setup. Let's wait other guys see your problem. Anyway I think we need more info to help you. Can you describe your problem using the format suggested here:
https://retropie.org.uk/forum/topic/3/read-this-first -
Sorry, no it didn't solve the problem. What I meant in my last post was that I had the suggested settings already and they didn't/still were not working.
I'll post my current setup with more info
-
Pi Model: Raspberry Pi 3 Model B
RetroPie Version: RetroPie v4.0.x (upgraded to 4.0.2 then 4.0.3 via retropie_setup)
Built From: Pre-Made RetroPie 4.0 SD Image
USB Devices: 2 Sony PS3 Controllers (USB ports 0 & 1), Logitech k400r wireless keyboard (USB port 4)
Controllers: 2 Sony PS3 Controllers
Error Messages Received: N/A
Logs:
Guide Used: N/A
File: N/A
Emulator: AllOutput of: /opt/retropie/configs/all/emulationstation/es_input.cfg
<?xml version="1.0"?> <inputList> <inputAction type="onfinish"> <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command> </inputAction> <inputConfig type="joystick" deviceName="Sony PLAYSTATION(R)3 Controller"> <input name="pageup" type="button" id="10" value="1"/> <input name="start" type="button" id="3" value="1"/> <input name="up" type="button" id="4" value="1"/> <input name="a" type="button" id="13" value="1"/> <input name="b" type="button" id="14" value="1"/> <input name="down" type="button" id="6" value="1"/> <input name="pagedown" type="button" id="11" value="1"/> <input name="right" type="button" id="5" value="1"/> <input name="x" type="button" id="12" value="1"/> <input name="select" type="button" id="0" value="1"/> <input name="y" type="button" id="15" value="1"/> <input name="left" type="button" id="7" value="1"/> </inputConfig> <inputConfig type="keyboard" deviceName="Keyboard"> <input name="pageup" type="key" id="114" value="1"/> <input name="start" type="key" id="13" value="1"/> <input name="up" type="key" id="101" value="1"/> <input name="a" type="key" id="108" value="1"/> <input name="b" type="key" id="107" value="1"/> <input name="down" type="key" id="100" value="1"/> <input name="pagedown" type="key" id="117" value="1"/> <input name="right" type="key" id="102" value="1"/> <input name="x" type="key" id="111" value="1"/> <input name="select" type="key" id="39" value="1"/> <input name="y" type="key" id="105" value="1"/> <input name="left" type="key" id="115" value="1"/> </inputConfig
Output of: /opt/retropie/configs/all/retroarch-joypads/SonyPLAYSTATION(R) 3 Controller.cfg
input_device = "Sony PLAYSTATION(R)3 Controller" input_driver = "udev" input_r_y_plus_axis = "+3" input_l3_btn = "1" input_r_x_minus_axis = "-2" input_l_btn = "10" input_load_state_btn = "10" input_start_btn = "3" input_exit_emulator_btn = "3" input_l_y_minus_axis = "-1" input_up_btn = "4" input_r_y_minus_axis = "-3" input_a_btn = "13" input_b_btn = "14" input_reset_btn = "14" input_down_btn = "6" input_l_x_plus_axis = "+0" input_l_y_plus_axis = "+1" input_r_btn = "11" input_save_state_btn = "11" input_r2_btn = "9" input_r3_btn = "2" input_right_btn = "5" input_state_slot_increase_btn = "5" input_x_btn = "12" input_menu_toggle_btn = "12" input_select_btn = "0" input_enable_hotkey_btn = "0" input_l_x_minus_axis = "-0" input_y_btn = "15" input_left_btn = "7" input_state_slot_decrease_btn = "7" input_r_x_plus_axis = "+2" input_l2_btn = "8"
Output of: lsusb
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 005: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 004: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Brief output of: lsusb -D /dev/bus/usb/001/004 (Same for /dev/bus/usb/001/005)
idVendor 0x054c Sony Corp. idProduct 0x0268 Batoh Device / PlayStation 3 Controller bcdDevice 1.00 iManufacturer 1 Sony iProduct 2 PLAYSTATION(R)3 Controller
Directory /dev/input/ shows js0 & js1
tested both controllers working with jstest js0 & jstest js1 -
So, something must've just gotten messed up somehow when I was trying to configure controllers last week.
I ended up just reinstalling RetroPie earlier tonight and went through normal emulationstation autoconfig for controllers and 2 player seems to be working fine now, as well another controller issue I was having with Super Mario Kart.
Thanks anyway though @meleu & @gomisensei for your ideas, much appreciated.
-
Hi!
I just had that issue, too.
Changed controller interface from SDL to UDEV and it works as expected.echelon
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.