https://bugs.winehq.org/show_bug.cgi?id=50154
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Created attachment 68671 --> https://bugs.winehq.org/attachment.cgi?id=68671 patch
Here's a patch that implements support for the SDL_GAMECONTROLLERCONFIG environment variable. It takes precedence over the registry key. Note that this supports mapping one controller, whereas the registry key supports multiple controllers.
Applies after the patch for bug 48545.