2 Bluetooth Controllers control the SAME Player 1
-
Pi Model or other hardware: Pi 3
Power Supply used: (If using a Pi): 5V power supply purchased with Pi 3
RetroPie Version Used: 4.1
Built From: Pre made SD Image on RetroPie website
USB Devices connected: usb linked wireless keyboard (usb doggle)
Controller used: Matricom G-Pad XYBA Wireless Rechargeable Bluetooth Pro Game Pad Joystick Controller (https://www.amazon.com/Matricom-XYBA-Rechargeable-Controller-Compatible/dp/B01EO5QPN2) & Matricom G-Pad BX Wireless USB Rechargeable Bluetooth Pro Game Pad Joystick (https://www.amazon.com/Matricom-Wireless-Rechargeable-Bluetooth-Compatible/dp/B015YF3YZ8/)
Error messages received: No error message, just both controllers control the same player.
Guide used: (Used setup guide for each controller found on Amazon review, posted below in order set up.How to replicate the problem:
Setup Controller 1 (BX Pad):
"Retropie Main Options screenBluetooth
Set the device to pair by pressing X and the Mode button(it says home in the instructions but it's really mode)
Select Pair
Once paired leave to the main screen and configure the controller, it will not work in ROMS at the moment. Go to the next steps.Retropie Main screen
Configuration Editor
Advanced Configuration
Configure Libretro options
Select "all/retroarch.cfg"
Select input_joypad_drive(uset)
Select sdl2
Select OKAt this point I would recommend setting up the controller again."
Setup Controller 2 (XYBA Pad):
"Add it to Bluetooth just like you would the 8bitDO controllers. It will be called "Gamepad".
Make sure the 8bitDO hack is OFF. The 4.1.5 update started turning it ON by default.
Go to option to "Set up udev rule for joypad" and add Gamepad.Now, add the controller to Emulation Station by going to Configure Input. If you're retropie is setup to autoconfig controllers into retroarch after being configured in Emulation Station, then it will create a file called GamePad.cfg inside of \RETROPIE\configs\all\retroarch-joypads. YOU WILL NEED TO MODIFY THIS FILE BECAUSE IT DOESN'T WORK.
Delete everything inside of the GamePad.cfg file using a text editor (preferably Notepad ++) and paste this text inside:
input_device = "Gamepad"
input_driver = "udev"
input_start_btn = "14"
input_exit_emulator_btn = "14"
input_select_btn = "13"
input_enable_hotkey_btn = "13"
input_a_btn = "4"
input_b_btn = "3"
input_x_btn = "7"
input_y_btn = "6"
input_l_btn = "9"
input_r_btn = "10"
input_l2_btn = "11"
input_r2_btn = "12"
input_l3_btn = "16"
input_r3_btn = "17"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_l_x_minus_axis = "-0"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_minus_axis = "-2"
input_r_x_plus_axis = "+2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_reset_btn = "3"
input_load_state_btn = "9"
input_save_state_btn = "10"
input_menu_toggle_btn = "7"
input_state_slot_increase_btn = "h0right"
input_state_slot_decrease_btn = "h0left"" -
@ezeitgeist try to use this tool and see if it solves your problem: https://github.com/meleu/RetroPie-joystick-selection/
-
@meleu Thank you for the effort. I installed the joystick selection tool, it looks great! Unfortunately, for some reason, my system is only seeing one "Gamepad". Maybe it is because the controllers are two different models from the same manufacturer. I bluetooth linked "Bluetooth Gamepad" and then "Gamepad", it identifies them as separate. But as soon as I go to play any game (or use the selection tool), the RetroPie seems to only "see" the "Gamepad" ... but it is BOTH controllers at once. Very bizarre. I'm going to return it and get a 2nd of the first one I installed as there is a review of it on Amazon that says it does work with 2 of those controllers. Very bizarre.
-
@ezeitgeist you want to undo any configs you did in the retroarch.cfg files for the joystick selection to work properly.
-
@edmaul69 I got rid of the config file. I even ordered a second controller of the one that I already had working. I added it as a new bluetooth device ... and still the same issue. I added 2 arcade-style controllers (joystick with 6 buttons each, connected via usb). When I use the joystick selection tool, now only the 2 usb arcade controllers show up as options. Any thoughts on getting the bluetooth on different players?
-
@ezeitgeist if they work in emulationstation i would go into runcommand and disable joystick selection, then re-enable it again.
-
@edmaul69 Disabled and re-enabled. No change. Still only shows the 2 USB devices I have plugged in. In Arcade, I can do the config input and it registers the different gamepads when I click buttons. On connected bluetooth devices, they each show up as different MAC Addresses. I just put this one together from scratch so I'm not sure if I missed some initial config type thing that I've done in the past and forgot. They are both the same make and model bluetooth controller, but I don't think that should make a difference.
-
Could the advanced config of:
Advanced Configuration
Configure Libretro options
Select "all/retroarch.cfg"
Select input_joypad_drive(uset)
Select sdl2
Select OKBe causing the problem?
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.