| Summary: | Pointing devices enumerated in reverse | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Gerry JJ <trick> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P4 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | xorg.conf | ||
|
Description
Gerry JJ
2008-09-02 23:39:28 UTC
(In reply to comment #0) > This is the exact opposite of the order these devices are configured in my > xorg.conf. Can you please attach your xorg.conf? Created attachment 283 [details]
xorg.conf
Sure. Attached.
I recently updated to Xorg 1.5 btw, and the output's a little different now (with same xorg.conf, latest SDL svn):
$ ./testmmousetablet
Initing...
5 pointing devices found
device index: 0 name:stylus
device index: 1 name:eraser
device index: 2 name:cursor
device index: 3 name:PS2++ Logitech MX Mouse
device index: 4 name:Macintosh mouse button emulation
Quitting
(I'm not on a mac, no idea why there's mac mouse button emulation there.)
As for why this is a problem, there's this for example:
$ ./testcursor
Couldn't initialize test cursor: Current mouse doesn't have cursor support
I'm not sure exactly what's the bug here though.
* Mouse defaults to device #0, which may not be primary pointing device.
* No way to get primary pointing device id.
* Tablet devices doesn't support cursors.
Er, probably should've tested this before, but tried to insert SDL_SelectMouse(3) into the testcursor program, and it still fails, so that's apparently a different bug. (It still seems weird that the primary device isn't #0 though.) I don't have a tablet device to test with. Can you look into it a little further, or maybe loan me a tablet for testing? Thanks! I have a cheapie USB Wacom tablet in the closet, if you want me to mail it to you, but let's see if we can get this fixed without involving the postal service, first. --ryan. Hey, sorry for not popping by here more often. Sending my tablet to you isn't very practical, since I'm on the other side of the globe from you and need to use it regularly. I'll be happy to help look further into this though, but I'm not very familiar with the source, or how the X input system works, so I'm not sure how much help I can be.. I can sure give it a try though. Is there anything in particular you want me to try, or should I just start poking around? I'll take a look at the multi-mouse code, coordinating with Ryan. Nevermind, Ryan wants to go over this code thoroughly. Changing bug priorities... --ryan. Support for multiple mice has been removed for SDL 2.0 |