| Summary: | controllermap's "Undo" feature does not work correctly | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Bogdan Marinov <daggerstab> |
| Component: | joystick | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Patch fixing the controllermap bug. | ||
Fixed, thanks! https://hg.libsdl.org/SDL/rev/ce3c968f7340 |
Created attachment 1597 [details] Patch fixing the controllermap bug. The "undo" feature of the controllermap tool does not work entirely correctly. It accepts the correct events for the correct steps, but due to an algorithmic error the "undone" mapping is not removed from the accumulated mapping string. As a result, the final string may contain duplicate entries. The attached patch (against the development version in Mercurial) fixes the problem.