[SVN] some mice seem silent

I am using x.org with a Microsoft IntelliMouse and WACOM graphire
tablet. SDL tells me that I have three pointer devices named “cursor,”
“eraser,” and “stylus” in that order (for what it’s worth, my X
configuration actually defines four “InputDevice” sections, but it
would make at least a little sense that SDL might consolidate my
IntelliMouse pointer with the “mouse” pointer that exists as a mouse
you can place on top of the WACOM graphire tablet.)

donny at teamspace:~/SDL/test$ ./testmmousetablet
Initing…
3 pointing devices found
device index: 0 name:cursor
device index: 1 name:eraser
device index: 2 name:stylus
Quitting

I do not receive any events when I use my IntelliMouse, only when
using any of the three pointer peripherals associated with my WACOM
graphire tablet. Is this a known issue in SVN? I’m looking forward to
hacking SDL SVN if I can find the time. If anyone can point me toward
notes on SDL internals, it would be greatly appreciated.–
http://codebad.com/

2008/11/22 Donny Viszneki <donny.viszneki at gmail.com>

I am using x.org with a Microsoft IntelliMouse and WACOM graphire
tablet. SDL tells me that I have three pointer devices named “cursor,”
“eraser,” and “stylus” in that order (for what it’s worth, my X
configuration actually defines four “InputDevice” sections, but it
would make at least a little sense that SDL might consolidate my
IntelliMouse pointer with the “mouse” pointer that exists as a mouse
you can place on top of the WACOM graphire tablet.)

donny at teamspace:~/SDL/test$ ./testmmousetablet
Initing…
3 pointing devices found
device index: 0 name:cursor
device index: 1 name:eraser
device index: 2 name:stylus
Quitting

I do not receive any events when I use my IntelliMouse, only when
using any of the three pointer peripherals associated with my WACOM
graphire tablet. Is this a known issue in SVN? I’m looking forward to
hacking SDL SVN if I can find the time. If anyone can point me toward
notes on SDL internals, it would be greatly appreciated.


http://codebad.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello,

Well I’m the one responsible for the manymouse code and I did not have any
issues with detecting mouse. Is your xorg configured well? Cause the whole
interface uses xorg. Actually I think that’x an odd problem. Is the mouse
you are talking about a usb mouse? I haven’t tried ps2 mouses. Unless the
mouse ain’t detected by SDL you surely won’t get any events from it. I have
no idea how can it not work, cause it would mean XOrg does not see it as a
valuator device and we are going through all the possibilities here. I’ll
look into it with a couple of problems reported about the many mouse code.
I’m currently having an incredible workload on my university and I’ll get to
it as soon as possible.

Best wishes–
–SW

Is your xorg configured well?

I think so… GIMP can distinguish between all four of my pointers:

WACOM graphire pen tip (Xorg configuration identifier “stylus”)
WACOM graphire pen rear (Xorg configuration identifier “eraser”)
WACOM graphire mouse (Xorg configuration identifier “cursor”)
Microsoft USB IntelliMouse (Xorg configuration identifier “Configured Mouse”)

Cause the whole
interface uses xorg. Actually I think that’x an odd problem. Is the mouse
you are talking about a usb mouse? I haven’t tried ps2 mouses.

I don’t think USB vs. PS/2 should matter. In fact I would think that
the mouse could be /dev/random as long as X is interpreting it in some
useful way, and I am sure my USB Microsoft IntelliMouse (the only good
product Microsoft ever made IMO;) is being interpreted by X in a
useful way.

Unless the
mouse ain’t detected by SDL you surely won’t get any events from it.

Seems like maybe it isn’t being detected by SDL, as testmmousetablet
only detects three pointers.

I have
no idea how can it not work, cause it would mean XOrg does not see it as a
valuator device and we are going through all the possibilities here.

I’m not exactly sure what a “valuator device” is in the XOrg
vernacular, but I can assure you that I use my IntelliMouse more often
than I use my WACOM graphire tablet (I find the graphire tablet’s
mouse annoying to use, so I only use the graphire tablet when I need
to draw.)

I’ll
look into it with a couple of problems reported about the many mouse code.
I’m currently having an incredible workload on my university and I’ll get to
it as soon as possible.

Good luck, and thanksOn Sat, Nov 22, 2008 at 5:31 AM, Szymon Wilczek wrote:


http://codebad.com/

Thank you for suggesting I check my Xorg configuration! It turns out
that I was receiving IntelliMouse events through /dev/mice. It is
worth noting that enabling the CorePointer option is what prevents SDL
from picking up on the events, but this is how many X configurations
do things, so it may be worth looking into.On Sat, Nov 22, 2008 at 1:21 PM, Donny Viszneki <@Donny_Viszneki> wrote:

On Sat, Nov 22, 2008 at 5:31 AM, Szymon Wilczek wrote:

Is your xorg configured well?

I think so… GIMP can distinguish between all four of my pointers:

WACOM graphire pen tip (Xorg configuration identifier “stylus”)
WACOM graphire pen rear (Xorg configuration identifier “eraser”)
WACOM graphire mouse (Xorg configuration identifier “cursor”)
Microsoft USB IntelliMouse (Xorg configuration identifier “Configured Mouse”)


http://codebad.com/