We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3923

Summary: Some haptic devices fail to be detected due to missing udev scan call
Product: SDL Reporter: Mai Lavelle <mai.lavelle>
Component: hapticAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   
Attachments: possible fix

Description Mai Lavelle 2017-10-27 08:41:07 UTC
Created attachment 3046 [details]
possible fix

Haptic device numbers above 31 aren't detected, even when their corresponding joystick device is. The joystick code calls SDL_UDEV_Scan to populate the list of devices, but haptic code does not. Adding a call there to SDL_UDEV_Scan fixes the issue.
Comment 1 Ryan C. Gordon 2018-08-08 14:24:56 UTC
This patch is now https://hg.libsdl.org/SDL/rev/ca1bbc8b04a1, thanks!

--ryan.