[SDL] SDL, X.org and multiple mice
Gerry JJ
trick at icculus.org
Sat Jun 25 07:57:56 PDT 2005
Ryan C. Gordon wrote:
> Here's shot two at this...I don't have a tablet or touchpad on a Linux
> box, so the math might be off.
It works fine! (after fixing permissions again -- this version just
failed silently when the event devices were unreadable, btw, and started
with no pointers). Now I'm getting one pointer for the PS/2 mouse, and
one pointer for the tablet.
Not to complain, but ... It'd be nice to have one pointer for each
tablet "subdevice" (mouse, pen, eraser, etc), in stead of one for all
tablet subdevices combined. I guess there's no way to do that without a
tablet-specific driver ?
Also, it'd be nice if the tablet mouse input was converted to relative.
I guess there's no reliable way of automatically detecting whether a
device is "usually" relative, though, so we'll probably need a manual
config for setting absolute/relative (like X needs).
By the way, where can I find info about the event ioctls ? I looked in
the kernel Documentation dir (2.6.10), but found nothing. Google wasn't
too helpful, either.
- Gerry
More information about the SDL
mailing list