| Summary: | Fix for reverse-mounted joysticks | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Paul Cercueil <paul> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch to fix the issue | ||
This patch is in. Thanks. http://hg.libsdl.org/SDL/rev/58f64ff3011e |
Created attachment 4400 [details] Patch to fix the issue Joysticks mounted backwards will have absinfo.maximum < absinfo.minimum. In that case the coefficient calculated was wrong.