FS#31331 - [sdl] current version of SDL causes joystick x-axis not to respond
Attached to Project:
Arch Linux
Opened by Mikuro Kagamine (MikuroK) - Wednesday, 29 August 2012, 14:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 03 September 2012, 15:34 GMT
Opened by Mikuro Kagamine (MikuroK) - Wednesday, 29 August 2012, 14:37 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 03 September 2012, 15:34 GMT
|
Details
Description:
In the current version of SDL (extra/sdl 1.2.15-1), my USB-connected sixaxis controller does not respond on the left stick x-axis (left/right), the previous version (extra/sdl 1.2.14-10) works fine. Steps to reproduce: >plug in sixaxis controller >attempt to setup the controller in an SDL program (tested both pcsx2 and dolphin-emu) >left analog stick x-axis does not respond, so cannot be set or used Downgrading to extra/sdl 1.2.14-10 fixed the issue, from what i read elsewhere, a newer svn version of sdl fixes the issue, might I suggest rolling back to 1.2.14 until the next sdl release is available. Also, this is also very likely to affect the i686 package (but I have not tested this). |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Monday, 03 September 2012, 15:34 GMT
Reason for closing: None
Monday, 03 September 2012, 15:34 GMT
Reason for closing: None
I'm not rolling back to 1.2.14 just for this.
http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl1.2.git;a=blob;f=debian/patches/fix_joystick_misc_axes.diff;h=75e3755c93c83965a76c9f0541205855b3b8a27b;hb=856a810b8cd61fb371163a480a96c7f6c3e461a4
Which is linked from this bug report:
http://bugzilla.libsdl.org/show_bug.cgi?id=1460
I tried to patch it myself, but it didn't work, I might not have done it right though, I've never used abs/makepkg before.
Thanks again, look forward to going back to the usual extra/ version with the new patch.
1. Drop the file in the PKGBUILD dir
2. Edit the PKGBUILD
2.1. Add the file to the sources=() array
2.2. Add the checksum for the file to the used checksums arrays (e.g. md5sums=())
2.3. Add a "patch" command using the file to the build() function
3. makepkg
There's no difference between .diff and .patch.
I have tested the same patch myself and it works.