| Summary: | [patch] Greatly simplify SDL_IsXInputDevice() | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jimb Esser <wasteland> |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Jimb Esser
2019-01-24 23:51:56 UTC
Hmm... stumbled upon this bug: https://bugzilla.libsdl.org/show_bug.cgi?id=3403 which seems to indicate looking for "IG_" might not be right anymore (though, possibly, only through the RawDevices API, not through the DirectInput query). I'll have an XBox One controller in a couple days and will investigate further. Creating the DInput interface is very expensive, and under the hood does a lot of raw HID calls. The original code is probably better. Okay, fair enough. |