| Summary: | Gravis Gamepad Pro USB axes initially give incorrect values | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Michael Buckley <thebuckley> |
| Component: | joystick | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | 1.2.11 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Attachments: |
The source code for the program used to test the Gamepad Pro
The results of the test on OS X The results of the test on Windows XP |
||
|
Description
Michael Buckley
2006-10-13 01:32:02 UTC
Created attachment 168 [details]
The source code for the program used to test the Gamepad Pro
Created attachment 169 [details]
The results of the test on OS X
Created attachment 170 [details]
The results of the test on Windows XP
*** Bug 430 has been marked as a duplicate of this bug. *** Ok, I fixed this. It looks like we had two variables set backwards (we assigned to "minReport" when we meant "maxReport" and vice versa), and this code worked until some recent Mac OS X revision changed a value we expected...I would guess it was always "0" until some OS X update, so it worked until recently. Now we set the initial min/max bounds for device values to whatever the hardware/os tell us it is, and adjust if we find they are wrong later, which is probably what this code meant to do in the first place. Fixed in svn revision #3030 for the 1.2 branch, and #3031 for the 1.3 branch. --ryan. |