rpcs3
rpcs3 copied to clipboard
SDL - only 1 controller displayed when using 2 controllers that have same DeviceName
Quick summary
When using 2 controllers that have the same SDL DeviceName, only 1 controller will be seen by rpcs3, as only the devicename is used as identifier. DeviceIndex (SDL index) should be added after or before the DeviceName to be able to use multiple controllers of same name.
Details
rpcs3 config file screenshot:
In the rpcs3 gamepad config screen when using SDL handler:
In the rpcs3 gamepad config screen when using MM handler:
Attach a log file
Attach capture files for visual issues
No response
System configuration
No response
Other details
No response
I think this is also affect my controller. As far as i know, this only affect 1 game so far that cant be use MMJoystick. But strangely enough, my previous RPCS3 (using my old harddrive, just run it without reinstall RPCS3) work. If you need log files please let me know
This is a known behaviour and simply unimplemented
Hi Megamouse, was this answer for me or for jokoputera ?
Hello, Is there any plans to implement this or not yet ? Adding the sdlindex before the joystick name could be used.
I completely forgot about this. Maybe I'll look into it over the weekend
try with #13999
Thanks, will test before tuesday
IGNORE THIS, test on wrong build
If you want to test an open pr you have to download it separately. Follow the instructions in here.
Ok, back to tests:
-
Configuration of pads: ==> OK
Both pads work independently when set as player 1 and player 2
-
In default.cfg file: All is fine:
-
It works also in-game: both controllers work fine
Seems to me this can be merged, just played a 2-player game and works fine !
Thanks for testing!
Hi I’m lost on how to access the config file and change the device names
Hi I’m lost on how to access the config file and change the device names
I am sorry, i do not understand your question ... It's not possible to change the device name, as this is defined by the SDL library.
Then how do you use 2 Xbox controllers, how do you differentiate them so they have different names under the sdl.
They will have the same name if it's the same controllers but a different index number, the first will have index 1, the second index 2, and so on.
But for xbox controllers you should use xinput, not sdl.
Im probably a bit dumb here, but whats the problem if that doesn't happen for me? 2 identical controllers do not show up as seperate devices under the gamepad tab. I installed RPCS3 via emudeck.