| Summary: | MadCatz Mice are not detected as Joysticks in SDL2, but do in SDL | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Arthur Moore <bugs.sdl> |
| Component: | joystick | Assignee: | 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 | ||
Ryan, weren't we going to resurrect the js0 code? |
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.