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 300

Summary: `Microsoft SideWinder Force Feedback 2 Joystick' (and likes?) support
Product: SDL Reporter: Dmitry Marakasov <amdmi3>
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.9   
Hardware: x86   
OS: FreeBSD   

Description Dmitry Marakasov 2006-08-10 15:22:24 UTC
I've just succeeded in making SDL recognise my USB joystick.
The problem is that this joystick doesn't use report id 0. For INPUT type reports (usual axes/buttons values from joystick to host) it uses report id 1 instead. As SDL has report id 0 hardcoded (src/joystick/bsd/SDL_sysjoystick.c:283), it won't recognise the device at all.
I am not sure of clean solution of this problem
We may iterate report id's and pick the first one with input descriptor size > 0, or we may first parse report descriptor to find report that has, for example, axe values in it.
Feel free to contact me for any additional details.
Comment 1 Dmitry Marakasov 2006-09-12 10:03:03 UTC
Erm, further investigation results: it's not fixed with just report ID change. This joystick is absolutely braindead and it's report desc is absolutely broken.

I think changes suggested won't be useful at all.