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 - MadCatz Mice are not detected as Joysticks in SDL2, but do in SDL
Summary: MadCatz Mice are not detected as Joysticks in SDL2, but do in SDL
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: 2.0.2
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on: 2825 2682
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-27 20:21 UTC by Arthur Moore
Modified: 2017-08-12 23:12 UTC (History)
0 users

See Also:


Attachments
udevadm info (6.49 KB, text/plain)
2015-09-27 20:21 UTC, Arthur Moore
Details

Note You need to log in before you can comment on or make changes to this bug.
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?