You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 1.2.15 Reported for operating system, platform: Linux, All
Comments on the original bug report:
On 2012-04-28 02:00:50 +0000, Alon Bar-Lev wrote:
Created attachment 850
libsdl-1.2.15-joystick.patch
Hello,
In 1.2.15 there was a changed:
for ( i=0; i<ABS_MAX; ++i ) {
for ( i=0; i<ABS_MISC; ++i ) {
This caused some axis to not be detected.
I use sixaxis, it looks like the following aixs are important, all above ABS_MISC.
index: 3b
Joystick has absolute axis: 3b
Values = { 0, 0, 1023, 3, 63 }
index: 3c
Joystick has absolute axis: 3c
Values = { 485, 0, 1023, 3, 63 }
index: 3d
Joystick has absolute axis: 3d
Values = { 388, 0, 1023, 3, 63 }
index 3e
Joystick has absolute axis: 3e
Values = { 481, 0, 1023, 3, 63 }
Attached is a patch reverting this, all works now.
On 2012-04-28 14:06:09 +0000, Alon Bar-Lev wrote:
Hello,
Found commit...
The explanation is strange, as I use "standard PlayStation 3 controller plugged in via USB" and after change SDL totally ignoring the left stick X axes.
Using linux-3.3.3 and SDL-1.2.15 with attachment# 850 works correctly.
for (i = 0; i < ABS_MISC; ++i) {
/* Skip hats */
if (i == ABS_HAT0X) {
i = ABS_HAT3Y;
On 2012-06-03 02:10:31 +0000, Ryan C. Gordon wrote:
(In reply to comment # 0)
Attached is a patch reverting this, all works now.
It works, but SDL thinks the SixAxis has 27 axes, which is probably not correct.
I just committed a patch that corrects the lost left-stick X axis...my original patch didn't take into account that the extra axes would still send data, and overwrite the first axis's state.
--ryan.
On 2012-06-06 08:18:47 +0000, Alon Bar-Lev wrote:
Confirmed!
Thanks.
On 2018-08-13 07:19:09 +0000, Rene Dudfield wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 1.2.15
Reported for operating system, platform: Linux, All
Comments on the original bug report:
On 2012-04-28 02:00:50 +0000, Alon Bar-Lev wrote:
On 2012-04-28 14:06:09 +0000, Alon Bar-Lev wrote:
On 2012-06-03 02:10:31 +0000, Ryan C. Gordon wrote:
On 2012-06-06 08:18:47 +0000, Alon Bar-Lev wrote:
On 2018-08-13 07:19:09 +0000, Rene Dudfield wrote:
On 2018-08-13 11:45:59 +0000, Ozkan Sezer wrote:
The text was updated successfully, but these errors were encountered: