https://bugs.winehq.org/show_bug.cgi?id=42444
Bug ID: 42444 Summary: Dualshock 3 does not map correctly Product: Wine Version: 2.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haakobja@gmail.com Distribution: ---
Created attachment 57282 --> https://bugs.winehq.org/attachment.cgi?id=57282 DS3 events
Hi,
I've tried using a dualshock 3 controller with wine, but I'm unable to get the analogous triggers to work. They seem to be mapped as buttons, not analogue input.
If I use xboxdrv the triggers are mapped correctly, but then force feedback does not work. Because of this, I think it would help if the wine-mapping was correct.
I've earlier tried asking on the forum, but it does not seem like anyone know how to map the controller correctly. I use the controller using events, not the legacy joystick interface in Linux.
https://bugs.winehq.org/show_bug.cgi?id=42444
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Did you pass the "--force-feedback" parameter when starting xboxdrv? As far as I remember without that parameter it will not enable FF.
Please attach a +dinput log, read more about how to get that at https://wiki.winehq.org/FAQ#get_log
The log will help checking if the kernel is delivering the input as triggers or buttons. The problem is only for the triggers?
https://bugs.winehq.org/show_bug.cgi?id=42444
--- Comment #2 from Håkon haakobja@gmail.com --- Created attachment 57283 --> https://bugs.winehq.org/attachment.cgi?id=57283 +dinput log from executing wine control
https://bugs.winehq.org/show_bug.cgi?id=42444
--- Comment #3 from Håkon haakobja@gmail.com --- (In reply to Bruno Jesus from comment #1)
Did you pass the "--force-feedback" parameter when starting xboxdrv? As far as I remember without that parameter it will not enable FF.
Please attach a +dinput log, read more about how to get that at https://wiki.winehq.org/FAQ#get_log
The log will help checking if the kernel is delivering the input as triggers or buttons. The problem is only for the triggers?
Yes, tried to pass --force-feedback to xboxdrv, but the force feedback did not work when I tested it using "wine control". Maybe it is because I'm connecting my DS3 using bluetooth.
Anyways, I see that the Z,Rz-axis is mapped to the triggers when using xboxdrv. And the right stick is mapped to Rx,Ry. As far as I know, they are the only ones with wrong mapping.
Also, when starting a old game like Colin McRae Rally 2, the Square, Cross, Circle and Triangle buttons are not mapped. But this I think is game's fault, not necessarily wine's.
https://bugs.winehq.org/show_bug.cgi?id=42444
--- Comment #4 from Håkon haakobja@gmail.com --- I just had a thought. Is it maybe possible to use the SDL2 mapping DB for controllers? https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb...
https://bugs.winehq.org/show_bug.cgi?id=42444
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=42444
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |