| Summary: | Suggestions for fixes for keycode_to_SDL | ||
|---|---|---|---|
| Product: | SDL | Reporter: | ny00 |
| Component: | joystick | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
|
Description
ny00
2013-11-06 16:31:44 UTC
(In reply to ny00 from comment #0) > I. One minor bug I see in it is the unused variable "final". This was fixed now: http://hg.libsdl.org/SDL/rev/8d4d3fdca1aa It was originally reported in bug 1700 and was like a regression. :) This takes care of II : http://hg.libsdl.org/SDL/rev/f19c0aca56aa Thanks for the bug fixes (and same in regards to other related bug reports)! Yeah, I've realized that limiting ourselves to 36 buttons is probably the simpler approach. If all possible Android keycodes are handled, the reported number of supported buttons should be pretty large (basically getMaxKeyCode() plus 1, just to be on the safe side). |