Open Tartifless opened 7 months ago
Please try with the latest master build since SDL has been upgraded a few times since v2.2.
Downloaded last master :
Same behaviour:
Not sure the issue is with SDL, as the library supports PS4 controller since multiple versions.
Made an additional test:
With this, i am able to setup controller in port C, and it detects buttons of 2 controllers:
As you see :
Here i have defined up on the DS4 and down on the XBOX controller
I think the index has issues, as SDL and dinput do not share the same indexes, the joystick instance messes up the devices. 2 devices merged into 1.
The device in port A is not configurable, on any of the controllers.
Here are my device numbers: XBOX dark :
XBOX white :
DS4 :
Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.
Platform / OS / Hardware: Windows 11 PRO (genuine with key)
Github hash:
Hardware: INTEL 12th gen mobile + NVIDIA 3050 RTX + XBOX One S controller + dualshock 4 (both connected BT)
Description of the Issue Using flycast 2.2 public build. When using individually each controllers, they work fine and i can control all games without issues. Same happens when using 2 XBOX controllers. However, as soon as the dualshock is introduced in combination with one or both XBOX controllers, no inputs work anymore and the screen displays wrong controller names:
Case of 2 XBOX + 1 DS4:![image](https://github.com/flyinghead/flycast/assets/13442986/29ea6fab-537f-41cc-9a8f-067f839e291a)
Case of 1 XBOX and 1 DS1:![image](https://github.com/flyinghead/flycast/assets/13442986/0e283725-9be1-45fc-8660-0bf43a420d40)
Working cases with only the 2 XBOX controllers:![image](https://github.com/flyinghead/flycast/assets/13442986/65d5e28e-522b-4ebc-97ea-410399417fca)
And with only the DS4:![image](https://github.com/flyinghead/flycast/assets/13442986/11704dae-bd1c-4ad6-ac2f-b8b7da361d7e)
Debugging Steps Tested 1) connected all 3 controllers and noticed that 2 PS4 controllers + 1 XBOX controller appeared Tried to perform mappings for all 3 lines with all 3 physical controllers : none responded
2) close flycast and delet emu.cfg, restart with DS4 shut down Working correctly : both XBOX controllers are assigned to A and B ports and can be configured
3) close flycast and delet emu.cfg, restart with 1 DS4 and 1 XBOX controller PS4 Controller appearing twice, tried to perform mappings for all 2 lines : none responded
4) close flycast and delet emu.cfg, restart with only DS4 connected All working fine
Logs Gathered
No logs