Double dragon neon patch
Why the silly patch names? After working so long with "force feedback" in Wine I thought they were proper names. It is important to disable Wine (js) joysticks to avoid the same joystick being detected and used twice! To do so get into the wine control panel and then use the joystick applet, in short use this command in the console: wine control joy.cpl The force feedback emulation is not accurate but it is enough for the games I tested, it may be problematic on other games that require only left or right motor enabled. I only have Xbox 360 controllers so any testing on the original Xbox controllers and Xbox One controllers are welcome.
#Double dragon neon patch code
I commited many changes to the official Wine code between 1.9.17 and 1.9.19 so there is no 1.9.18 patch version.
xinput_quigon.patch - For Wine 1.9.19 onwards.
xinput_obiwan.patch - For Wine up to 1.9.17 (deprecated).If you are not into compiling Wine yourself and prefer using your distro packages you can check which still requires compilation but uses a different approach that does not touch Wine code. This is a patch, it means you are required to apply it in to Wine source and compile Wine with it. It is important to understand that the mapping is always based in the Xbox controller so, as in Windows, other controllers will have messed up mapping. I did not limit the implementation to Microsoft only controllers, it will work with anything that has at least 2 axes and 8 buttons. It is closer to the old WinMM joystick API where you need one single function to read joystick data without any setup necessary. XInput is a very simple way to access joysticks that is supposed to superseed DirectInput, but it lacks many features and is more targeted to Xbox controllers. In order to exercise DirectInput coding I implemented support for XInput. Distributed in the form of a patch that requires Wine to be compiled from source. Supports 4 controllers and is supposed to work with non Xbox controllers (but with unknown unpredictable mapping). wine-xinputĪ XInput implementation for Wine based on DirectInput. Updates will be done at some point until March 2018. Due to changes in Wine code base the patch is not compatible with Wine >= 2.18.