absolute coordinate mouse support

Matthieu Herrb matthieu.herrb at laas.fr
Tue Sep 20 11:45:11 PDT 2005


Alex Williamson wrote:
> Hi,
> 
>    I'm trying to determine how best to support a generic USB absolute
> coordinate mouse.  Under Linux, it's easy to tweak the mousedev driver
> to claim this and get it sending translated relative coordinate data
> to /dev/input/mice.  The problem is that things get out of sync when the
> default pointer acceleration in xorg comes into play.  This can be fixed
> with xset, but is there a better way I should be presenting this mouse?
> Conceptually it seems like xorg should treat it like a touchscreen, but
> I don't know of a "generic" touchscreen interface that I can provide.
> Any suggestions?  Thanks,

I wrote the 'ws' driver for OpenBSD's wscons input driver which has both 
relative and absolute events.
You can browse it here:
<http://herrb.com/cgi-bin/cvsweb/~checkout~/XF4/xc/programs/Xserver/hw/xfree86/input/ws/ws.c?rev=1.10> 


-- 
Matthieu Herrb



More information about the xorg mailing list