Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XInput Haptic cannot use SDL_HapticOpenFromJoystick #885

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

XInput Haptic cannot use SDL_HapticOpenFromJoystick #885

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Windows (All), All

Comments on the original bug report:

On 2013-05-26 09:31:36 +0000, Ethan Lee wrote:

Created attachment 1150
Small test case for this bug report.

On Windows with XInput, SDL_HapticOpenFromJoystick does not work. This is presumably because of the way that XInput haptic devices are created.

Attached is a test case to demonstrate the bug, with a quick fix that can get around this bug... however, this is only needed on Windows, so it messes with portability a bit (it also may not line up with the controller indices, depending on what hardware is connected).

On 2013-06-26 17:33:13 +0000, wrote:

See http://thread.gmane.org/gmane.comp.lib.sdl/60755/focus=60759 for a patch

On 2013-06-29 18:06:59 +0000, Sam Lantinga wrote:

Fixed, thanks!
http://hg.libsdl.org/SDL/rev/8bdc5aac93d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant