[Bug 39891] In Split/ Second all Wireless XBox 360 controllers are mapped to the Joystick 3 entry instead of js0- >Joystick 0, js1->Joystick 1, etc

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 14 10:51:26 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=39891

--- Comment #19 from Omar <gamingpakker+wine at gmail.com> ---
Since you mentioned xboxdrv, I've been experimenting with the xboxdrv driver
today.
I was able to get some different behaviour by using this driver. Below are the
results of that.
I've also tested this driver with the 'js' version of the controller disabled
in WINE, there was no change in behaviour.

1)
Running xboxdrv without any arguments made the controller show up as 'Joypad'
in Split/Second instead of 'Joystick', however it doesn't work in the menus and
still needs manual assignment. Several buttons don't work/register at all in
the game (triggers, shoulder buttons, etc).

2)
Running xboxdrv with the --mimic-xpad argument makes Split/Second work with the
controller; it works in the menus, no manual assignment is required and it is
listed as a 'Joypad' instead of 'Joystick'.
(NOTE: if you edit the right trigger assignment, it will not match the label
that was originally assigned; the automatic assignment is 'Axis Z Neg' but if
you manually assign it, it becomes 'Right Axis Z Pos'. I did not notice any
driving behaviour changes in-game)

3)
Regardless of whether I disable the 'next-controller' flag in
/etc/default/xboxdrv or not, it creates 2 controller entries in-game. The
single physical controller maps to the second entry. (does xboxdrv map the
receiver??? I have no clue where the first entry is coming from.)



I get the impression that:
- xpad does not present the wireless xbox360 controllers in a way that makes
WINE handle it like an xbox360 controller.
- xboxdrv can be forced to make the wireless xbox360 controller be presented to
the system as a wired one by using --mimic-xpad and as a result seems to work
for Split/Second singleplayer, which doesn't care about the controller index.
- xboxdrv breaks games that rely on index 0 being used for the controller or
games that allow local multiplayer.

I'm still not sure whether the problem is with the drivers not handling the
controllers properly or that WINE isn't properly handling how the wireless
controllers are presented by the drivers.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list