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 3132

Summary: MadCatz Mice are not detected as Joysticks in SDL2, but do in SDL
Product: SDL Reporter: Arthur Moore <bugs.sdl>
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.2   
Hardware: x86_64   
OS: Windows 7   
Bug Depends on: 2825, 2682    
Bug Blocks:    
Attachments: udevadm info

Description Arthur Moore 2015-09-27 20:21:02 UTC
Created attachment 2277 [details]
udevadm info

MadCatz mice are multi function gaming mice.  Linux treats them as both a mouse and a joystick.  Side note, Windows only sees them as mice.  Unfortunately, while SDL1 detects the joystick part, SDL2 does not.


src/joystick/linux/SDL_sysjoystick.c:367 has
/* !!! FIXME: only finds sticks if they're called /dev/input/event[0..31] */

It looks like the mouse is reported as an event and mouse, while the joystick is just reported as js0.
Comment 1 Sam Lantinga 2017-08-12 23:12:45 UTC
Ryan, weren't we going to resurrect the js0 code?