Rpcs3: Xinput not working in some cases (DS4 Windows)

Created on 2 Oct 2018  路  4Comments  路  Source: RPCS3/rpcs3

Ok, this is hard to explain, but I麓ll try with some examples:

We have 3 or 4 controllers:

1 ps4 controller
2-3 xbox one/360 controllers

4 Controllers:
-Connect the 4 controllers in random order
In gamepad settings we have:

Player 1: Dualshock 4 (Handlers Dualshock 4)
Player 2: Xbox one/360 (Handler xinput) (Xinput pad 0)
Player 3: Xbox one/360 (Handler xinput) (Xinput pad 1)
Player 4: Xbox one/360 (Handler xinput) (Xinput pad 2) ---In my case this one doesn麓t work unless is set to (Xinput pad3)

DISCONNECT ALL CONTROLLERS A CONNECT IT AGAIN

3 Controllers:
-Connect the 3 controllers in random order
In gamepad settings we have:

Player 1: Dualshock 4 (Handlers Dualshock 4)
Player 2: Xbox one/360 (Handler xinput) (Xinput pad 0) --- This one doesn麓t work this time with this conf
Player 3: Xbox one/360 (Handler xinput) (Xinput pad 1) --- This is now the player two
Player 4: Xbox one/360 (Handler xinput) (Xinput pad 2) --- This is now the player three, but it usses the 4th port, and is a only 3 player game for example.

I don麓t know how to explain better, in any case, someone with 3-4 controllers (I think one of theese must be an DS4 ir order to trigger the problem) can test it by opening for example the emulator with (1 DS4 + 3 xbox controllers) unplug all, connect again but only three (including DS4) and retest again. (DS4 windows needs to be open)

I don麓t know why this is happening, I think this only happens when DS4 windows is used (This program detects the DS4 as a xinput) but a possible workaround for this is to keep the ID of the controllers to each player, like for example the DS4 does. Or maybe an option to avoid DS4 to use/increment one of the xinput ports at the same time of the Handler Dualshock 4 is being used.

Input Windows

Most helpful comment

@Megamouse Ok, tested without DS4 windows and it works, I thought is needed in rpcs3 to use Gyro controls, sorry.

Closing.

All 4 comments

Note: Tested the same scenario with other emulators like cemu, and all works Ok.

We literally have a ds4 handler. So why not just use that one instead of some weird xinput workaround

@Megamouse Because DS4 windows is needed for some gyro games like uncharted 1, heavy rain, etc.

@Megamouse Ok, tested without DS4 windows and it works, I thought is needed in rpcs3 to use Gyro controls, sorry.

Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Xcedf picture Xcedf  路  3Comments

Nezarn picture Nezarn  路  3Comments

Luffykun007 picture Luffykun007  路  3Comments

JohnGodgames picture JohnGodgames  路  3Comments

Emulator-Team-2 picture Emulator-Team-2  路  3Comments