| Summary: | Full joystick name not returned, only first character of the name | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Anthony Walter <sysrpl> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | fwddmovb |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
|
Description
Anthony Walter
2013-05-28 14:55:21 UTC
Are you sure the returned string are 8bit chars and not wide 16bit chars? Try the debugger and take a look at the data. Can you build SDL and debug this on your end? I wasn't able to reproduce this. I got back a UTF-8 string that was the correct name of the joystick. You are using the XInput code path in the SDL joystick driver, right? This was a problem with the mingw32 build. Fixed! http://hg.libsdl.org/SDL/rev/1451063c8ecd |