| Summary: | Some haptic devices fail to be detected due to missing udev scan call | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mai Lavelle <mai.lavelle> |
| Component: | haptic | Assignee: | 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 | ||
This patch is now https://hg.libsdl.org/SDL/rev/ca1bbc8b04a1, thanks! --ryan. |
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.