-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XinputDevice.cpp limited to one Xinput device? #8250
Comments
PPSSPP only supports one controller input at a time. Perhaps there's another option, though, which would allow using the other directinput devices when an xinput device is configured. Your basic problem is that you want to be able to map buttons on other controllers, right? -[Unknown] |
Good to know. Thanks for the info. Yeah, I have four xInput controllers and I'm only able to use one, the others are ignored making it impossible to do multiplayer on one PC. Maybe make it ignore dInput if x is detected? Doesn't seem to be a problem on any other emulator or program I've used. Maybe I'll dig into Dolphin and get some ideas? |
@RowdyRocket have you make 2 x360 controllers work? |
Not without issues yet. If you're only needing two players you can use AntiMicro for your second controller. The second players window has to be active as you play but it works for now. |
@RowdyRocket That should have made this usable, at least. Closing. |
Let multiple XInput devices be mapped separately. Fixes #8250
With the ability to now do multiplayer on the same PC with port shifting opens the requirement for detection of multiple gamepads. I am able to connect multiple PPSSPP's using Onelight's port shifting though it is unable to detect any other controllers other then the first connected.
Could this be the cause?
Extracted from XinputDevice.cpp
I've been out of programming for a while now so sorry if I'm chasing the wrong thread but I've also noticed that people using Dinput controllers don't seem to have the same issue. So perhaps this is the cause?...
Extracted from XinputDevice.cpp
Extracted from DinputDevice.cpp
Notice the XinputDevice has no integer for multiple controllers. On my system it detects it as x360.
For those using DinputDevice they are detected as Pad1, Pad2, etc.
Then there's this...
Extracted from KeyMap.cpp
Dinput allows for up to 10 controllers.
Xinput only allows 1.
Been forever since I've done any programming. Several of my friends and myself are anxious to get this working any help would be amazing.
Thanks!
The text was updated successfully, but these errors were encountered: