[Bug 35815] Allow remapping of joystick buttons

WineHQ Bugzilla wine-bugs at winehq.org
Fri Oct 22 03:33:57 CDT 2021


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

Andrew Church <achurch+wine at achurch.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #23 from Andrew Church <achurch+wine at achurch.org> ---
Okay, I think I see what's going on - the data is coming from SDL, but I didn't
get any effect from SDL_GAMECONTROLLERCONFIG because of a typo in the value
(oops).  I'm now able to affect the button mapping with
SDL_GAMECONTROLLER_CONFIG settings; I don't see where the mapping is coming
from (e.g., the Start button is reported as button ID 8, rather than 7 as seems
to be suggested by
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winebus.sys/bus_sdl.c#l752),
but since I can work those out by trial and error, this obviates the need for
the patch in DInput.

Thanks for the explanation!

-- 
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